Two Laptop Bag*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Access to security headers in JAX-WS SOAPHandler
 
Similar Threads
Basic authentication soap header values?
Custom UsernameToken?
wsse wss4j with axis client
HeaderElements must be namespace qualified when create soap client
how to implement ws-security in soap request header