Re: How to override/modify a specific incoming SOAP header value?

2012-06-25 Thread Marco Pas
Hi Glen, thanks for your reply, i tried to code from the blog. But using CXF 2.6.1 i always seem to get a nullpointer on the line: SOAPMessage sm = message.getContent(SOAPMessage.class); the variable 'sm' always stays null..? So i tried some other things.. I was able to read the headers with s

Re: How to override/modify a specific incoming SOAP header value?

2012-06-25 Thread Glen Mazza
Interim solution, you can use a JAX-WS Handler or CXF interceptor (links 43-44: http://www.jroller.com/gmazza/entry/blog_article_index) to alter any part of the incoming SOAP message. There may be a simpler way--if wsa:address is kept in a context property you may be able to modify that value

How to override/modify a specific incoming SOAP header value?

2012-06-25 Thread Marco Pas
Hi there, i have a need for which i need to override a soap header value. In the receiving soap message there is a value like: http:///WSACallBackHandler I need to change the value of the wsa:Address field.. http://www.w3.org/2005/08/addressing/anonymous Can this be done? And i