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 sa...@apache.org on 2005/12/14 10:37:37 UTC

svn commit: r356759 - in /webservices/axis2/trunk/c/modules/core/context/src: conf_ctx.c msg_ctx.c op_ctx.c svc_grp_ctx.c

Author: samisa
Date: Wed Dec 14 01:37:27 2005
New Revision: 356759

URL: http://svn.apache.org/viewcvs?rev=356759&view=rev
Log:
Fixed few bugs

Modified:
    webservices/axis2/trunk/c/modules/core/context/src/conf_ctx.c
    webservices/axis2/trunk/c/modules/core/context/src/msg_ctx.c
    webservices/axis2/trunk/c/modules/core/context/src/op_ctx.c
    webservices/axis2/trunk/c/modules/core/context/src/svc_grp_ctx.c

Modified: webservices/axis2/trunk/c/modules/core/context/src/conf_ctx.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/context/src/conf_ctx.c?rev=356759&r1=356758&r2=356759&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/src/conf_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/src/conf_ctx.c Wed Dec 14 01:37:27 2005
@@ -474,7 +474,7 @@
         return NULL;
     }
     
-    qname = AXIS2_SVC_GET_NAME(svc, env);
+    qname = AXIS2_SVC_GET_QNAME(svc, env);
     if (!qname)
     {
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_INVALID_STATE_SVC, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/context/src/msg_ctx.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/context/src/msg_ctx.c?rev=356759&r1=356758&r2=356759&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/src/msg_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/src/msg_ctx.c Wed Dec 14 01:37:27 2005
@@ -1743,7 +1743,7 @@
     if (svc)
     {
         AXIS2_INTF_TO_IMPL(msg_ctx)->svc = svc;
-        AXIS2_INTF_TO_IMPL(msg_ctx)->svc_qname = AXIS2_SVC_GET_NAME(svc, env);
+        AXIS2_INTF_TO_IMPL(msg_ctx)->svc_qname = AXIS2_SVC_GET_QNAME(svc, env);
     }
     
     return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/modules/core/context/src/op_ctx.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/context/src/op_ctx.c?rev=356759&r1=356758&r2=356759&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/src/op_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/src/op_ctx.c Wed Dec 14 01:37:27 2005
@@ -405,7 +405,7 @@
         {
             op_ctx_impl->op_ctx_map = AXIS2_CONF_CTX_GET_OP_CTX_MAP(conf_ctx, env);
         }
-        op_ctx_impl->svc_qname = AXIS2_SVC_GET_QNAME(op_ctx_impl->parent, env);
+        op_ctx_impl->svc_qname = AXIS2_SVC_GET_QNAME(AXIS2_SVC_CTX_GET_SVC(op_ctx_impl->parent, env), env);
     }
     
     return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/modules/core/context/src/svc_grp_ctx.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/context/src/svc_grp_ctx.c?rev=356759&r1=356758&r2=356759&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/src/svc_grp_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/src/svc_grp_ctx.c Wed Dec 14 01:37:27 2005
@@ -288,7 +288,7 @@
                     axis2_char_t *svc_name = NULL; 
                     svc = (axis2_svc_t*) next_svc;
                     svc_ctx = axis2_svc_ctx_create(env, svc, svc_grp_ctx);
-                    svc_name = AXIS2_QNAME_GET_LOCALPART(AXIS2_SVC_GET_NAME(svc, env), env);
+                    svc_name = AXIS2_QNAME_GET_LOCALPART(AXIS2_SVC_GET_QNAME(svc, env), env);
                     if (svc_name)
                         axis2_hash_set(svc_grp_ctx_impl->svc_ctx_map, svc_name, AXIS2_HASH_KEY_STRING, svc_ctx);
                 }