axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject svn commit: r354486 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java
Date Tue, 06 Dec 2005 18:10:23 GMT
Author: chathura
Date: Tue Dec  6 10:10:15 2005
New Revision: 354486

URL: http://svn.apache.org/viewcvs?rev=354486&view=rev
Log:
Changed the dispatching order such that dispatching happens with the following precedence.

1)WSA Action Based
2)SOAP Action Based
3)Request URI based
4)SOAP body based.

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

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java?rev=354486&r1=354485&r2=354486&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java
Tue Dec  6 10:10:15 2005
@@ -137,17 +137,17 @@
         AddressingBasedDispatcher add_dispatch = new AddressingBasedDispatcher();
         add_dispatch.initDispatcher();
         add_dispatch.getHandlerDesc().setParent(this);
-        dispatch.addHandler(add_dispatch, 0);
-
-        RequestURIBasedDispatcher uri_diaptch = new RequestURIBasedDispatcher();
-        uri_diaptch.getHandlerDesc().setParent(this);
-        uri_diaptch.initDispatcher();
-        dispatch.addHandler(uri_diaptch, 1);
+        dispatch.addHandler(add_dispatch, 0);       
 
         SOAPActionBasedDispatcher soapActionBased_dispatch = new SOAPActionBasedDispatcher();
         soapActionBased_dispatch.getHandlerDesc().setParent(this);
         soapActionBased_dispatch.initDispatcher();
-        dispatch.addHandler(soapActionBased_dispatch, 2);
+        dispatch.addHandler(soapActionBased_dispatch, 1);
+        
+        RequestURIBasedDispatcher uri_diaptch = new RequestURIBasedDispatcher();
+        uri_diaptch.getHandlerDesc().setParent(this);
+        uri_diaptch.initDispatcher();
+        dispatch.addHandler(uri_diaptch, 2);
 
         SOAPMessageBodyBasedDispatcher soapMessageBodybased_dispatch =
                 new SOAPMessageBodyBasedDispatcher();



Mime
View raw message