The optional SOAP Fault element is used to persist the error and state information of the SOAP message.
SOAP Fault Element
The error message from the SOAP message is carried inside the Fault element.
If the Fault element is already provided, it must be a child of the BODY element. In a SOAP message, the Fault element can only appear once.
The Fault element of SOAP is used for the following child elements:
child elements |
Description |
<faultcode> |
Code for identification of faults |
<faultstring> |
A description of the breakdown that can be read by people |
<faultactor> |
Information about who is causing the failure |
<detail> |
Persist application-specific error messages involving the BODY element |
SOAP Fault Codes
The FaultCode value defined below must be used to describe the faultcode element in the failure:
Error |
Description |
VersionMismatch |
Invalid namespace for 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 is incorrectly constituted or contains incorrect information. |
Server |
There is a problem with the server, so it cannot be processed. |
HTTP protocol
HTTP communicates on top of TCP/IP. The HTTP client connects to the HTTP server using TCP. After a connection is established, the client can send an HTTP request message to the server:
Post/item http/1.1host:189.123.345.239content-type:text/plaincontent-length:200