electric.soap.wsdl
Class SOAPFault

java.lang.Object
  extended byelectric.soap.wsdl.SOAPFault
All Implemented Interfaces:
IWSDLConstants

public class SOAPFault
extends java.lang.Object
implements IWSDLConstants

SOAPFault Move this to be a kind of SOAPMessageDecl, but for now it's just a place to put the algorithms for parsing soap fault messages using wsdl. (note that SOAPException is pure SOAP, has no coupling to WSDL)

Author:
webMethods
See Also:
SOAPException

Field Summary
 
Fields inherited from interface electric.wsdl.IWSDLConstants
ADDRESS, BINDING, DEFINITIONS, DESCRIPTION, DOCUMENT, DOCUMENTATION, ELEMENT, ENCODED, ENCODING_STYLE, ENDPOINT, FAULT, FAULT_DETAIL, GET, GETPOST, HTTP, INPUT, LITERAL, LOCATION, MESSAGE, METHOD_NAMESPACE, MIME, NAME, NAMESPACE, OPERATION, OUTPUT, PARAMETER_ORDER, PARAMETERS, PART, PORT, PORT_TYPE, POST, RPC, SERVICE, SOAP, SOAP_ACTION, STYLE, TARGET_NAMESPACE, TARGET_NAMESPACE_PREFIX, TNS, TRANSPORT, TYPE, USE, VERB, WSDL_EXTENSION, WSDL_NAMESPACE, WSDL_PREFIX, WSDL_SOAP_NAMESPACE, WSDL_SOAP_PREFIX, WSDL_SOAP11_NAMESPACE, WSDL_SOAP11_PREFIX, WSDL_SOAP12_NAMESPACE, WSDL_SOAP12_PREFIX
 
Constructor Summary
SOAPFault()
           
 
Method Summary
static boolean isPrintStackTraces()
           
static boolean isTransmitErrors()
           
static boolean processFaults()
           
static void setOldStyleFaults(boolean oldStyleFaults)
           
static void setPrintStackTraces(boolean printStackTraces)
          This controls whether or not stack traces appear in error messages sent from the server if ThrowableType is being used.
static void setProcessFaults(boolean processFaults)
           
static void setTransmitErrors(boolean transmitErrors)
           
static boolean useOldStyleFaults()
          Prior to 4.1, GLUE used a proprietary method of encoding SOAPExceptions into SOAP faults.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPFault

public SOAPFault()
Method Detail

useOldStyleFaults

public static boolean useOldStyleFaults()
Prior to 4.1, GLUE used a proprietary method of encoding SOAPExceptions into SOAP faults. This flag determines whether the old-style or new GLUE 4.1 style is used to transmit SOAPExceptions.

Returns:
whether or not to use old style faults.

setOldStyleFaults

public static void setOldStyleFaults(boolean oldStyleFaults)

processFaults

public static boolean processFaults()
Returns:
process faults.

setProcessFaults

public static void setProcessFaults(boolean processFaults)
Parameters:
processFaults -

isTransmitErrors

public static boolean isTransmitErrors()

setTransmitErrors

public static void setTransmitErrors(boolean transmitErrors)
Parameters:
transmitErrors -

isPrintStackTraces

public static boolean isPrintStackTraces()

setPrintStackTraces

public static void setPrintStackTraces(boolean printStackTraces)
This controls whether or not stack traces appear in error messages sent from the server if ThrowableType is being used.

Parameters:
printStackTraces -


copyright© 2001-2004 by webMethods All Rights Reserved.