This is confusing. Your class DemoCXF is a web service (@WebService annotation) yet it does web service client API stuff as if it wanted send a request to the web service. You cannot add the server interceptors using the client side API.
If you want to configure an InInterceptor or an OutInterceptor on the server side, you can use the @InInterceptors and @OutInterceptors annotations on the web service implementation class (server side). On JBoss EAP 6.0.0 (JBoss AS 7.1.2, with CXF 2.4.6), this is working for me while on JBoss EAP 6.0.1 (CXF 2.4.9) it isn't working anymore. I guess more it's a JBoss issue than a CXF issue, though I'm not sure. Dirk -------------------------------------------------------- DATAGROUP BGS GmbH Dirk Lattermann Auf den Tongruben 3 D-53721 Siegburg Fon: +49 2241 166-531 Fax: +49 2241 166-680 E-Mail: [email protected] http://www.datagroup.de Sie finden uns auch auf: Facebook<https://www.facebook.com/#!/datagroupag/> | Xing<https://www.xing.com/companies/datagroupag/updates/> | Google+<https://plus.google.com/s/datagroup#112017044868465108697/posts> | LinkedIn<http://www.linkedin.com/company/datagroup-ag/> | Kununu<http://www.kununu.com/de/all/de/it/datagroup/> Geschäftsführung: Hans-Hermann Schaber Amtsgericht Mainz, HRB 44217 DATAGROUP ist als einer von wenigen IT-Dienstleistern zertifiziert nach ISO 20000, der höchstmöglichen Auszeichnung für professionelles IT Service Management.
