geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1101856 - /geronimo/server/trunk/plugins/axis2/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java
Date Wed, 11 May 2011 12:16:27 GMT
Author: xuhaihong
Date: Wed May 11 12:16:26 2011
New Revision: 1101856

URL: http://svn.apache.org/viewvc?rev=1101856&view=rev
Log:
Correct the condition for dertimining whether it is of addressing issue

Modified:
    geronimo/server/trunk/plugins/axis2/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java

Modified: geronimo/server/trunk/plugins/axis2/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/axis2/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java?rev=1101856&r1=1101855&r2=1101856&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/axis2/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java
(original)
+++ geronimo/server/trunk/plugins/axis2/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java
Wed May 11 12:16:26 2011
@@ -283,12 +283,9 @@ public abstract class Axis2WebServiceCon
             if (SOAP_1_1_FAULT_DETAIL_COMPATIBLE_WHEN_ADDRESSING_FAULTS && faultContext.isSOAP11())
{
                 Map faultInfo = (Map) faultContext.getLocalProperty(Constants.FAULT_INFORMATION_FOR_HEADERS);
                 if (faultInfo != null) {
-                    String faultHeaderQName = (String) faultInfo.get(Final.FAULT_HEADER_PROB_HEADER_QNAME);
-                    if (faultHeaderQName != null) {
-                        SOAPFault soapFault = faultContext.getEnvelope().getBody().getFault();
-                        if (soapFault != null && soapFault.getDetail() != null) {
-                            soapFault.getDetail().detach();
-                        }
+                    SOAPFault soapFault = faultContext.getEnvelope().getBody().getFault();
+                    if (soapFault != null && soapFault.getDetail() != null) {
+                        soapFault.getDetail().detach();
                     }
                 }
             }



Mime
View raw message