You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by Matheus Rezende <ma...@gmail.com> on 2008/05/16 19:49:53 UTC

Steps to implement Encryption using WSS4J

Hi There!


Im trying to implement security in a example Web Service im my computer
using WSS4J and Axis(im using tomcat 5.5). But i don't know what exactly i
need to do.

Here is what i've already done:

   - Created the implementation class;
   - Generated the wsdl file(using java2WSDL tool);
   - Generated the stub classes , the deploy.wsdd and the
   undeploy.wsdd(Using the wsdl2java tool);
   - Deployed the service(adminclient tool).


And im stuck at this step. What should i do? I need to encrypt the messages(
*not sign it, btw, is it possible just to encrypt without sign?*)

I've read a lot of tutorials in the web, but nothing helped me too much...


Could someone show me the way?

Thanks in advance

Cheers, Matheus