This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Services and the fly likes Access to security headers in JAX-WS SOAPHandler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "Access to security headers in JAX-WS SOAPHandler" Watch "Access to security headers in JAX-WS SOAPHandler" New topic
Author

Access to security headers in JAX-WS SOAPHandler

Weston Everit
Greenhorn

Joined: Aug 11, 2010
Posts: 4
I want to implement SOAPHandler that will check if request contains all required security headers.

The "head" part of the request looks as follows:


I tried to get access to the seciurity header and I can't.

First way which I tried was:


Then I tried to correctly override getHeaders() method using QName objects (also does not work).


 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Access to security headers in JAX-WS SOAPHandler
 
It's not a secret anymore!