Class ServiceInterfaceStrategy

  • All Implemented Interfaces:
    ElementNameStrategy

    public class ServiceInterfaceStrategy
    extends Object
    implements ElementNameStrategy
    Offers a finder for a webservice interface to determine the QName of a webservice data element
    • Constructor Detail

      • ServiceInterfaceStrategy

        public ServiceInterfaceStrategy​(Class<?> serviceInterface,
                                        boolean isClient)
        Init with JAX-WS service interface
        Parameters:
        serviceInterface -
        isClient - determines if marhalling looks at input or output of method
    • Method Detail

      • getMethodForSoapAction

        public String getMethodForSoapAction​(String soapAction)
      • findQNameForSoapActionOrType

        public QName findQNameForSoapActionOrType​(String soapAction,
                                                  Class<?> type)
        Determine the QName of the method parameter of the method that matches either soapAction and type or if not possible only the type
        Specified by:
        findQNameForSoapActionOrType in interface ElementNameStrategy
        Parameters:
        soapAction -
        type -
        Returns:
        matching QName throws RuntimeException if no matching QName was found