SOAP Fault Element
-- Learning not just technology, but also dreams!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
SOAP Tutorial
SOAP TutorialSOAP IntroductionSOAP SyntaxSOAP Envelope ElementSOAP Header ElementSOAP Body ElementSOAP Fault ElementSOAP HTTP BindingSOAP ExampleSOAP Summary
SOAP Fault Element
SOAP Fault Element is used to hold error and status information for SOAP messages.
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 of the Body element. In a SOAP message, the Fault element can appear only once.
SOAP's Fault element has the following child elements:
| Child Element | Description |
|---|---|
| <faultcode> | Code for identifying the fault |
| <faultstring> | Human-readable explanation of the fault |
| <faultactor> | Information about who caused the fault |
| <detail> | Holds application-specific error information related to the Body element |
SOAP Fault Codes
The faultcode values defined below 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 a 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, so it could not proceed with processing. |
YouTip