This content has been marked as final.
Show 2 replies
-
1. Re: java.lang.ClassNotFoundException: org.apache.cxf.jaxws.context.WrappedMessageContext
asoldano May 7, 2014 10:11 AM (in response to aantoine)1 of 1 people found this helpful- JBoss EAP 5.1 uses JBossWS-Native implementation of JAX-WS, not Axis.
- JBoss EAP 6.1 uses JBossWS-CXF, which integrates Apache CXF for service JAX-WS functionalities.
- You can get the message context as follows, then *if* it's a SOAP message context, you can cast it to SOAPMessgeContext (but you might need to do that in a handler):
MessageContext msgContext = (MessageContext)wsCtx.getMessageContext();
- Any class from org.apache.cxf package is Apache CXF specific and hence requires proper module dependencies on server side; please have a look at the documentation to understand the difference between Maven dependencies and JBoss container module dependencies
-
2. Re: java.lang.ClassNotFoundException: org.apache.cxf.jaxws.context.WrappedMessageContext
aantoine May 7, 2014 10:15 AM (in response to asoldano)Thanks for your answer, i add a handler and the problem is solved.
Best regardes