|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WSDLBoundPortType
WSDLPortType
bound with a specific binding.
Method Summary | |
---|---|
WSDLBoundOperation |
get(QName operationName)
Gets the WSDLBoundOperation for a given operation name |
BindingID |
getBindingId()
Returns the binding ID. |
Iterable<? extends WSDLBoundOperation> |
getBindingOperations()
Gets the WSDLBoundOperation s |
QName |
getName()
Gets the name of the wsdl:binding@name attribute value as local name and wsdl:definitions@targetNamespace as the namespace uri. |
WSDLBoundOperation |
getOperation(String namespaceUri,
String localName)
Gets the bound operation in this port for a tag name. |
WSDLModel |
getOwner()
Gets the WSDLModel that owns this port type. |
WSDLPortType |
getPortType()
Gets the WSDLPortType associated with the wsdl:binding |
QName |
getPortTypeName()
Gets the wsdl:binding@type value, same as WSDLPortType.getName() |
javax.jws.soap.SOAPBinding.Style |
getStyle()
Is this a document style or RPC style? Since we only support literal and not encoding, this means either doc/lit or rpc/lit. |
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLFeaturedObject |
---|
addFeature, getFeature, getFeatures |
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible |
---|
addExtension, getExtension, getExtensions, getExtensions |
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject |
---|
getLocation |
Method Detail |
---|
QName getName()
@NotNull WSDLModel getOwner()
WSDLModel
that owns this port type.
WSDLBoundOperation get(QName operationName)
WSDLBoundOperation
for a given operation name
operationName
- non-null operationName
WSDLBoundOperation
is not foundQName getPortTypeName()
WSDLPortType.getName()
WSDLPortType getPortType()
WSDLPortType
associated with the wsdl:binding
Iterable<? extends WSDLBoundOperation> getBindingOperations()
WSDLBoundOperation
s
@NotNull javax.jws.soap.SOAPBinding.Style getStyle()
BindingID getBindingId()
@Nullable WSDLBoundOperation getOperation(String namespaceUri, String localName)
WSDLBoundOperation.getName()
.
If you have a Message
and trying to figure out which operation it belongs to,
always use Message.getOperation(com.sun.xml.ws.api.model.wsdl.WSDLBoundPortType)
, as that performs better.
For example this can be used in the case when a message receipient can get the
WSDLBoundOperation
from the payload tag name.
namespaceUri and the local name both can be null to get the WSDLBoundOperation that has empty body - there is no payload. According to BP 1.1 in a port there can be at MOST one operation with empty body. Its an error to have namespace URI non-null but local name as null.
namespaceUri
- namespace of the payload element.localName
- local name of the payload
NullPointerException
- if localName is null and namespaceUri is not.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |