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 whichwsdl:operation
corresponds toJavaMethod
.It also retains information about the databinding done for a SEI; such as
JAXBRIContext
andBridge
.This model is constructed only when there is a Java SEI. Therefore it's not available with
Dispatch
orProvider
. Technologies that need to work regardless of such surface API difference shall not be using this model.- Author:
- Vivek Pandey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description QName
getBoundPortTypeName()
Gives the wsdl:binding@name valueJavaMethod
getJavaMethod(Method method)
This method will be useful to get theJavaMethod
corrrespondiong to aMethod
- such as on the client side.JavaMethod
getJavaMethod(QName name)
Gives aJavaMethod
for a givenQName
.JavaMethod
getJavaMethodForWsdlOperation(QName operationName)
Gives the JavaMethod associated with the wsdl operationCollection<? extends JavaMethod>
getJavaMethods()
Gives all theJavaMethod
for a wsdl:port for which thisSEIModel
is created.jakarta.xml.bind.JAXBContext
getJAXBContext()
Deprecated.Why do you need this?Pool.Marshaller
getMarshallerPool()
WSDLPort
getPort()
Gets theWSDLPort
that represents the port that this SEI binds to.QName
getPortName()
Value of the wsdl:port name associated with theSEIModel
QName
getPortTypeName()
Value of wsdl:portType bound to the port associated with theSEIModel
QName
getServiceQName()
wsdl:service qualified name for the port associated with theSEIModel
String
getTargetNamespace()
Namespace of the wsd;:port associated with theSEIModel
String
getWSDLLocation()
Location of the WSDL that defines the port associated with theSEIModel
-
-
-
Method Detail
-
getMarshallerPool
Pool.Marshaller getMarshallerPool()
-
getJAXBContext
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 theJavaMethod
corrrespondiong to aMethod
- such as on the client side.- Parameters:
method
- for whichJavaMethod
is asked for- Returns:
- the
JavaMethod
representing themethod
-
getJavaMethod
JavaMethod getJavaMethod(QName name)
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.- Parameters:
name
-- 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- Returns:
-
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
@NotNull String getWSDLLocation()
Location of the WSDL that defines the port associated with theSEIModel
- Returns:
- wsdl location uri - always non-null
-
getServiceQName
@NotNull QName getServiceQName()
wsdl:service qualified name for the port associated with theSEIModel
- Returns:
- wsdl:service@name value - always non-null
-
getPort
@NotNull WSDLPort getPort()
Gets theWSDLPort
that represents the port that this SEI binds to.
-
getPortName
@NotNull QName getPortName()
Value of the wsdl:port name associated with theSEIModel
- Returns:
- wsdl:service/wsdl:port@name value, always non-null
-
getPortTypeName
@NotNull QName getPortTypeName()
Value of wsdl:portType bound to the port associated with theSEIModel
- Returns:
-
getBoundPortTypeName
@NotNull QName getBoundPortTypeName()
Gives the wsdl:binding@name value
-
-