Advertisement
Guest User

Untitled

a guest
Dec 28th, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.37 KB | None | 0 0
  1.       <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
  2.         <soap:Header>
  3.           <wsa:Action wsu:Id="Id-8a775534-8776-4a49-8170-c2b9d10fab7a">CreateReceipt</wsa:Action>
  4.           <wsa:MessageID wsu:Id="Id-32de577b-eb49-46c9-bf74-af9127cca162">urn:uuid:251b1ac1-e3f8-44bb-ad7d-d52ec0263e3a</wsa:MessageID>
  5.           <wsa:ReplyTo wsu:Id="Id-154653db-dc59-49bb-bb9c-9b42c04b63ac">
  6.             <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
  7.           </wsa:ReplyTo>
  8.           <wsa:To wsu:Id="Id-a8946d9c-9133-4b94-b051-baf7e05a9c8d">https://myWebServiceAwesomeURL.com/Service</wsa:To>
  9.           <wsse:Security soap:mustUnderstand="1">
  10.             <wsu:Timestamp wsu:Id="Timestamp-f471d4e6-eb04-4f4f-8b75-08fc566d31af">
  11.               <wsu:Created>2012-12-27T20:27:00Z</wsu:Created>
  12.               <wsu:Expires>2012-12-27T20:28:00Z</wsu:Expires>
  13.             </wsu:Timestamp>
  14.             <wsse:BinarySecurityToken ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-dc857363-a7dd-44de-a0b9-ced022d5d90c">MIIDNjC...And so.</wsse:BinarySecurityToken>
  15.             <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-0df4339b-2662-43ca-990c-2b8d31543715">
  16.               <wsse:Username>darkUser</wsse:Username>
  17.               <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">blackKitty</wsse:Password>
  18.               <wsse:Nonce>vRH1XHH...And so.</wsse:Nonce>
  19.               <wsu:Created>2012-12-27T20:27:00Z</wsu:Created>
  20.             </wsse:UsernameToken>
  21.             <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  22.               <SignedInfo>
  23.                 <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" />
  24.                 <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
  25.                 <Reference URI="#Id-8a775534-8776-4a49-8170-c2b9d10fab7a">
  26.                   <Transforms>
  27.                     <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
  28.                   </Transforms>
  29.                   <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
  30.                   <DigestValue>lUJGXr...And so.</DigestValue>
  31.                 </Reference>
  32.                 <Reference URI="#Id-32de577b-eb49-46c9-bf74-af9127cca162">
  33.                   <Transforms>
  34.                     <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
  35.                   </Transforms>
  36.                   <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
  37.                   <DigestValue>kgZutJ...And so.</DigestValue>
  38.                 </Reference>
  39.                 <Reference URI="#Id-154653db-dc59-49bb-bb9c-9b42c04b63ac">
  40.                   <Transforms>
  41.                     <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
  42.                   </Transforms>
  43.                   <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
  44.                   <DigestValue>ScoDig...And so.</DigestValue>
  45.                 </Reference>
  46.                 <Reference URI="#Id-a8946d9c-9133-4b94-b051-baf7e05a9c8d">
  47.                   <Transforms>
  48.                     <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
  49.                   </Transforms>
  50.                   <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
  51.                   <DigestValue>3w1QI5yWRa...And so.</DigestValue>
  52.                 </Reference>
  53.                 <Reference URI="#Timestamp-f471d4e6-eb04-4f4f-8b75-08fc566d31af">
  54.                   <Transforms>
  55.                     <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
  56.                   </Transforms>
  57.                   <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
  58.                   <DigestValue>EOd4PbN...And so.</DigestValue>
  59.                 </Reference>
  60.                 <Reference URI="#Id-f1e17733-0c3c-4694-a768-cb8c06c25a38">
  61.                   <Transforms>
  62.                     <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
  63.                   </Transforms>
  64.                   <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
  65.                   <DigestValue>TsMOhkk...And so.</DigestValue>
  66.                 </Reference>
  67.               </SignedInfo>
  68.               <SignatureValue>nROIgCY...And so.</SignatureValue>
  69.               <KeyInfo>
  70.                 <wsse:SecurityTokenReference>
  71.                   <wsse:Reference URI="#SecurityToken-dc857363-a7dd-44de-a0b9-ced022d5d90c" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" />
  72.                 </wsse:SecurityTokenReference>
  73.               </KeyInfo>
  74.             </Signature>
  75.           </wsse:Security>
  76.         </soap:Header>
  77.         <soap:Body wsu:Id="Id-f1e17733-0c3c-4694-a768-cb8c06c25a38">
  78.           <request xmlns="https://myWebServiceAwesomeURL.com/Service">
  79.             <Header xmlns="java:com.myCompany.sdl.services.dto.request">
  80.               <DepositDate xmlns="java:com.myCompany.sdl.services.dto.common">2012-12-27T20:27:00.5854568Z</DepositDate>
  81.               <Hour xmlns="java:com.myCompany.sdl.services.dto.common">08:27 p.m.</Hour>
  82.               <User xmlns="java:com.myCompany.sdl.services.dto.common">oraclell</User>
  83.               <DepositCode xmlns="java:com.myCompany.sdl.services.dto.common">110011</DepositCode>
  84.             </Header>
  85.             <DocumentReceiptServiceDTO xmlns="java:com.myCompany.sdl.services.dto.request">
  86.             <fieldsAndStuff>Nothing but light here! :)</fieldsAndStuff>
  87.             </DocumentReceiptServiceDTO>
  88.           </request>
  89.         </soap:Body>
  90.       </soap:Envelope>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement