SOAP message structure

A SOAP message consists of a header and a body, both of which are contained in a SOAP envelope:

Figure 1-1: SOAP message structure

The SOAP header and body are contained, at the same hierarchical level, within the SOAP envelope. For a full list of SOAP specifications, please refer to the W3C XML Protocol Working Group at http://www.w3.org/2000/xp/Group/

Following is an example of SOAP request message for a select statement.

Figure 1-2: SOAP request message

This SOAP request message envelope contains a body but no header. For a full list of SOAP specifications, please refer to the W3C XML Protocol Working Group at http://www.w3.org/2000/xp/Group/

The request message contains no header information. The following SOAP response message corresponds to the previous request message. This message contains a header. The body of the message is not shown.

Figure 1-3: SOAP response message

This SOAP response message envelope contains both a header and body. For a full list of SOAP specifications, please refer to the W3C XML Protocol Working Group at http://www.w3.org/2000/xp/Group/

For more detailed information on SOAP, refer to the following documents: