You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Ioana Dragusanu (JIRA)" <ji...@apache.org> on 2016/05/25 22:23:12 UTC

[jira] [Created] (CXF-6919) {http://cxf.apache.org/faultcode}HandleFault is not a standard Code value

Ioana Dragusanu created CXF-6919:
------------------------------------

             Summary: {http://cxf.apache.org/faultcode}HandleFault is not a standard Code value
                 Key: CXF-6919
                 URL: https://issues.apache.org/jira/browse/CXF-6919
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 3.1.3
         Environment: Mac OS, Java 7
            Reporter: Ioana Dragusanu


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 





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)