You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Ryan Bell <ry...@messagecast.net> on 2004/04/07 20:42:31 UTC
problem calling .net service from axis client with WSS4J, what am I missing?
Hello, I'm having trouble getting a .net service to recognize the
digital signature I'm sending out from my client. It's seems to not be
seeing the signature at all as the response I get back is an exception
'No digital signature found in the SOAP header'. Looking through the
mailing list I see that WSS4J successfully interoperates with .net so
I'm wondering what I'm doing wrong. Here's the header info I send out:
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1"
xmlns:wsse="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-
wssecurity-secext-1.0.xsd">
<wsse:BinarySecurityToken
EncodingType="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-ws
s-wssecurity-secext-1.0.xsd#Base64Binary"
ValueType="http://www.docs.oasis-open.org/wss/2003/12/oasis-200401-wss-x
509-token-profile-1.0#X509v3" wsu:Id="id--134780"
xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w
ssecurity-utility-1.0.xsd">
...
</wsse:BinarySecurityToken>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#id-4799946">
<ds:Transforms>
<ds:Transform
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transforms>
<ds:DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:DigestValue>6fQnXhyQ0W403Yuu0wGKGlyxsxg=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>
Fh3OiA89Nwo3HIgC07wbGCE8nZx1652OvEvb4i409+k4Oah4lXITao+jsMUVOFoDFpt7pi0l
LRrR
l116KegU4aQjLzn6TRn9bajP8P7w8B2Aob/UH8HoX71zzC6bQ6vS5y6kzwifmyp/1IeEeMvd
NRdd
Z/o77Q8L/u/l4wNdsmo=
</ds:SignatureValue>
<ds:KeyInfo Id="id-22746539">
<wsse:SecurityTokenReference>
<wsse:Reference URI="#id--134780"/>
</wsse:SecurityTokenReference>
</ds:KeyInfo>
</ds:Signature>
<wsu:Timestamp
xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w
ssecurity-utility-1.0.xsd">
<wsu:Created>
2004-04-02T22:55:36Z
</wsu:Created>
</wsu:Timestamp>
</wsse:Security>
</soapenv:Header>
Thanks for any help,
Ryan