You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Senthivel U S <se...@uaeexchange.com> on 2007/10/10 11:33:14 UTC

Signing a message

Greetings,

 

We have got the wsdl file and created Stub using WSDL2Java. We need to sign
the message using our certificate.  I find the following code  

 

            EngineConfiguration config = new
FileProvider("client_deploy.wsdd");

            Service service = new Service();

            

            stub.setProperty(WSHandlerConstants.ACTION,
WSHandlerConstants.SIGNATURE);

            stub.setProperty(WSHandlerConstants.SIG_PROP_FILE,
"client_crypto.properties");

            stub.setProperty(WSHandlerConstants.USER, "ceriticate alias name
to be given");

 

Please guide us how to do.

 

TIA,

-senthil