Hi Alberto,

Seems like the .NET client uses a key reference mechanism that is not
supported by WSS4J.

Can you please post the request message generated by the .NET client.

Thanks,
Ruchith

On 6/8/06, Acevedo, Alberto RDECOM CERDEC SED
<[EMAIL PROTECTED]> wrote:




Hello,



I have a java Web service running on Tomcat 1.5.15 and using wss4j version
1.5. The keystore I'm using is a pkcs12 generated with openssl. I'm able to
encrypt/decrypt the usernameToken using a java web client. When I use a .NET
client in Windows XP that is using the same keystore the web service fails
to decrypt and I get the following error:



Unexpected number of X509Data: for decryption (KeyId)



I read all the messages in this newsgroup and I found other members having
the same problem but no solutions. I suspect it has something to do with the
.NET configuration especially the Default Session Key Algorithm. How do I
configure .NET and the keystore to interoperate with a java web service?



After days trying to fix the problem I ran out of options. Hopefully it is
something vary basic that I'm not seing.



Please help,

Alberto



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to