基于Web的电子商务解决方案(3)

王朝厨房·作者佚名  2007-01-02
宽屏版  字体: |||超大  

<?xml version="1.0" encoding="utf-8"?>

<S:Envelope xmlns:S="http://www.w3.org/2001/12/soap-envelope"

xmlns:ds="http://www.w3.org/2000/09/xmldsig#">

<S:Header>

<m:path xmlns:m="http://schemas.xmlsoap.org/rp/">

<m:action>http://fabrikam123.com/getQuote</m:action>

<m:to>http://fabrikam123.com/stocks</m:to>

<m:id>uuid:84b9f5d0-33fb-4a81-b02b-5b760641c1d6</m:id>

</m:path>

<wsse:Security

xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext">

<wsse:UsernameToken Id="MyID">

<wsse:Username>Zoe</wsse:Username>

</wsse:UsernameToken>

<ds:Signature>

<ds:SignedInfo>

<ds:CanonicalizationMethod

Algorithm=

"http://www.w3.org/2001/10/xml-exc-c14n#"/>

<ds:SignatureMethod

Algorithm=

"http://www.w3.org/2000/09/xmldsig#hmac-sha1"/>

<ds:Reference URI="#MsgBody">

<ds:DigestMethod

Algorithm=

"http://www.w3.org/2000/09/xmldsig#sha1"/>

<ds:DigestValue>LyLsF0Pi4wPU...</ds:DigestValue>

</ds:Reference>

</ds:SignedInfo>

<ds:SignatureValue>DJbchm5gK...</ds:SignatureValue>

<ds:KeyInfo>

<wsse:SecurityTokenReference>

<wsse:Reference URI="#MyID"/>

</wsse:SecurityTokenReference>

</ds:KeyInfo>

</ds:Signature>

</wsse:Security>

</S:Header>

<S:Body Id="MsgBody">

<tru:StockSymbol xmlns:tru="http://fabrikam123.com/payloads">

QQQ

</tru:StockSymbol>

</S:Body>

</S:Envelope>

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有