0 Replies Latest reply on Nov 20, 2017 5:37 AM by Ulab S

    CXF faultlistener in Wildfly

    Ulab S Newbie



      I have need to specify the custom implementation of CXF `FaultListener` in the webservice. The CXF provides following option to do that.


      public class MyFaultListener implements org.apache.cxf.logging.FaultListener{



      <entry key="org.apache.cxf.logging.FaultListener">
      <ref bean="myfaultListener" />



      But apparently the JBossWS-CXF stack does not take this property in to account. Infact, the cxf-servlet.xml itself is not used by the stack.

      How can I write/define the custom fault listener for CXF in wildfly ?


      I can see the `jboss-webservices.xml` supports  <property> but it is limited to interceptors. Is there property support for defining `FaultListener` ?

      jbossws-cxf/Constants.java at master · jbossws/jbossws-cxf · GitHub