From http://www.w3schools.com (Copyright Refsnes Data)

SOAP Syntax

Previous Next

SOAP Building Blocks

A SOAP message is an ordinary XML document containing the following elements:

All the elements above are declared in the default namespace for the SOAP envelope:

http://www.w3.org/2001/12/soap-envelope

and the default namespace for SOAP encoding and data types is:

http://www.w3.org/2001/12/soap-encoding


Syntax Rules

Here are some important syntax rules:


Skeleton SOAP Message

<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
<soap:Header>
  ...
  ...
</soap:Header>
<soap:Body>
  ...
  ...
  <soap:Fault>
    ...
    ...
  </soap:Fault>
</soap:Body>
</soap:Envelope>


Previous Next

From http://www.w3schools.com (Copyright Refsnes Data)