axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r470272 - /webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c
Date Thu, 02 Nov 2006 08:29:51 GMT
Author: damitha
Date: Thu Nov  2 00:29:50 2006
New Revision: 470272

URL: http://svn.apache.org/viewvc?view=rev&rev=470272
Log:
Addeing in message context to the operation context as well

Modified:
    webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c

Modified: webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c?view=diff&rev=470272&r1=470271&r2=470272
==============================================================================
--- webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c Thu Nov  2 00:29:50 2006
@@ -408,7 +408,7 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, msg_ctx, AXIS2_FAILURE);
-
+        
     out_msg_ctx = axis2_core_utils_create_out_msg_ctx(env, msg_ctx);
     if (!out_msg_ctx)
     {
@@ -421,8 +421,13 @@
         AXIS2_MSG_CTX_FREE(out_msg_ctx, env);
         return AXIS2_FAILURE;
     }
+    
     status = AXIS2_OP_CTX_ADD_MSG_CTX(op_ctx, env, out_msg_ctx);
-    if (AXIS2_SUCCESS != status)
+    /* test code */
+    if(status)
+        status = AXIS2_OP_CTX_ADD_MSG_CTX(op_ctx, env, msg_ctx);
+    /* end test code */
+    if (!status)
     {
         axis2_core_utils_reset_out_msg_ctx(env, out_msg_ctx);
         AXIS2_MSG_CTX_FREE(out_msg_ctx, env);



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