1 of 1 people found this helpful
Make sure you include a dependency to org.apache.cxf.impl and org.apache.cxf in your deployment. Either via jboss-deployment-structure.xml or in the MANIFEST.
I made it work finally, was going to report it here but you antecipated me Thanks a lot man, it was the .impl that was missing actually. Do you know of anyway I can send for example a variable from interceptor to webservice which called it ? Sorry for te offtopic but you were the only one who helped !!
You can add to the SOAPMessage I believe. In the handleMessage method of your interceptor. See http://cxf.apache.org/docs/interceptors.html for an idea. But basically I suspect you want to do something like this http://stackoverflow.com/questions/6915428/how-to-modify-the-raw-xml-message-of-an-outbound-cxf-request
For the completeness of the answer
<?xml version="1.0" encoding="UTF-8"?>
<module name="org.apache.cxf.impl" export="true" />
<module name="org.apache.cxf" export="true" />