kinlane
2/8/2011 - 8:34 PM

This is a SOAP example I am using in my business of APIs series for API Evangelist.

This is a SOAP example I am using in my business of APIs series for API Evangelist.

POST /InStock HTTP/1.1
Host: www.example.org
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 299
 
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
  <soap:Header>
  </soap:Header>
  <soap:Body>
    <m:GetUser xmlns:m="http://www.example.org/stock">
      <m:UserName>Kin Lane</m:UserName>
      <m:CompanyName>API Evangelist</m:CompanyName>
    </m:GetUser>
  </soap:Body>
</soap:Envelope>