SOAP

The SOAP (Simple Object Access Protocol) will be another alternate end point and will be developed at after the XML REST end point. The SOAP end point would most likely be of the form: www.example.com/soap.

An example of an SOAP message would be:

<?xml version="1.0"?>

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
</soap:Header>
<soap:Body>
<m:GetStockPrice xmlns:m="http://www.example.org/stock">
<m:StockName>IBM</m:StockName>
</m:GetStockPrice>
</soap:Body>
</soap:Envelope>

The SOAP end point will be the last one developed. Essentially it will be the same as XML REST message with the SOAP wrappers and some more process flow control. This end point might not even see the light of day.