In a JAX-WS service, if you add a field like:
@Resource
WebServiceContext context;

The context will get injected into your service. From there, you can query and properties that you set on the message object in an interceptor.

Dan


On May 30, 2008, at 9:38 PM, bgbraga wrote:


Hi,

I need to get the username of soapheader (interceptor) and send to my
web-services class.

How to implement this communication in cxf? There is some message context
for this?

I used org.apache.axis.MessageContext class in axis.how to send an attribute
of interceptor to web-services operation?
--
View this message in context: 
http://www.nabble.com/how-to-send-an-attribute-of-interceptor-to-web-services-operation--tp17570751p17570751.html
Sent from the cxf-user mailing list archive at Nabble.com.


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




Reply via email to