oracle.wsdl.extension.soap
Class SOAPOperation

java.lang.Object
  |
  +--oracle.wsdl.common.WSDLElementImpl
        |
        +--oracle.wsdl.extension.soap.SOAPOperation
All Implemented Interfaces:
ExtensibilityElement, java.io.Serializable, WSDLElement

public class SOAPOperation
extends oracle.wsdl.common.WSDLElementImpl
implements ExtensibilityElement

SOAPOperation represents soap:operation element that provides information for the operation as a whole.

See Also:
Serialized Form

Constructor Summary
SOAPOperation()
           
 
Method Summary
TypeMethod
 java.lang.String getElementName()
          Get element name which is soap:operation
 java.lang.String getSoapAction()
          Get soapAction which is the value of the SOAPAction header for this operation
 int getStyle()
          Get style.
 void serialize(java.io.PrintWriter writer, boolean indent, int indentLevel)
          Serialize this WSDL element
 void setSoapAction(java.lang.String soapAction)
          Set soapAction
 void setStyle(int style)
          Set style.
 
Methods inherited from class oracle.wsdl.common.WSDLElementImpl
getChildWSDLElements, getOwnerDefinitions, getParent, setParent, validateExtensionsRecursively
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.wsdl.internal.WSDLElement
getOwnerDefinitions, getParent
 

Constructor Detail

SOAPOperation

public SOAPOperation()
Method Detail

getElementName

public java.lang.String getElementName()
Get element name which is soap:operation
Specified by:
getElementName in interface ExtensibilityElement
Returns:
soap:operation

getSoapAction

public java.lang.String getSoapAction()
Get soapAction which is the value of the SOAPAction header for this operation
Returns:
soapAction (a URI)

setSoapAction

public void setSoapAction(java.lang.String soapAction)
Set soapAction
Parameters:
soapAction - the soapAction to set

getStyle

public int getStyle()
Get style. If not specified, it defaults to the value specified in soap:binding element.
Returns:
SOAPConstants.STYLE_RPC for rpc style, or SOAPConstants.STYLE_DOCUMENT for document style.

setStyle

public void setStyle(int style)
Set style. The value of style can be SOAPConstants.STYLE_RPC for rpc style, or SOAPConstants.STYLE_DOCUMENT for document style.
Parameters:
style - the style to set

serialize

public void serialize(java.io.PrintWriter writer,
                      boolean indent,
                      int indentLevel)
Description copied from interface: WSDLElement
Serialize this WSDL element
Specified by:
serialize in interface WSDLElement
Following copied from interface: oracle.wsdl.internal.WSDLElement
Parameters:
writer - a print writer as a sink
indent - indicates whether indentation will be applied to serialization
indentLevel - the levels of indentation starting from 0.


Copyright © 2001 Oracle SOAP. All Rights Reserved.