Package com.sun.xml.ws.api.model
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 and Bridge.
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 theJavaMethodcorrrespondiong to aMethod- such as on the client side.getJavaMethod(QName name) Gives aJavaMethodfor a givenQName.getJavaMethodForWsdlOperation(QName operationName) Gives the JavaMethod associated with the wsdl operationCollection<? extends JavaMethod>Gives all theJavaMethodfor a wsdl:port for which thisSEIModelis created.javax.xml.bind.JAXBContextDeprecated.Why do you need this?getPort()Gets theWSDLPortthat represents the port that this SEI binds to.Value of the wsdl:port name associated with theSEIModelValue of wsdl:portType bound to the port associated with theSEIModelwsdl:service qualified name for the port associated with theSEIModelNamespace of the wsd;:port associated with theSEIModelLocation of the WSDL that defines the port associated with theSEIModel
-
Method Details
-
getMarshallerPool
Pool.Marshaller getMarshallerPool() -
getJAXBContext
javax.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
This method will be useful to get theJavaMethodcorrrespondiong to aMethod- such as on the client side.- Parameters:
method- for whichJavaMethodis asked for- Returns:
- the
JavaMethodrepresenting themethod
-
getJavaMethod
Gives aJavaMethodfor a givenQName. TheQNamewill be equivalent to the SOAP Body or Header block or can simply be the name of an infoset that corresponds to the payload.- Parameters:
name-- Returns:
- the
JavaMethodassociated with the operation named name
-
getJavaMethodForWsdlOperation
Gives the JavaMethod associated with the wsdl operation- Parameters:
operationName- QName of the wsdl operation- Returns:
-
getJavaMethods
Collection<? extends JavaMethod> getJavaMethods()Gives all theJavaMethodfor a wsdl:port for which thisSEIModelis created.- Returns:
- a
CollectionofJavaMethodassociated 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 theWSDLPortthat 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- Returns:
-
getBoundPortTypeName
Gives the wsdl:binding@name value -
getTargetNamespace
Namespace of the wsd;:port associated with theSEIModel
-