Thanks Ali,
But I am looking for a way to do that inside the Java Program
itself. I found that there are classes to add WS-Security extensions in
WSS4J but they all expect w3c.Document object and Axis2 works with Axiom
model. So the basic problem is to do it inside the program itself.
Anyways, thanks so much for replying.
Raghbir Singh
Ali Sadik Kumlali said the following on 05/16/06 15:24:
Hi Raghbir,
I hope following steps would help:
- WSDL2Java can also generate test client. You may use them.
- You should create a client_repo folder similar to the security sample
found under ...\axis2\samples\security\
- When running your test client, you need to pass
"-Daxis2.repo=client_repo" parameter.
Regards,
Ali Sadik Kumlali
--- Raghbir Singh <[EMAIL PROTECTED]> wrote:
Hello,
I was trying to find ways I could secure the Code Generated Stub
classes. I search through all Rampart tutorials but could not find
any
information how I can sign the outgoing message programmatically.
I shall be thankful for any information on using Rampart
programmatically with Code Generated (WSDL2Java generated) Axis2
Client Stubs.
Thanks a lot,
Raghbir Singh
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com