0 Replies Latest reply on Jul 19, 2012 9:21 AM by Vincent Mahe

    CXF with WS-Security : issue in FaultOutInterceptor.getFaultForClass()

    Vincent Mahe Newbie

      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 :


        <ref bean="loggingInInterceptor" />

        <ref bean="wss4jInInterceptor" />



      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


      *     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.