svn commit: r702405 - in /webservices/sandesha/trunk/c: include/sandesha2_constants.h src/util/ack_mgr.c
[email protected] Tue, 07 Oct 2008 09:14:34 -0000
Newsgroups
gmane.comp.apache.webservices.fx.devel
Message-ID
<[email protected] >
Author: damitha
Date: Tue Oct 7 02:14:33 2008
New Revision: 702405
URL: http://svn.apache.org/viewvc?rev=702405&view=rev
Log:
Adding rampart context to the acknowledgement message
Modified:
webservices/sandesha/trunk/c/include/sandesha2_constants.h
webservices/sandesha/trunk/c/src/util/ack_mgr.c
Modified: webservices/sandesha/trunk/c/include/sandesha2_constants.h
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/include/sandesha2_constants.h?rev=702405&r1=702404&r2=702405&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/include/sandesha2_constants.h (original)
+++ webservices/sandesha/trunk/c/include/sandesha2_constants.h Tue Oct 7 02:14:33 2008
@@ -541,6 +541,7 @@
#define SANDESHA2_MODULE "sandesha2"
#define SANDESHA2_ISOLATED_LAST_MSG "isolated_last_msg"
#define SANDESHA2_PROPERTY_STRING "propstr"
+ #define RAMPART_CONTEXT "RampartContext"
/** @} */
#ifdef __cplusplus
}
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=702405&r1=702404&r2=702405&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/util/ack_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/util/ack_mgr.c Tue Oct 7 02:14:33 2008
@@ -83,6 +83,9 @@
}
ack_msg_ctx = sandesha2_utils_create_new_related_msg_ctx(env, ref_rm_msg);
+ property = axis2_msg_ctx_get_property(ref_msg, env, RAMPART_CONTEXT);
+ axis2_msg_ctx_set_property(ack_msg_ctx, env, RAMPART_CONTEXT, property);
+
property = axutil_property_create_with_args(env, AXIS2_SCOPE_REQUEST,
AXIS2_FALSE, 0, AXIS2_VALUE_TRUE);
if(property)