axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r375874 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisEngine.java
Date Wed, 08 Feb 2006 06:43:42 GMT
Author: dims
Date: Tue Feb  7 22:43:40 2006
New Revision: 375874

URL: http://svn.apache.org/viewcvs?rev=375874&view=rev
Log:
use the correct constants class

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisEngine.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisEngine.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisEngine.java?rev=375874&r1=375873&r2=375874&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisEngine.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisEngine.java
Tue Feb  7 22:43:40 2006
@@ -99,12 +99,12 @@
                 if (role != null) {
                     if (!SOAP12Constants.SOAP_ROLE_NEXT.equals(role)) {
                         throw new AxisFault("Must Understand check failed",
-                                SOAP11Constants.FAULT_CODE_MUST_UNDERSTAND);
+                                SOAP12Constants.FAULT_CODE_MUST_UNDERSTAND);
                     }
                 } else {
                     // This is the ultimate receiver, throw an error.
                     throw new AxisFault("Must Understand check failed",
-                            SOAP11Constants.FAULT_CODE_MUST_UNDERSTAND);
+                            SOAP12Constants.FAULT_CODE_MUST_UNDERSTAND);
                 }
             } else {
 
@@ -112,7 +112,7 @@
                 // it to be NEXT
                 if ((role != null) && !SOAP11Constants.SOAP_ACTOR_NEXT.equals(role))
{
                     throw new AxisFault("Must Understand check failed",
-                            SOAP12Constants.FAULT_CODE_MUST_UNDERSTAND);
+                            SOAP11Constants.FAULT_CODE_MUST_UNDERSTAND);
                 }
             }
         }



Mime
View raw message