The original abbreviation of SOAP stood for Simple Object Access Protocol. The abbreviation was dropped in version 1.2 of the standard. It's an evolution of the XML-RPC standard.
SOAP consists of three parts:
- The SOAP envelope, defining the message's structure and processing rules
- The SOAP header rules defining application-specific data types (optional)
- The SOAP body, which carries remote procedure calls and responses
Here's an example SOAP message using HTTP as transport:
POST /FindMerchants HTTP/1.1
Host: www.domifair.org
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 345
SOAPAction: "http://www.w3.org/2003/05/soap-envelope"
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
</soap:Header>
<soap:Body xmlns:m="https://www.domifair.org">
<m:FindMerchants>
<m:Lat>54.350989</m:Lat>
<m:Long>18.6548168...