Skip to content

Instantly share code, notes, and snippets.

@yaronn
Created May 25, 2012 21:14
Show Gist options
  • Save yaronn/2790612 to your computer and use it in GitHub Desktop.
Save yaronn/2790612 to your computer and use it in GitHub Desktop.
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" ... >
<Header>
<ws:Action>http://tempuri.org/IService/GetData</ws:Action>
<ws:To>http://localhost:8888/</ws:To>
<ws:MessageID>ca62b7d7-4f74-75ed-9f5c-b09b173f6747</ws:MessageID>
<ws:ReplyTo>
<ws:Address>...</ws:Address>
</ws:ReplyTo>
<o:Security>
<u:Timestamp xmlns:wsu="..." wsu:Id="_1">
<u:Created>2012-05-25T12:18:38Z</u:Created>
<u:Expires>2012-05-25T12:23:38Z</u:Expires>
</u:Timestamp>
<o:BinarySecurityToken ValueType="..." EncodingType="..." u:Id="sec_0">
MIIBxDCCAWI...
</o:BinarySecurityToken>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="...xml-exc-c14n#" />
<SignatureMethod Algorithm="...rsa-sha1" />
<Reference URI="#_0">
<Transforms>
<Transform Algorithm=".../xml-exc-c14n#" />
</Transforms>
<DigestMethod Algorithm="...xmldsig#sha1" />
<DigestValue>fxQc0PEh2GHA43IXltm6gjbccsA=</DigestValue>
</Reference>
<Reference URI="#_1">
<Transforms>
<Transform Algorithm=".../xml-exc-c14n#" />
</Transforms>
<DigestMethod Algorithm="...xmldsig#sha1" />
<DigestValue>L+vrfEszbn2ZtXiWfNyDG8nM1e8=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>AcOb1KJHpyQnnChEZFEL7g+LEXnv...</SignatureValue>
<KeyInfo>
<o:SecurityTokenReference>
<o:Reference URI="#sec_0" ValueType="..." />
</o:SecurityTokenReference>
</KeyInfo>
</Signature>
</o:Security>
</Header>
<Body xmlns:wsu="..." wsu:Id="_0">
<GetData xmlns="http://tempuri.org/">
<value>123</value>
</GetData>
</Body>
</Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment