You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by gd...@apache.org on 2007/06/07 23:52:13 UTC
svn commit: r545327 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/AxisFault.java
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