axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r628146 - /webservices/axis2/trunk/c/src/core/engine/ctx_handler.c
Date Fri, 15 Feb 2008 19:04:22 GMT
Author: damitha
Date: Fri Feb 15 11:04:17 2008
New Revision: 628146

URL: http://svn.apache.org/viewvc?rev=628146&view=rev
Log:
Adding log messages

Modified:
    webservices/axis2/trunk/c/src/core/engine/ctx_handler.c

Modified: webservices/axis2/trunk/c/src/core/engine/ctx_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/engine/ctx_handler.c?rev=628146&r1=628145&r2=628146&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/engine/ctx_handler.c (original)
+++ webservices/axis2/trunk/c/src/core/engine/ctx_handler.c Fri Feb 15 11:04:17 2008
@@ -102,8 +102,8 @@
     axis2_op_ctx_t *op_ctx = NULL;
     axis2_svc_grp_ctx_t *svc_grp_ctx = NULL;
 
-    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, msg_ctx, AXIS2_FAILURE);
+    AXIS2_LOG_TRACE(env->log, AXIS2_LOG_SI, "Entry:axis2_ctx_handler_invoke"); 
 
     op_ctx = axis2_msg_ctx_get_op_ctx(msg_ctx, env);
     svc_ctx = axis2_msg_ctx_get_svc_ctx(msg_ctx, env);
@@ -165,6 +165,8 @@
         op_ctx = axis2_op_ctx_create(env, op, NULL);
         if (!op_ctx)
         {
+            AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
+                "Operation context not found");
             return AXIS2_FAILURE;
         }
 
@@ -195,6 +197,11 @@
     }
 
     if (!svc_grp_ctx && (axis2_msg_ctx_get_server_side(msg_ctx, env)))
+    {
+        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
+            "Service group context not found"); 
         return AXIS2_FAILURE;
+    }
+    AXIS2_LOG_TRACE(env->log, AXIS2_LOG_SI, "Exit:axis2_ctx_handler_invoke"); 
     return AXIS2_SUCCESS;
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message