You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2008/04/15 13:30:55 UTC

svn commit: r648213 - /incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java

Author: seanoc
Date: Tue Apr 15 04:30:53 2008
New Revision: 648213

URL: http://svn.apache.org/viewvc?rev=648213&view=rev
Log:
Fix for https://issues.apache.org/jira/browse/CXF-1466

Modified:
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java?rev=648213&r1=648212&r2=648213&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java (original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java Tue Apr 15 04:30:53 2008
@@ -185,7 +185,7 @@
 
             if (exp != null) {
                 getConduitSelector().complete(exchange);
-                if (getBinding() instanceof SOAPBinding) {
+                if (getBinding() instanceof SOAPBinding && exp instanceof Fault) {
                     try {
                         SOAPFault soapFault = SOAPFactory.newInstance().createFault();
                         Fault fault = (Fault)exp;