oracle.wsdl.extension.soap
Class  SOAPBinding
java.lang.Object
  |
  +--oracle.wsdl.common.WSDLElementImpl
        |
        +--oracle.wsdl.extension.soap.SOAPBinding
- All Implemented Interfaces: 
 - ExtensibilityElement, java.io.Serializable, WSDLElement
 
- public class SOAPBinding
- extends oracle.wsdl.common.WSDLElementImpl
- implements ExtensibilityElement
   
SOAPBinding represents SOAP binding element which is to signify that the binding
 is bound to the SOAP protocol format: Envelope, Header and Body. This element makes
 no claims as to the encoding or format of the message. The element must be present
 when using SOAP binding.
- See Also: 
 - Serialized Form
 
 
| 
Method Summary | 
 java.lang.String | 
getElementName()
 
          Get element name which is soap:binding | 
 int | 
getStyle()
 
          Get style. | 
 java.lang.String | 
getTransport()
 
          Get transport. | 
 void | 
serialize(java.io.PrintWriter writer,
          boolean indent,
          int indentLevel)
 
          Serialize this WSDL element | 
 void | 
setStyle(int style)
 
          Set style | 
 void | 
setTransport(java.lang.String transport)
 
          Set transport. | 
 
| 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 | 
 
 
SOAPBinding
public SOAPBinding()
getElementName
public java.lang.String getElementName()
- Get element name which is soap:binding
- Specified by: 
 getElementName in interface ExtensibilityElement
 
- Returns:
 - soap:binding
 
 
 
getTransport
public java.lang.String getTransport()
- Get transport. The URI value http://schemas.xmlsoap.org/soap/http
 corresponds to the HTTP binding in SOAP specification. Other URIs may be used here
 to indicate other transports such as SMTP, FTP, etc.
 
- Returns:
 - the transport this SOAP binding will use.
 
 
 
setTransport
public void setTransport(java.lang.String transport)
- Set transport. The URI value http://schemas.xmlsoap.org/soap/http
 corresponds to the HTTP binding in SOAP specification. Other URIs may be used here
 to indicate other transports such as SMTP, FTP, etc.
 
- Parameters:
 transport - the transport this SOAP binding will use.
 
 
getStyle
public int getStyle()
- Get style.  The default value is document style.
 The style is default for the style for each contained operation.
 
- Returns:
 - SOAPConstants.STYLE_RPC for rpc style,
        or SOAPConstants.STYLE_DOCUMENT for document style.
 
 
 
setStyle
public void setStyle(int style)
- Set 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 sinkindent - indicates whether indentation will be applied to serializationindentLevel - the levels of indentation starting from 0.
 
 
Copyright © 2001 Oracle SOAP. All Rights Reserved.