cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r831497 - /cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap11FaultOutInterceptor.java
Date Sat, 31 Oct 2009 00:58:50 GMT
Author: dkulp
Date: Sat Oct 31 00:58:49 2009
New Revision: 831497

URL: http://svn.apache.org/viewvc?rev=831497&view=rev
Log:
[CXF-2511] Fix for FAULT_STACKTRACE_ENABLED and no detail
Patch from Chris Dail applied.  Thanks!

Modified:
    cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap11FaultOutInterceptor.java

Modified: cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap11FaultOutInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap11FaultOutInterceptor.java?rev=831497&r1=831496&r2=831497&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap11FaultOutInterceptor.java
(original)
+++ cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap11FaultOutInterceptor.java
Sat Oct 31 00:58:49 2009
@@ -115,6 +115,7 @@
                         } else {
                             Element stackTrace = detail.getOwnerDocument().createElementNS(
                                     Soap11.SOAP_NAMESPACE, Fault.STACKTRACE);
+                            stackTrace.setTextContent(sb.toString());
                             detail.appendChild(stackTrace);
                         }                    
                     } catch (ParserConfigurationException pe) {



Mime
View raw message