Latest web development tutorials

SOAP Fault element

SOAP Fault element used to remaining SOAP message error and status information.

SOAP Fault element

The optional SOAP Fault element is used to indicate an error message.

If you have provided the Fault element, it must be the child element of the Body element. In a SOAP message, Fault element can only appear once.

The SOAP Fault element has the following sub-elements:

Sub-elements description
<Faultcode> For identifying the fault codes
<Faultstring> Description for people to read about the failure
<Faultactor> Information about who caused the fault
<Detail> Body retention element involving application-specific error message

SOAP Fault Codes

In faultcode values ​​defined below it must be used to describe elements faultcode errors in:

error description
VersionMismatch Invalid namespace SOAP Envelope element is found
MustUnderstand An immediate child element of the Header element (with set to "1" mustUnderstand attribute) can not be understood.
Client Message was incorrectly formed or contained incorrect information.
Server The server has a problem and can not continue processing.