org.jvnet.wom.api
Class WSDLBoundOperation

java.lang.Object
  extended by org.jvnet.wom.api.WSDLEntity
      extended by org.jvnet.wom.api.WSDLBoundOperation
All Implemented Interfaces:
WSDLExtensible
Direct Known Subclasses:
WSDLBoundOperationImpl

public abstract class WSDLBoundOperation
extends WSDLEntity

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

Author:
Vivek Pandey

Constructor Summary
protected WSDLBoundOperation(org.xml.sax.Locator locator, javax.xml.namespace.QName name)
           
 
Method Summary
abstract  java.lang.Iterable<? extends WSDLBoundFault> getFaults()
          Gets all the WSDLFault bound to this operation.
abstract  WSDLBoundInput getInput()
          Gets the wsdl:input of this operation
abstract  WSDLOperation getOperation()
          Gets the wsdl:portType/wsdl:operation model - WSDLOperation, associated with this binding operation.
abstract  WSDLBoundOutput getOutput()
          Gets the wsdl:output of this operation.
abstract  java.lang.String getSOAPAction()
          Gives soapbinding:operation@soapAction value.
 
Methods inherited from class org.jvnet.wom.api.WSDLEntity
addExtension, getDocumentation, getExtension, getExtensions, getFirstExtension, getLocation, getName, getOwnerWSDLModel, getWSDLDocument, setOwnerWSDLDocument, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLBoundOperation

protected WSDLBoundOperation(org.xml.sax.Locator locator,
                             javax.xml.namespace.QName name)
Method Detail

getSOAPAction

public abstract 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

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

Returns:
always same WSDLOperation

getInput

public abstract WSDLBoundInput getInput()
Gets the wsdl:input of this operation

Returns:
non-null WSDLBoundInput

getOutput

public abstract WSDLBoundOutput getOutput()
Gets the wsdl:output of this operation.

Returns:
null if this is an one-way operation.

getFaults

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



Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved.