Skip to content

Instantly share code, notes, and snippets.

@JoshMcKin
Created December 16, 2010 20:28
Show Gist options
  • Save JoshMcKin/743958 to your computer and use it in GitHub Desktop.
Save JoshMcKin/743958 to your computer and use it in GitHub Desktop.
SOAP XML with WSU Time Stamp
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wel="http://test.comt/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Header>
<wsse:Security env:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsu:Timestamp wsu:Id="Timestamp-3" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsu:Created>2010-12-16T19:40:03Z</wsu:Created>
<wsu:Expires>2010-12-16T19:41:03Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
</env:Header>
<env:Body>
<wsdl:getStuff>
<id>59</id>
</wsdl:getStuff>
</env:Body>
</env:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment