electric.soap.util
Class SOAPEnvelopes

java.lang.Object
  extended byelectric.soap.util.SOAPEnvelopes
All Implemented Interfaces:
ISOAPConstants

public class SOAPEnvelopes
extends java.lang.Object
implements ISOAPConstants

SOAPEnvelopes contains utility methods for creating SOAP envelopes.

Author:
webMethods

Field Summary
 
Fields inherited from interface electric.soap.ISOAPConstants
ACTOR, ASYNC, BODY, DETAIL, ENCODING_STYLE, ENVELOPE, EXCEPTION, FAULT, FAULT_ACTOR, FAULT_CODE, FAULT_STRING, GET_SOAP_ACTOR, GET_SOAP_CODE, HEADER, MUST_UNDERSTAND, NEXT_ACTOR, OPTIMIZED_HEADER, SET_SOAP_ACTOR, SET_SOAP_CODE, SET_SOAP_DETAIL, SOAP_ACTION_HEADER, SOAP_BINDING, SOAP_ENCODING, SOAP_ENCODING_PREFIX, SOAP_ENVELOPE, SOAP_HTTP_TRANSPORT, SOAP_PREFIX, SOAP11_BINDING, SOAP11_ENCODING, SOAP11_ENVELOPE, SOAP12, SOAP12_BINDING, SOAP12_ENCODING, SOAP12_ENVELOPE, SOAP12_HTTP_CONTENT_TYPE, STACKTRACE, TME_PREFIX, UNDERSTOOD, XSD_PREFIX, XSI_PREFIX, XSI_SUFFIX
 
Constructor Summary
SOAPEnvelopes()
           
 
Method Summary
static java.util.Hashtable getParseContext()
          Return the context for parsing optimized RPC messages.
static Document newEncodedEnvelope(java.lang.String version)
          Return an encoded envelope with the specified XML version, or the default XML version if null is specified.
static Document newEncodedEnvelope(java.lang.String version, java.lang.String soapVersion)
          Return an encoded envelope with the specified XML version, or the default XML version if null is specified.
static Document newLiteralEnvelope(java.lang.String version)
          Return a literal envelope with the specified XML version, or the default XML version if null is specified.
static Document newOptimizedEnvelope()
          Return an envelope for an optimized RPC SOAP message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPEnvelopes

public SOAPEnvelopes()
Method Detail

newOptimizedEnvelope

public static Document newOptimizedEnvelope()
Return an envelope for an optimized RPC SOAP message.


newEncodedEnvelope

public static Document newEncodedEnvelope(java.lang.String version)
Return an encoded envelope with the specified XML version, or the default XML version if null is specified.

Parameters:
version - The version.

newEncodedEnvelope

public static Document newEncodedEnvelope(java.lang.String version,
                                          java.lang.String soapVersion)
Return an encoded envelope with the specified XML version, or the default XML version if null is specified.

Parameters:
version - The version.

newLiteralEnvelope

public static Document newLiteralEnvelope(java.lang.String version)
Return a literal envelope with the specified XML version, or the default XML version if null is specified.

Parameters:
version - The version.

getParseContext

public static java.util.Hashtable getParseContext()
Return the context for parsing optimized RPC messages.



copyright© 2001-2004 by webMethods All Rights Reserved.