Suddenly we are getting NPE for WebServiceContext instance in code that has
not changed before or after the Karaf 3.0.3 upgrade (culprit most likely is
cxf 3.0.4).  This is causing a web service call from web client to fail. 

We are using following code: 

javax.xml.ws.WebServiceContext foo; 

Considering replacing with following code (as we really only need
MessageContext to get HTTP request headers): 

@Resource 
javax.xml.ws.handler.MessageContext foo; 

http://t80463.apache-cxf-user.apachetalks.us/webservicecontext-is-null-t80463.html

@Context is specific to JAXRS and this is a SOAP WS, so out of scope.

any help appreciated.  thx.



--
View this message in context: 
http://cxf.547215.n5.nabble.com/WebServiceContext-is-null-after-upgrading-to-Karaf-3-0-3-tp5757099.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to