cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r743441 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java
Date Wed, 11 Feb 2009 18:23:39 GMT
Author: dkulp
Date: Wed Feb 11 18:23:39 2009
New Revision: 743441

URL: http://svn.apache.org/viewvc?rev=743441&view=rev
Log:
Setting a faultCode to an invalid value is silly

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

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java?rev=743441&r1=743440&r2=743441&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java (original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java Wed
Feb 11 18:23:39 2009
@@ -30,7 +30,6 @@
 import java.util.concurrent.TimeoutException;
 import java.util.logging.Logger;
 
-import javax.xml.namespace.QName;
 import javax.xml.soap.SOAPException;
 import javax.xml.soap.SOAPFault;
 import javax.xml.ws.AsyncHandler;
@@ -199,11 +198,6 @@
             }
 
         } else {
-            try {
-                soapFault.setFaultCode(new QName("http://cxf.apache.org/faultcode", "HandlerFault"));
-            } catch (SOAPException ex2) {
-                //ignore
-            }
             String msg = ex.getMessage();
             if (msg != null) {
                 soapFault.setFaultString(msg);



Mime
View raw message