AFAIK WebServiceContext is the medium used by JAX-WS Handlers to get
information to the SEI implementation, so I would look at the interceptors
which implement JAX-WS handlers for a clue.  Or, wait until Dan K or someone
else can answer your question more substantively.

If interceptors can't help you, you may be able to use JAX-WS handlers to
accomplish what you're trying to do otherwise.

HTH,
Glen


Colm O hEigeartaigh wrote:
> 
> Hi guys,
> 
> I have access to a javax.xml.ws.WebServiceContext object in an endpoint
> implementation. I have an "out" interceptor that does some processing on
> the outbound message. I need to pass some information through to the
> interceptor somehow from the endpoint implementation. At the moment I'm
> just getting a reference to the interceptor using:
> 
> org.apache.cxf.Bus.getOutInterceptors()
> 
> and setting some information directly on it, after the appropriate
> casting.
> 
> Instead I want to set some information possibly using
> WebServiceContext.getMessageContext().put(...). How can I get access to
> this via org.apache.cxf.message.Message in the interceptor, or what's
> the best way to do this?
> 
> Thanks,
> 
> Colm.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/CXF-WebServiceContext-question-tp20114927p20115281.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to