JAX-WS Consuming web service with WS-Security and WS-Addressing

Posted by aurealus on Stack Overflow See other posts from Stack Overflow or by aurealus
Published on 2009-03-30T22:15:52Z Indexed on 2010/06/18 7:03 UTC
Read the original article Hit count: 566

Filed under:
|
|
|
|

I'm trying to develop a standalone Java web service client with JAX-WS (Metro) that uses WS-Security with Username Token Authentication (Password digest, nonces and timestamp) and timestamp verification along with WS-Addressing over SSL.

The WSDL I have to work with does not define any security policy information. I have been unable to figure out exactly how to add this header information (the correct way to do so) when the WSDL does not contain this information. Most examples I have found using Metro revolve around using Netbeans to automatically generate this from the WSDL which does not help me at all. I have looked into WSIT, XWSS, etc. without much clarity or direction. JBoss WS Metro looked promising not much luck yet there either.

Anyone have experience doing this or have suggestions on how to accomplish this task? Even pointing me in the right direction would be helpful. I am not restricted to a specific technology other than it must be Java based.

© Stack Overflow or respective owner

Related posts about java

Related posts about web-services