Skip to content

Instantly share code, notes, and snippets.

@kinlane
Created February 8, 2011 20:34
Show Gist options
  • Save kinlane/817172 to your computer and use it in GitHub Desktop.
Save kinlane/817172 to your computer and use it in GitHub Desktop.
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment