com.sun.xml.ws.api.model.wsdl
Interface WSDLBoundOperation

All Superinterfaces:
WSDLExtensible, WSDLObject
All Known Subinterfaces:
EditableWSDLBoundOperation
All Known Implementing Classes:
WSDLBoundOperationImpl

public interface WSDLBoundOperation
extends WSDLObject, WSDLExtensible

Abstracts wsdl:binding/wsdl:operation. It can be used to determine the parts and their binding.

Author:
Vivek Pandey

Nested Class Summary
static class WSDLBoundOperation.ANONYMOUS
           
 
Method Summary
 WSDLBoundOperation.ANONYMOUS getAnonymous()
          Gets the soapbinding:binding/operation/wsaw:Anonymous.
 WSDLBoundPortType getBoundPortType()
          Gives the owner WSDLBoundPortType
 ParameterBinding getFaultBinding(String part)
          Gets ParameterBinding for a given wsdl part in wsdl:fault
 Map<String,ParameterBinding> getFaultParts()
          Map of wsdl:fault part name and the binding as ParameterBinding
 Iterable<? extends WSDLBoundFault> getFaults()
          Gets all the WSDLFault bound to this operation.
 Map<String,? extends WSDLPart> getInParts()
          Gets all inbound WSDLPart by its name.
 ParameterBinding getInputBinding(String part)
          Gets ParameterBinding for a given wsdl part in wsdl:input
 Map<String,ParameterBinding> getInputParts()
          Map of wsdl:input part name and the binding as ParameterBinding
 String getMimeTypeForFaultPart(String part)
          Gets the MIME type for a given wsdl part in wsdl:fault
 String getMimeTypeForInputPart(String part)
          Gets the MIME type for a given wsdl part in wsdl:input
 String getMimeTypeForOutputPart(String part)
          Gets the MIME type for a given wsdl part in wsdl:output
 QName getName()
          Short-cut for getOperation().getName()
 WSDLOperation getOperation()
          Gets the wsdl:portType/wsdl:operation model - WSDLOperation, associated with this binding operation.
 Map<String,? extends WSDLPart> getOutParts()
          Gets all outbound WSDLPart by its name.
 ParameterBinding getOutputBinding(String part)
          Gets ParameterBinding for a given wsdl part in wsdl:output
 Map<String,ParameterBinding> getOutputParts()
          Map of wsdl:output part name and the binding as ParameterBinding
 WSDLPart getPart(String partName, WebParam.Mode mode)
          Gets WSDLPart for the given wsdl:input or wsdl:output part
 String getRequestNamespace()
          Gets the namespace of request payload.
 QName getRequestPayloadName()
          Gets the payload QName of the request message.
 String getResponseNamespace()
          Gets the namespace of response payload.
 QName getResponsePayloadName()
          Gets the payload QName of the response message.
 String getSOAPAction()
          Gives soapbinding:operation@soapAction value.
 
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.WSDLObject
getLocation
 

Method Detail

getName

@NotNull
QName getName()
Short-cut for getOperation().getName()


getSOAPAction

@NotNull
String 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

@NotNull
WSDLOperation getOperation()
Gets the wsdl:portType/wsdl:operation model - WSDLOperation, associated with this binding operation.

Returns:
always same WSDLOperation

getBoundPortType

@NotNull
WSDLBoundPortType getBoundPortType()
Gives the owner WSDLBoundPortType


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

@Nullable
WSDLPart getPart(@NotNull
                          String partName,
                          @NotNull
                          WebParam.Mode mode)
Gets WSDLPart for the given wsdl:input or wsdl:output part

Returns:
null if no part is found

getInputBinding

ParameterBinding getInputBinding(String part)
Gets ParameterBinding 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.

getOutputBinding

ParameterBinding getOutputBinding(String part)
Gets ParameterBinding 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.

getFaultBinding

ParameterBinding getFaultBinding(String part)
Gets ParameterBinding 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.

getMimeTypeForInputPart

String getMimeTypeForInputPart(String part)
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

String getMimeTypeForOutputPart(String part)
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

String getMimeTypeForFaultPart(String part)
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

@NotNull
Map<String,? extends WSDLPart> getInParts()
Gets all inbound WSDLPart by its name.


getOutParts

@NotNull
Map<String,? extends WSDLPart> getOutParts()
Gets all outbound WSDLPart by its name.


getFaults

@NotNull
Iterable<? extends WSDLBoundFault> getFaults()
Gets all the WSDLFault bound to this operation.


getInputParts

Map<String,ParameterBinding> getInputParts()
Map of wsdl:input part name and the binding as ParameterBinding

Returns:
empty Map if there is no parts

getOutputParts

Map<String,ParameterBinding> getOutputParts()
Map of wsdl:output part name and the binding as ParameterBinding

Returns:
empty Map if there is no parts

getFaultParts

Map<String,ParameterBinding> getFaultParts()
Map of wsdl:fault part name and the binding as ParameterBinding

Returns:
empty Map if there is no parts

getRequestPayloadName

@Nullable
QName 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

@Nullable
QName 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.



Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.