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.


Method Summary
 javax.xml.namespace.QName getBoundPortTypeName()
          Gives the wsdl:binding@name value
 JavaMethod getJavaMethod(java.lang.reflect.Method method)
          This method will be useful to get the JavaMethod corrrespondiong to a Method - such as on the client side.
 JavaMethod getJavaMethod(javax.xml.namespace.QName name)
          Gives a JavaMethod for a given QName.
 JavaMethod getJavaMethodForWsdlOperation(javax.xml.namespace.QName operationName)
          Gives the JavaMethod associated with the wsdl operation
 java.util.Collection<? extends JavaMethod> getJavaMethods()
          Gives all the JavaMethod for a wsdl:port for which this SEIModel is created.
 javax.xml.bind.JAXBContext getJAXBContext()
          Deprecated. Why do you need this?
 Pool.Marshaller getMarshallerPool()
           
 WSDLPort getPort()
          Gets the WSDLPort that represents the port that this SEI binds to.
 javax.xml.namespace.QName getPortName()
          Value of the wsdl:port name associated with the SEIModel
 javax.xml.namespace.QName getPortTypeName()
          Value of wsdl:portType bound to the port associated with the SEIModel
 javax.xml.namespace.QName getServiceQName()
          wsdl:service qualified name for the port associated with the SEIModel
 java.lang.String getTargetNamespace()
          Namespace of the wsd;:port associated with the SEIModel
 java.lang.String getWSDLLocation()
          Location of the WSDL that defines the port associated with the SEIModel
 

Method Detail

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

JavaMethod getJavaMethod(java.lang.reflect.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(javax.xml.namespace.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.

Parameters:
name -
Returns:
the JavaMethod associated with the operation named name

getJavaMethodForWsdlOperation

JavaMethod getJavaMethodForWsdlOperation(javax.xml.namespace.QName operationName)
Gives the JavaMethod associated with the wsdl operation

Parameters:
operationName - QName of the wsdl operation
Returns:

getJavaMethods

java.util.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
java.lang.String getWSDLLocation()
Location of the WSDL that defines the port associated with the SEIModel

Returns:
wsdl location uri - always non-null

getServiceQName

@NotNull
javax.xml.namespace.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
javax.xml.namespace.QName getPortName()
Value of the wsdl:port name associated with the SEIModel

Returns:
wsdl:service/wsdl:port@name value, always non-null

getPortTypeName

@NotNull
javax.xml.namespace.QName getPortTypeName()
Value of wsdl:portType bound to the port associated with the SEIModel

Returns:

getBoundPortTypeName

@NotNull
javax.xml.namespace.QName getBoundPortTypeName()
Gives the wsdl:binding@name value


getTargetNamespace

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



Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.