You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by da...@apache.org on 2008/06/13 13:08:35 UTC

svn commit: r667473 - in /webservices/sandesha/trunk/c/src/util: ack_mgr.c sandesha2_utils.c

Author: damitha
Date: Fri Jun 13 04:08:34 2008
New Revision: 667473

URL: http://svn.apache.org/viewvc?rev=667473&view=rev
Log: (empty)

Modified:
    webservices/sandesha/trunk/c/src/util/ack_mgr.c
    webservices/sandesha/trunk/c/src/util/sandesha2_utils.c

Modified: webservices/sandesha/trunk/c/src/util/ack_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/util/ack_mgr.c?rev=667473&r1=667472&r2=667473&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/util/ack_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/util/ack_mgr.c Fri Jun 13 04:08:34 2008
@@ -98,6 +98,8 @@
     }*/
 
     ack_msg_ctx = sandesha2_utils_create_new_related_msg_ctx(env, ref_rm_msg, ref_op);
+    /*op_ctx = axis2_msg_ctx_get_op_ctx(ref_msg, env);
+    axis2_msg_ctx_set_op_ctx(ack_msg_ctx, env, op_ctx);*/
 
     property = axutil_property_create_with_args(env, AXIS2_SCOPE_REQUEST, 
         AXIS2_FALSE, 0, AXIS2_VALUE_TRUE);
@@ -121,9 +123,6 @@
     /* Adding the sequence acknowledgement part */
     sandesha2_msg_creator_add_ack_msg(env, ack_rm_msg, seq_id, seq_prop_mgr);
     axis2_msg_ctx_set_property(ack_msg_ctx, env, AXIS2_TRANSPORT_IN, NULL);
-    op_ctx = axis2_msg_ctx_get_op_ctx(ref_msg, env);
-    axis2_msg_ctx_set_op_ctx(ack_msg_ctx, env, op_ctx);
-    axis2_op_ctx_increment_ref(op_ctx, env);
 
     /*if(!op_ctx)
     {
@@ -133,6 +132,8 @@
         axis2_msg_ctx_set_op(ref_msg, env, op);
         axis2_msg_ctx_set_op_ctx(ref_msg, env, op_ctx);            
     }*/
+
+    op_ctx = axis2_msg_ctx_get_op_ctx(ref_msg, env);
     axis2_op_ctx_set_response_written(op_ctx, env, AXIS2_TRUE);
     
     property = axutil_property_create_with_args(env, AXIS2_SCOPE_REQUEST, 

Modified: webservices/sandesha/trunk/c/src/util/sandesha2_utils.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/util/sandesha2_utils.c?rev=667473&r1=667472&r2=667473&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/util/sandesha2_utils.c (original)
+++ webservices/sandesha/trunk/c/src/util/sandesha2_utils.c Fri Jun 13 04:08:34 2008
@@ -604,8 +604,9 @@
         svc_grp_ctx = axis2_msg_ctx_get_svc_grp_ctx(new_msg, env);
         svc_ctx = axis2_svc_ctx_create(env, axis_svc, svc_grp_ctx);
     }
-    op_ctx = axis2_op_ctx_create(env, op, axis2_msg_ctx_get_svc_ctx(new_msg, 
-        env));
+    /*op_ctx = axis2_op_ctx_create(env, op, axis2_msg_ctx_get_svc_ctx(new_msg, env));*/
+    op_ctx = axis2_msg_ctx_get_op_ctx(ref_msg, env);
+    axis2_op_ctx_increment_ref(op_ctx, env);
     axis2_msg_ctx_set_op_ctx(new_msg, env, op_ctx);
     
     soap_env = axiom_soap_envelope_create_default_soap_envelope(env, 



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