SOAP Fault element
The SOAP Fault element is used to store error and status information for SOAP messages.
SOAP Fault Element
The optional SOAP Fault element is used to indicate an error message.
If a Fault element is provided, it must be a child of the Body element. The Fault element may appear only once in a SOAP message.
The Fault element of SOAP has the following child elements:
Sub-element | Description |
---|---|
<faultcode> | A code identifying the fault |
<faultstring> | A human-readable description of the fault |
<faultactor> | Information about who caused the fault |
<detail> | Preservation involves Application-specific error messages for the Body element |
SOAP Fault Code
The faultcode value defined below must be used in the faultcode element when describing the error:
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") cannot be understood. |
Client | The message was incorrectly formed or contained incorrect information. |
Server | There is a problem with the server, so the process cannot continue. |