axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r1426439 - /axis/axis2/c/core/trunk/src/modules/mod_addr/addr_out_handler.c
Date Fri, 28 Dec 2012 09:22:48 GMT
Author: nandika
Date: Fri Dec 28 09:22:48 2012
New Revision: 1426439

URL: http://svn.apache.org/viewvc?rev=1426439&view=rev
Log:
Added missing setting of  service group context id

Modified:
    axis/axis2/c/core/trunk/src/modules/mod_addr/addr_out_handler.c

Modified: axis/axis2/c/core/trunk/src/modules/mod_addr/addr_out_handler.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/modules/mod_addr/addr_out_handler.c?rev=1426439&r1=1426438&r2=1426439&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/modules/mod_addr/addr_out_handler.c (original)
+++ axis/axis2/c/core/trunk/src/modules/mod_addr/addr_out_handler.c Fri Dec 28 09:22:48 2012
@@ -399,6 +399,18 @@ axis2_addr_out_handler_invoke(
         svc_group_context_id = axutil_string_get_buffer(axis2_msg_ctx_get_svc_grp_ctx_id(msg_ctx,
             env), env);
 
+		if(svc_group_context_id) 
+		{
+			axiom_node_t *node = NULL;
+			axiom_element_t *element = NULL;
+			axutil_qname_t *qname = axutil_qname_create(env, AXIS2_SVC_GRP_ID, AXIS2_NAMESPACE_URI,
+            AXIS2_NAMESPACE_PREFIX);
+			element = axiom_element_create_with_qname(env, NULL, qname, &node);
+			axiom_element_set_text(element, env, svc_group_context_id, node);
+			axis2_endpoint_ref_add_ref_param(epr_reply_to, env, node);
+			axutil_qname_free(qname, env);
+		}
+
         axis2_addr_out_handler_add_to_soap_header(env, epr_reply_to, AXIS2_WSA_REPLY_TO,
             soap_header, addr_ns);
 



Mime
View raw message