|
Johan, Currently some compatibility issues exist with WSS4J and .Net WSE 2.0 for example: The problem exists with signed messages coming from the Java SDK to the .NET SDK when dealing with a SAML Assertion that has been signed. Microsoft requires that the saml:AssertionID be the ID that is being used when referencing a signed element. Right now, the Java SDK adds a wsu:Id based on the WS-Security specification to reference the signed elements.
I have tried unsuccessfully to generate interest in addressing interoperability issues. However if enough of us show interest maybe things will start to happen.
Ted
From: Johan Danforth [mailto:[EMAIL PROTECTED]
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, |
- 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
- RE: WSS4J Documentation Johan Danforth
