Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6919

{http://cxf.apache.org/faultcode}HandleFault is not a standard Code value

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.0.13, 3.1.11
    • Component/s: JAX-WS Runtime
    • Labels:
      None
    • Environment:

      Mac OS, Java 7

    • Estimated Complexity:
      Unknown

      Description

      Hi team,

      This might not be a bug but I definitely could use some advice on the error below, am I missing some initializations? Thanks a lot!

      As a result of a JTA transaction timeout, my code gets to SOAPHandlerFaultOutInterceptor.java:170
      SAAJUtils.setFaultCode(soapFault,
      new QName("http://cxf.apache.org/faultcode", "HandleFault"));

      This code seems to always throw an exception for soap.ver1_2:
      "http://cxf.apache.org/faultcode}HandleFault is not a standard Code value"

      The exception is caught and printed. The flow is below.

      It goes to SAAJUtils.java:48:
      f.setFaultCode(pfx + ":" + code.getLocalPart());

      Next to com.sun.xml.internal.messaging.saaj.soap.impl.FaultImpl, in setFaultCode(String faultCode, String prefix, String uri) at line 106:
      this.checkIfStandardFaultCode(faultCode, uri);

      checkIfStandardFaultCode() has two implementations for soap.ver1_1(does nothing) and soap.ver1_2.

      checkIfStandardFaultCode from soap.ver1_2 throws the error: "http://cxf.apache.org/faultcode}HandleFault is not a standard Code value"

      SEVERE: SAAJ0435:

      {http://cxf.apache.org/faultcode}

      HandleFault is not a standard Code value

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              idragusa Ioana Dragusanu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: