- 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 Summary
Modifier and TypeMethodDescriptionGives the wsdl:binding@name valuegetJavaMethod
(Method method) This method will be useful to get theJavaMethod
corrrespondiong to aMethod
- such as on the client side.getJavaMethod
(QName name) Gives aJavaMethod
for a givenQName
.getJavaMethodForWsdlOperation
(QName operationName) Gives the JavaMethod associated with the wsdl operationCollection<? extends JavaMethod>
Gives all theJavaMethod
for a wsdl:port for which thisSEIModel
is created.jakarta.xml.bind.JAXBContext
Deprecated.Why do you need this?getPort()
Gets theWSDLPort
that represents the port that this SEI binds to.Value of the wsdl:port name associated with theSEIModel
Value of wsdl:portType bound to the port associated with theSEIModel
wsdl:service qualified name for the port associated with theSEIModel
Namespace of the wsd;:port associated with theSEIModel
Location of the WSDL that defines the port associated with theSEIModel
-
Method Details
-
getMarshallerPool
Pool.Marshaller getMarshallerPool() -
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
This method will be useful to get theJavaMethod
corrrespondiong to aMethod
- such as on the client side.- Parameters:
method
- for whichJavaMethod
is asked for- Returns:
- the
JavaMethod
representing themethod
-
getJavaMethod
Gives aJavaMethod
for a givenQName
. TheQName
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
Gives the JavaMethod associated with the wsdl operation- Parameters:
operationName
- QName of the wsdl operation
-
getJavaMethods
Collection<? extends JavaMethod> getJavaMethods()Gives all theJavaMethod
for a wsdl:port for which thisSEIModel
is created.- Returns:
- a
Collection
ofJavaMethod
associated with theSEIModel
-
getWSDLLocation
Location of the WSDL that defines the port associated with theSEIModel
- Returns:
- wsdl location uri - always non-null
-
getServiceQName
wsdl:service qualified name for the port associated with theSEIModel
- Returns:
- wsdl:service@name value - always non-null
-
getPort
Gets theWSDLPort
that represents the port that this SEI binds to. -
getPortName
Value of the wsdl:port name associated with theSEIModel
- Returns:
- wsdl:service/wsdl:port@name value, always non-null
-
getPortTypeName
Value of wsdl:portType bound to the port associated with theSEIModel
-
getBoundPortTypeName
Gives the wsdl:binding@name value -
getTargetNamespace
Namespace of the wsd;:port associated with theSEIModel
-