public interface EditableWSDLBoundPortType extends WSDLBoundPortType
Modifier and Type | Method and Description |
---|---|
void |
freeze()
Freezes WSDL model to prevent further modification
|
EditableWSDLBoundOperation |
get(QName operationName)
Gets the
WSDLBoundOperation for a given operation name |
Iterable<? extends EditableWSDLBoundOperation> |
getBindingOperations()
Gets the
WSDLBoundOperation s |
EditableWSDLBoundOperation |
getOperation(String namespaceUri,
String localName)
Gets the bound operation in this port for a tag name.
|
EditableWSDLModel |
getOwner()
Gets the
WSDLModel that owns this port type. |
EditableWSDLPortType |
getPortType()
Gets the
WSDLPortType associated with the wsdl:binding |
void |
put(QName opName,
EditableWSDLBoundOperation ptOp)
Populates the Map that holds operation name as key and
WSDLBoundOperation as the value. |
void |
setBindingId(BindingID bindingId)
Sets the binding ID
|
void |
setStyle(SOAPBinding.Style style)
sets whether the
WSDLBoundPortType is rpc or lit |
getBinding, getBindingId, getName, getPortTypeName, getStyle
addFeature, getFeature, getFeatures
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions, getNotUnderstoodExtensions
getLocation
@NotNull EditableWSDLModel getOwner()
WSDLBoundPortType
WSDLModel
that owns this port type.getOwner
in interface WSDLBoundPortType
EditableWSDLBoundOperation get(QName operationName)
WSDLBoundPortType
WSDLBoundOperation
for a given operation nameget
in interface WSDLBoundPortType
operationName
- non-null operationNameWSDLBoundOperation
is not foundEditableWSDLPortType getPortType()
WSDLBoundPortType
WSDLPortType
associated with the wsdl:bindinggetPortType
in interface WSDLBoundPortType
Iterable<? extends EditableWSDLBoundOperation> getBindingOperations()
WSDLBoundPortType
WSDLBoundOperation
sgetBindingOperations
in interface WSDLBoundPortType
@Nullable EditableWSDLBoundOperation getOperation(String namespaceUri, String localName)
WSDLBoundPortType
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.
getOperation
in interface WSDLBoundPortType
namespaceUri
- namespace of the payload element.localName
- local name of the payloadvoid put(QName opName, EditableWSDLBoundOperation ptOp)
WSDLBoundOperation
as the value.opName
- Must be non-nullptOp
- Must be non-nullNullPointerException
- if either opName or ptOp is nullvoid setBindingId(BindingID bindingId)
bindingId
- Binding IDvoid setStyle(SOAPBinding.Style style)
WSDLBoundPortType
is rpc or litvoid freeze()
Copyright © 2015 Oracle Corporation. All rights reserved.