SOAP Fault
Element
The SOAP Fault element is used to store error and status information for a SOAP message.
SOAP Fault Element
The optional SOAP Fault element is used to indicate error messages.
If a Fault element is provided, it must be a child element of the Body element. In a SOAP message, the Fault element can only appear once.
The SOAP Fault element has the following child elements:
Child Element | Description |
---|---|
<faultcode> | A code to identify the fault |
<faultstring> | A human-readable explanation of the fault |
<faultactor> | Information about who caused the fault |
<detail> | Stores application-specific error information related to the Body element |
SOAP Fault Codes
The following defined faultcode values must be used in the faultcode element when describing errors:
Error | Description |
---|---|
VersionMismatch | An invalid namespace for the SOAP Envelope element was found |
MustUnderstand | A direct child element of the Header element (with the mustUnderstand attribute set to "1") could not be understood |
Client | The message was incorrectly formed or contained incorrect information |
Server | There was a problem with the server, and the process could not continue |