Interface EditableWSDLBoundPortType
-
- All Superinterfaces:
WSDLBoundPortType,WSDLExtensible,WSDLFeaturedObject,WSDLObject
- All Known Implementing Classes:
WSDLBoundPortTypeImpl
public interface EditableWSDLBoundPortType extends WSDLBoundPortType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfreeze()Freezes WSDL model to prevent further modificationEditableWSDLBoundOperationget(QName operationName)Gets theWSDLBoundOperationfor a given operation nameIterable<? extends EditableWSDLBoundOperation>getBindingOperations()Gets theWSDLBoundOperationsEditableWSDLBoundOperationgetOperation(String namespaceUri, String localName)Gets the bound operation in this port for a tag name.EditableWSDLModelgetOwner()Gets theWSDLModelthat owns this port type.EditableWSDLPortTypegetPortType()Gets theWSDLPortTypeassociated with the wsdl:bindingvoidput(QName opName, EditableWSDLBoundOperation ptOp)Populates the Map that holds operation name as key andWSDLBoundOperationas the value.voidsetBindingId(BindingID bindingId)Sets the binding IDvoidsetStyle(javax.jws.soap.SOAPBinding.Style style)sets whether theWSDLBoundPortTypeis rpc or lit-
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLBoundPortType
getBinding, getBindingId, getName, getPortTypeName, getStyle
-
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions, getNotUnderstoodExtensions
-
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.WSDLObject
getLocation
-
-
-
-
Method Detail
-
getOwner
@NotNull EditableWSDLModel getOwner()
Description copied from interface:WSDLBoundPortTypeGets theWSDLModelthat owns this port type.- Specified by:
getOwnerin interfaceWSDLBoundPortType
-
get
EditableWSDLBoundOperation get(QName operationName)
Description copied from interface:WSDLBoundPortTypeGets theWSDLBoundOperationfor a given operation name- Specified by:
getin interfaceWSDLBoundPortType- Parameters:
operationName- non-null operationName- Returns:
- null if a
WSDLBoundOperationis not found
-
getPortType
EditableWSDLPortType getPortType()
Description copied from interface:WSDLBoundPortTypeGets theWSDLPortTypeassociated with the wsdl:binding- Specified by:
getPortTypein interfaceWSDLBoundPortType
-
getBindingOperations
Iterable<? extends EditableWSDLBoundOperation> getBindingOperations()
Description copied from interface:WSDLBoundPortTypeGets theWSDLBoundOperations- Specified by:
getBindingOperationsin interfaceWSDLBoundPortType
-
getOperation
@Nullable EditableWSDLBoundOperation getOperation(String namespaceUri, String localName)
Description copied from interface:WSDLBoundPortTypeGets the bound operation in this port for a tag name. Here the operation would be the one whose input part descriptor bound to soap:body is same as the tag name except for rpclit where the tag name would beWSDLBoundOperation.getName().If you have a
Messageand trying to figure out which operation it belongs to, always useMessage.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
WSDLBoundOperationfrom 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.
- Specified by:
getOperationin interfaceWSDLBoundPortType- Parameters:
namespaceUri- namespace of the payload element.localName- local name of the payload- Returns:
- null if no operation with the given tag name is found.
-
put
void put(QName opName, EditableWSDLBoundOperation ptOp)
Populates the Map that holds operation name as key andWSDLBoundOperationas the value.- Parameters:
opName- Must be non-nullptOp- Must be non-null- Throws:
NullPointerException- if either opName or ptOp is null
-
setBindingId
void setBindingId(BindingID bindingId)
Sets the binding ID- Parameters:
bindingId- Binding ID
-
setStyle
void setStyle(javax.jws.soap.SOAPBinding.Style style)
sets whether theWSDLBoundPortTypeis rpc or lit
-
freeze
void freeze()
Freezes WSDL model to prevent further modification
-
-