Interface SEIModel

All Known Implementing Classes:
AbstractSEIModelImpl, SOAPSEIModel

public interface SEIModel
Represents abstraction of SEI.

This interface would be used to access which Java concepts correspond to which WSDL concepts, such as which wsdl:port corresponds to a SEI, or which wsdl:operation corresponds to JavaMethod.

It also retains information about the databinding done for a SEI; such as JAXBRIContext.

This model is constructed only when there is a Java SEI. Therefore it's not available with Dispatch or Provider. Technologies that need to work regardless of such surface API difference shall not be using this model.

Author:
Vivek Pandey
  • Method Details

    • getMarshallerPool

      Pool.Marshaller getMarshallerPool()
    • getJAXBContext

      @Deprecated jakarta.xml.bind.JAXBContext getJAXBContext()
      Deprecated.
      Why do you need this?
      JAXBContext that will be used to marshall/unmarshall the java classes found in the SEI.
      Returns:
      the JAXBRIContext
    • getJavaMethod

      JavaMethod getJavaMethod(Method method)
      This method will be useful to get the JavaMethod corrrespondiong to a Method - such as on the client side.
      Parameters:
      method - for which JavaMethod is asked for
      Returns:
      the JavaMethod representing the method
    • getJavaMethod

      JavaMethod getJavaMethod(QName name)
      Gives a JavaMethod for a given QName. The QName will be equivalent to the SOAP Body or Header block or can simply be the name of an infoset that corresponds to the payload.
      Returns:
      the JavaMethod associated with the operation named name
    • getJavaMethodForWsdlOperation

      JavaMethod getJavaMethodForWsdlOperation(QName operationName)
      Gives the JavaMethod associated with the wsdl operation
      Parameters:
      operationName - QName of the wsdl operation
    • getJavaMethods

      Collection<? extends JavaMethod> getJavaMethods()
      Gives all the JavaMethod for a wsdl:port for which this SEIModel is created.
      Returns:
      a Collection of JavaMethod associated with the SEIModel
    • getWSDLLocation

      @NotNull String getWSDLLocation()
      Location of the WSDL that defines the port associated with the SEIModel
      Returns:
      wsdl location uri - always non-null
    • getServiceQName

      @NotNull QName getServiceQName()
      wsdl:service qualified name for the port associated with the SEIModel
      Returns:
      wsdl:service@name value - always non-null
    • getPort

      @NotNull WSDLPort getPort()
      Gets the WSDLPort that represents the port that this SEI binds to.
    • getPortName

      @NotNull QName getPortName()
      Value of the wsdl:port name associated with the SEIModel
      Returns:
      wsdl:service/wsdl:port@name value, always non-null
    • getPortTypeName

      @NotNull QName getPortTypeName()
      Value of wsdl:portType bound to the port associated with the SEIModel
    • getBoundPortTypeName

      @NotNull QName getBoundPortTypeName()
      Gives the wsdl:binding@name value
    • getTargetNamespace

      @NotNull String getTargetNamespace()
      Namespace of the wsd;:port associated with the SEIModel