diff options
author | nandika | 2012-12-28 09:22:48 +0000 |
---|---|---|
committer | nandika | 2012-12-28 09:22:48 +0000 |
commit | ababf578fe74141194eb33221dc3b2bfcd084730 (patch) | |
tree | 8d93bd20965f52f3b6e022df4e53cf1bf93b3e71 /src | |
parent | e85766b2e67d213124b67815c740fdf18016988c (diff) | |
download | axis2c-ababf578fe74141194eb33221dc3b2bfcd084730.tar.gz axis2c-ababf578fe74141194eb33221dc3b2bfcd084730.tar.bz2 |
Added missing setting of service group context id
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1426439 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/mod_addr/addr_out_handler.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/modules/mod_addr/addr_out_handler.c b/src/modules/mod_addr/addr_out_handler.c index 0967901..880d1a9 100644 --- a/src/modules/mod_addr/addr_out_handler.c +++ b/src/modules/mod_addr/addr_out_handler.c @@ -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); |