cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pop-sa <ehab.abdelwhab.atal...@gmail.com>
Subject Re: consuming secured .net asmx web service
Date Sun, 13 Oct 2013 09:50:06 GMT
Thank you colm this is sample of generated XML request.

<?xml version="1.0" encoding="UTF-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
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"><SOAP-ENV:Header
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><wsse:Security
soap:mustUnderstand="1"><wsse:UsernameToken
wsu:Id="UsernameToken-2"><wsse:Username>admin</wsse:Username><wsse:Nonce
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">p4BvdAgnhx08Eups2EApaQ==</wsse:Nonce><wsu:Created>2013-10-08T11:42:24.541Z</wsu:Created></wsse:UsernameToken><xenc:ReferenceList
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:DataReference
URI="#ED-7"/></xenc:ReferenceList><wsu:Timestamp
wsu:Id="TS-6"><wsu:Created>2013-10-08T11:42:24.653Z</wsu:Created><wsu:Expires>2013-10-08T11:47:24.653Z</wsu:Expires></wsu:Timestamp><ds:Signature
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
Id="SIG-4"><ds:SignedInfo><ds:CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces
xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="soap wsa wsse
wsu"/></ds:CanonicalizationMethod><ds:SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/><ds:Reference
URI="#id-3"><ds:Transforms><ds:Transform
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces
xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="wsa wsse
wsu"/></ds:Transform></ds:Transforms><ds:DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>WbVI/UiPpwduG9E+fA7YIdVGv/A=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>QzmstdjTaakoDzs/hI5nDFwzsrc=</ds:SignatureValue><ds:KeyInfo
Id="KI-5A23ADB75FC5F2D65113812325446323"><wsse:SecurityTokenReference
wsu:Id="STR-5A23ADB75FC5F2D65113812325446324"><wsse:Reference
URI="#UsernameToken-2"
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken"/></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></wsse:Security></SOAP-ENV:Header><soap:Body
wsu:Id="id-3"><xenc:EncryptedData
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="ED-7"
Type="http://www.w3.org/2001/04/xmlenc#Content"><xenc:EncryptionMethod
Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/><ds:KeyInfo
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><wsse:SecurityTokenReference><wsse:Reference
URI="#UsernameToken-2"
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken"/></wsse:SecurityTokenReference></ds:KeyInfo><xenc:CipherData><xenc:CipherValue>9lt2w27Pr7uwWE5w5s9djWPAoHrhhbVl2O3Mf9hacPPiEFEaCqjuc1hAhw1QHtu/3JaVDAHfIaovstz4L6XOch2mfeoEeTUmkqvCLayEsjJ9L1HFoIwkXhT5miPDkWcJFxwDjkJTmizZQmTY2Sbu9Z8kxADw5elS4aWhNA9xJGQ=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData></soap:Body></soap:Envelope>



--
View this message in context: http://cxf.547215.n5.nabble.com/consuming-secured-net-asmx-web-service-tp5734806p5735002.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Mime
View raw message