The SOAP XML Document
Begin with a simple SOAP document.
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<m:GetLastTradePrice
env:encodingStyle="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:m="http://example.org/2001/06/quotes">
<symbol>DIS</symbol>
</m:GetLastTradePrice>
</env:Body>
</env:Envelope>
The document contains a SOAP envelope, which contains a body element. Within the body element is the data that has been sent. This data represents an RPC call asking for the last trade price for stock symbol DIS.
The file soap.xsd contains the schema for SOAP. The file trade.xsd contains the schema for the GetLastTradePrice element and imports the schema for SOAP.