Hi all,

I am a newbie with WSS4J so maybe my questions could be a little silly and I am sorry about that...

I am using SOAP messages in a specific application but not in a Web application, I am using it in a context of an agent platform and we want to give the possibility to our agents to use SOAP messages. The basic communication patern with SOAP works well but now we want to develop it by using encryption for the communications. That's why I am interested in WSS4J. I am using some of the libraries given with Axis (saaj for the SOAP message generation) but I don't have any Web Service deployed and I am going to make my agents contacting a Web Service.

In fact I am wondering how can I use WSS4J in the purpose I've just exposed to you? I tried to use the simple SOAP message encryption which is described here http://ws.apache.org/wss4j/api.html but I have some strange errors like this one :

org.apache.ws.security.WSSecurityException: An unsupported signature or encryption algorithm was used (unsupported key transport encryption algorithm: no provider: http://www.w3.org/2001/04/xmlenc#rsa-1_5) at org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:896) at org.apache.ws.security.message.WSEncryptBody.build(WSEncryptBody.java:337)

I haven't done any special configuration of WSS4J, I am just using it with the basic configuration...

Can someone help me, or can someone give me some advices about the way to use WSS4J in my specific context?

Thank you,
Julien

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

Reply via email to