Unfortunately, until CXF-1654 (https://issues.apache.org/jira/browse/CXF-1654) 
is resolved, there isn't a message context accessible for the Simple frontend 
clients.  :-(

The only way to do it is to add a CXF interceptor to the chain that would set 
it.   To get it from your code to the interceptor, you would need to use a 
thread local or similar.   

Dan



On Monday 08 September 2008 4:04:45 pm Dennis Kieselhorst wrote:
> Hi,
>
> I want to add a soap header the "CXF proprietary way" as mentioned in the
> FAQ
> (http://cxf.apache.org/faq.html#FAQ-HowcanIaddsoapheaderstotherequest%252Fr
>e sponse%253F) but I'm using the simple frontend.
>
> As I don't want to have this header in my wsdl, the jax-ws OutofBandHeader
> example from Ulhas Bhole
> (http://www.nabble.com/Add-SOAP-HEADER-value-to11710546.html) seems to fit
> my needs. Is it possible to do something similar with the simple frontend?
>
>
> Regards,
>
> Dennis



-- 
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to