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

All Superinterfaces:
WSDLExtensible, WSDLObject
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.


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
 java.lang.Iterable<? extends WSDLBoundFault> getFaults()
          Gets all the WSDLFault bound to this operation.
 java.util.Map<java.lang.String,WSDLPart> getInParts()
          Gets all inbound WSDLPart by its name.
 javax.xml.namespace.QName getName()
          Short-cut for getOperation().getName()
 WSDLOperation getOperation()
          Gets the wsdl:portType/wsdl:operation model - WSDLOperation, associated with this binding operation.
 java.util.Map<java.lang.String,WSDLPart> getOutParts()
          Gets all outbound WSDLPart by its name.
 WSDLPart getPart(java.lang.String partName, javax.jws.WebParam.Mode mode)
          Gets WSDLPart for the given wsdl:input or wsdl:output part
 javax.xml.namespace.QName getReqPayloadName()
          Gets the payload QName of the request message.
 java.lang.String getRequestNamespace()
          Gets the namespace of request payload.
 javax.xml.namespace.QName getResPayloadName()
          Gets the payload QName of the response message.
 java.lang.String getResponseNamespace()
          Gets the namespace of response payload.
 java.lang.String getSOAPAction()
          Gives soapbinding:operation@soapAction value.
 
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

getName

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


getSOAPAction

@NotNull
java.lang.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
                          java.lang.String partName,
                          @NotNull
                          javax.jws.WebParam.Mode mode)
Gets WSDLPart for the given wsdl:input or wsdl:output part

Returns:
null if no part is found

getInParts

@NotNull
java.util.Map<java.lang.String,WSDLPart> getInParts()
Gets all inbound WSDLPart by its name.


getOutParts

@NotNull
java.util.Map<java.lang.String,WSDLPart> getOutParts()
Gets all outbound WSDLPart by its name.


getFaults

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


getReqPayloadName

@Nullable
javax.xml.namespace.QName getReqPayloadName()
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.


getResPayloadName

@Nullable
javax.xml.namespace.QName getResPayloadName()
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

java.lang.String getRequestNamespace()
Gets the namespace of request payload.


getResponseNamespace

java.lang.String getResponseNamespace()
Gets the namespace of response payload.



Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.