You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by Deepal jayasinghe <de...@gmail.com> on 2007/10/11 08:11:13 UTC

[Fwd: Signing a message]

Ruchith ,
Do you have any idea about this ?

Thanks
Deepal

-------- Original Message --------
Subject: 	Signing a message
Date: 	Wed, 10 Oct 2007 13:33:14 +0400
From: 	Senthivel U S <se...@uaeexchange.com>
Reply-To: 	axis-user@ws.apache.org
To: 	<ax...@ws.apache.org>



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


-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"