Package com.sun.xml.ws.api.model.wsdl
Interface WSDLBoundOperation
- All Superinterfaces:
WSDLExtensible,WSDLObject
- All Known Subinterfaces:
EditableWSDLBoundOperation
- All Known Implementing Classes:
WSDLBoundOperationImpl
Abstracts wsdl:binding/wsdl:operation. It can be used to determine the parts and their binding.
- Author:
- Vivek Pandey
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGets the soapbinding:binding/operation/wsaw:Anonymous.Gives the ownerWSDLBoundPortTypegetFaultBinding(String part) GetsParameterBindingfor a given wsdl part in wsdl:faultMap of wsdl:fault part name and the binding asParameterBindingIterable<? extends WSDLBoundFault>Gets all theWSDLFaultbound to this operation.getInputBinding(String part) GetsParameterBindingfor a given wsdl part in wsdl:inputMap of wsdl:input part name and the binding asParameterBindingGets the MIME type for a given wsdl part in wsdl:faultGets the MIME type for a given wsdl part in wsdl:inputGets the MIME type for a given wsdl part in wsdl:outputgetName()Short-cut forgetOperation().getName()Gets the wsdl:portType/wsdl:operation model -WSDLOperation, associated with this binding operation.getOutputBinding(String part) GetsParameterBindingfor a given wsdl part in wsdl:outputMap of wsdl:output part name and the binding asParameterBindinggetPart(String partName, WebParam.Mode mode) GetsWSDLPartfor the given wsdl:input or wsdl:output partGets the namespace of request payload.Gets the payload QName of the request message.Gets the namespace of response payload.Gets the payload QName of the response message.Gives soapbinding:operation@soapAction value.Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions, getNotUnderstoodExtensionsMethods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject
getLocation
-
Method Details
-
getName
Short-cut forgetOperation().getName() -
getSOAPAction
Gives soapbinding:operation@soapAction value. soapbinding:operation@soapAction is optional attribute. If not present an empty String is returned as per BP 1.1 R2745. -
getOperation
Gets the wsdl:portType/wsdl:operation model -WSDLOperation, associated with this binding operation.- Returns:
- always same
WSDLOperation
-
getBoundPortType
Gives the ownerWSDLBoundPortType -
getAnonymous
WSDLBoundOperation.ANONYMOUS getAnonymous()Gets the soapbinding:binding/operation/wsaw:Anonymous. A default value of OPTIONAL is returned.- Returns:
- Anonymous value of the operation
-
getPart
GetsWSDLPartfor the given wsdl:input or wsdl:output part- Returns:
- null if no part is found
-
getInputBinding
GetsParameterBindingfor a given wsdl part in wsdl:input- Parameters:
part- Name of wsdl:part, must be non-null- Returns:
- null if the part is not found.
-
getOutputBinding
GetsParameterBindingfor a given wsdl part in wsdl:output- Parameters:
part- Name of wsdl:part, must be non-null- Returns:
- null if the part is not found.
-
getFaultBinding
GetsParameterBindingfor a given wsdl part in wsdl:fault- Parameters:
part- Name of wsdl:part, must be non-null- Returns:
- null if the part is not found.
-
getMimeTypeForInputPart
Gets the MIME type for a given wsdl part in wsdl:input- Parameters:
part- Name of wsdl:part, must be non-null- Returns:
- null if the part is not found.
-
getMimeTypeForOutputPart
Gets the MIME type for a given wsdl part in wsdl:output- Parameters:
part- Name of wsdl:part, must be non-null- Returns:
- null if the part is not found.
-
getMimeTypeForFaultPart
Gets the MIME type for a given wsdl part in wsdl:fault- Parameters:
part- Name of wsdl:part, must be non-null- Returns:
- null if the part is not found.
-
getInParts
-
getOutParts
-
getFaults
Gets all theWSDLFaultbound to this operation. -
getInputParts
Map<String,ParameterBinding> getInputParts()Map of wsdl:input part name and the binding asParameterBinding- Returns:
- empty Map if there is no parts
-
getOutputParts
Map<String,ParameterBinding> getOutputParts()Map of wsdl:output part name and the binding asParameterBinding- Returns:
- empty Map if there is no parts
-
getFaultParts
Map<String,ParameterBinding> getFaultParts()Map of wsdl:fault part name and the binding asParameterBinding- Returns:
- empty Map if there is no parts
-
getRequestPayloadName
Gets the payload QName of the request message.It's possible for an operation to define no body part, in which case this method returns null.
-
getResponsePayloadName
Gets the payload QName of the response message.It's possible for an operation to define no body part, in which case this method returns null.
-
getRequestNamespace
String getRequestNamespace()Gets the namespace of request payload. -
getResponseNamespace
String getResponseNamespace()Gets the namespace of response payload.
-