axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From din...@apache.org
Subject svn commit: r642682 - in /webservices/axis2/trunk/c/src/core: clientapi/op_client.c description/op.c
Date Sun, 30 Mar 2008 04:50:21 GMT
Author: dinesh
Date: Sat Mar 29 21:50:17 2008
New Revision: 642682

URL: http://svn.apache.org/viewvc?rev=642682&view=rev
Log:
fixed error logs in client side, make correction to log levels

Modified:
    webservices/axis2/trunk/c/src/core/clientapi/op_client.c
    webservices/axis2/trunk/c/src/core/description/op.c

Modified: webservices/axis2/trunk/c/src/core/clientapi/op_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/clientapi/op_client.c?rev=642682&r1=642681&r2=642682&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/clientapi/op_client.c (original)
+++ webservices/axis2/trunk/c/src/core/clientapi/op_client.c Sat Mar 29 21:50:17 2008
@@ -1207,12 +1207,7 @@
         property = NULL;
     }
 
-    if (op)
-    {
-        axis2_op_register_op_ctx(op,
-                                 env, response,
-                                 axis2_msg_ctx_get_op_ctx(msg_ctx, env));
-    }
+
     axis2_msg_ctx_set_server_side(response, env, AXIS2_FALSE);
     axis2_msg_ctx_set_conf_ctx(response, env,
                                axis2_msg_ctx_get_conf_ctx(msg_ctx, env));
@@ -1225,6 +1220,14 @@
                                  axis2_msg_ctx_get_doing_rest(msg_ctx, env));
     axis2_msg_ctx_set_status_code (response, env, 
                                    axis2_msg_ctx_get_status_code (msg_ctx, env));
+
+    if (op)
+    {
+        axis2_op_register_op_ctx(op,
+                                 env, response,
+                                 axis2_msg_ctx_get_op_ctx(msg_ctx, env));
+    }
+
     /* set response envelope */
     if (engine)
     {

Modified: webservices/axis2/trunk/c/src/core/description/op.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/description/op.c?rev=642682&r1=642681&r2=642682&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/description/op.c (original)
+++ webservices/axis2/trunk/c/src/core/description/op.c Sat Mar 29 21:50:17 2008
@@ -1106,7 +1106,7 @@
 
         if (!op_ctx)
         {
-            AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
+            AXIS2_LOG_WARNING(env->log, AXIS2_LOG_SI,
                 "Cannot correlate message to %s for operation %s", value, opname);
             AXIS2_ERROR_SET(env->error, AXIS2_ERROR_CANNOT_CORRELATE_MSG,
                 AXIS2_FAILURE);
@@ -1145,7 +1145,8 @@
     msg_id = axis2_msg_ctx_get_msg_id(msg_ctx, env);
     if (!msg_id)
     {
-        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
+
+        AXIS2_LOG_WARNING(env->log, AXIS2_LOG_SI, 
             "Message id not found for message context while "\
             "registering operation context for operation %s", opname);
         return AXIS2_FAILURE;



---------------------------------------------------------------------
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