axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject svn commit: r545327 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/AxisFault.java
Date Thu, 07 Jun 2007 21:52:13 GMT
Author: gdaniels
Date: Thu Jun  7 14:52:12 2007
New Revision: 545327

URL: http://svn.apache.org/viewvc?view=rev&rev=545327
Log:
One more time... DOOM wasn't the culprit after all! :)

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/AxisFault.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/AxisFault.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/AxisFault.java?view=diff&rev=545327&r1=545326&r2=545327
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/AxisFault.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/AxisFault.java Thu Jun
 7 14:52:12 2007
@@ -202,21 +202,8 @@
         }
 
         if (soapFaultCode != null) {
-
-            /////////////////////////////////
-            // This code should be replaced by the paragraph after it - but DOOM needs to
be fixed
-            // first.
-            /////////////////////////////////
-            if(soapFaultReason.getNamespace() != null &&
-                    soapFaultReason.getNamespace().getNamespaceURI().equals(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI))
{
-                faultCode = soapFaultCode.getValue().getTextAsQName();
-            } else {
-                faultCode = soapFaultCode.getTextAsQName();
-            }
-            /////////////////////////////////
-
-//            // This works the same regardless of SOAP version
-//            faultCode = soapFaultCode.getTextAsQName();
+            // This works the same regardless of SOAP version
+            faultCode = soapFaultCode.getTextAsQName();
 
             SOAPFaultSubCode subCode = soapFaultCode.getSubCode();
             if (subCode != null) {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message