-
1. Re: cxf InInterceptors annotation not working
mmusaji Dec 12, 2014 10:29 AM (in response to proofkyko)1 of 1 people found this helpfulMake 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.
-
2. Re: cxf InInterceptors annotation not working
proofkyko Dec 12, 2014 11:27 AM (in response to mmusaji)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 !!
-
3. Re: cxf InInterceptors annotation not working
mmusaji Dec 12, 2014 11:33 AM (in response to proofkyko)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
-
4. Re: cxf InInterceptors annotation not working
ulablue Sep 4, 2017 6:39 AM (in response to mmusaji)Thanks.
For the completeness of the answer
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.apache.cxf.impl" export="true" />
<module name="org.apache.cxf" export="true" />
</dependencies>
</deployment>
</jboss-deployment-structure>