|
Hi
all, I
would like to use WSS4J together with AXIS primarily to send soap requests with
Usernametokens and Binarytokens to Web Services built with ASP.NET and WSE 2.0,
but I’m new to WSS4J and I’ve only used AXIS to build pretty simple
SOAP clients. I’m having a hard time understanding how to use WSS4J, I’ve
tried a few things but it doesn’t work at all. As I
understand it there are 2 ways to define a handler for adding usernametoken,
either through a client.wsdd file or do it dynamically. I’ve created a
few AXIS web services before and understand the wsdd files in there, but how is
that supposed to work with a soap client? Besides, what I’m most interested
in is adding tokens dynamically in runtime, because I need to be able to set
different usernames and stuff like that. I
could paste in some code that I’ve tried, but maybe someone out there has
an article or something that explains how to use it? Perhaps as a simple
console application that has a WSDL2JAVA generated client stub and just adds a
usernametoken and calls a service? The test-code that comes with the WSS4J
package doesn’t seem to use WSDL2JAVA at all, but has the SOAP XML
request built up manually as a string… Thanks
for any help, |
- RE: tutorials or walkthroughs? Johan Danforth
- RE: tutorials or walkthroughs? Ted Toth
- Re: tutorials or walkthroughs? Davanum Srinivas
- RE: tutorials or walkthroughs? Ted Toth
- Re: tutorials or walkthroughs? Davanum Srinivas
- RE: tutorials or walkthroughs? Johan Danforth
- Re: tutorials or walkthroughs? Werner Dittmann
- RE: tutorials or walkthroug... Johan Danforth
- Using WSDD on the client si... Rami Jaamour
- Re: Using WSDD on the clien... Ashok Shah
- WSS4J Documentation Rami Jaamour
