SOAP
Fault
element is used to hold error and status information for SOAP messages.
3.7.1. SOAP Fault element ¶
Optional SOAP
Fault
element is used to indicate an error message.
If it has been provided
Fault
element, it must be a
Body
the childelements of the element. In a
SOAP
the
Fault
element can only appear once in the message.
The Fault element of SOAP has the following child elements:
|
Child element |
Description |
|---|---|
|
<faultcode> |
A code to identify a fault |
|
<faultstring> |
A readable description of the fault |
|
< faultactor > |
Information about who caused the failure |
|
< detail > |
Save application-specific error messages involving Body elements |
SOAP Fault code ¶
As defined below
faultcode
value must be used to describe the
faultcode
in the element:
|
Error |
Description |
|---|---|
|
VersionMismatch |
An invalid namespace for the SOAP Envelope element was found |
|
MustUnderstand |
An immediate child of the Header element (with the mustUnderstand attribute set to “1”) cannot be understood. |
|
Client |
The message is incorrectly constructed or contains incorrect information. |
|
Server |
There is a problem with the server, so it cannot be processed. |