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 da...@apache.org on 2006/01/23 06:41:39 UTC

svn commit: r371467 - /webservices/axis2/trunk/c/modules/core/engine/conf.c

Author: damitha
Date: Sun Jan 22 21:41:30 2006
New Revision: 371467

URL: http://svn.apache.org/viewcvs?rev=371467&view=rev
Log:
Fixed the bug of loaind only addressing based dispatcher

Modified:
    webservices/axis2/trunk/c/modules/core/engine/conf.c

Modified: webservices/axis2/trunk/c/modules/core/engine/conf.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/conf.c?rev=371467&r1=371466&r2=371467&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/conf.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/conf.c Sun Jan 22 21:41:30 2006
@@ -1555,13 +1555,14 @@
     add_dispatch = axis2_addr_disp_create(env);
     if(!add_dispatch)
     {
+        AXIS2_PHASE_FREE(dispatch, env);
         return AXIS2_FAILURE;
     }
     handler = AXIS2_DISP_GET_BASE(add_dispatch, env);
     AXIS2_PHASE_ADD_HANDLER_AT(dispatch, env, 0, handler);
     handler = NULL;
     
-    uri_dispatch = axis2_addr_disp_create(env);
+    uri_dispatch = axis2_req_uri_disp_create(env);
     if(!uri_dispatch)
     {
         return AXIS2_FAILURE;
@@ -1570,7 +1571,7 @@
     AXIS2_PHASE_ADD_HANDLER_AT(dispatch, env, 1, handler);
     handler = NULL;
     
-    soap_action_based_dispatch = axis2_addr_disp_create(env);
+    soap_action_based_dispatch = axis2_soap_action_disp_create(env);
     if(!soap_action_based_dispatch)
     {
         return AXIS2_FAILURE;
@@ -1579,7 +1580,7 @@
     AXIS2_PHASE_ADD_HANDLER_AT(dispatch, env, 2, handler);
     handler = NULL;
     
-    soap_msg_body_based_dispatch = axis2_addr_disp_create(env);
+    soap_msg_body_based_dispatch = axis2_soap_body_disp_create(env);
     if(!soap_msg_body_based_dispatch)
     {
         return AXIS2_FAILURE;