Skip to main content

How to read the server-side components "WSSE: Security" with SOAPHeader?

No replies
bulli
Offline
Joined: 2010-05-01
Points: 0

How to read the server-side components "WSSE: Security" with SOAPHeader? Simply calling soapHeader.extractAllHeaderElements () does not contain this element. What you need to set / to be able to produce such a SOAPHeaderMessage.handleMessage (...) method to get to the elements WSSE: Security? I need it to be able to pass its contents such as "BinarySecurityToken" to other Web Services.
Maybe this is somehow different approaches by other classes or otherwise configure the webservice, how to do it?

For example:
The client sends a request to the form:

....

....

....

--------------------

However, the server SOAPMessageContext.writeTo (System.out) returns the contents of the request without elements "wsse:Security", why? how to capture the full content of a request header elements (SOAPHeader)

Message was edited by: bulli