Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.1.3
-
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