Hello all,
I'm using apache-servicemix-4.4.1-fuse-01-13
I have configured a CXF endpoint with WS-Security enabled.
For that, I have set the following interceptor :
<cxf:inInterceptors>
<ref bean="loggingInInterceptor" />
<ref bean="wss4jInInterceptor" />
</cxf:inInterceptors>
with an appropriate callback for checking the password.
It works fine when the right password is provided but when it's not, CXF raises a org.apache.ws.security.WSSecurityException and in my logs I can see the following error :
15:01:02,612 | | WARN | PhaseInterceptorChain | Interceptor for AdminOrderService#addDeliveryTypeToWorkPackage has thrown exception, unwinding now
java.lang.NullPointerException
* at org.apache.cxf.interceptor.FaultOutInterceptor.getFaultForClass(FaultOutInterceptor.java:163)[134:org.apache.cxf.bundle:2.4.3.fuse-00-13]*
Any idea where this message could come from and what I have to do in order to avoid it ?
Note that my CXF endpoint dataFormat is configured to "PAYLOAD" mode.
Thanks
Regards
Vincent