SOAP is a simple XML-based protocol that enables applications to exchange information over HTTP.

Or more simply: SOAP is a protocol for accessing web services.

SOAP Fault element syntax

The optional SOAP Fault element indicates 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.

SOAP Fault element example

< /tr>
Child elementDescription
<faultcode>Code for identifying faults
<faultstring>A human-readable description of the fault
<faultactor>Information about who caused the fault< /td>
<detail>Preserve application-specific error information involving the Body element