summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar nandika2012-12-28 12:46:32 +0000
committerGravatar nandika2012-12-28 12:46:32 +0000
commit6abb37e3a43eee5291c82366da517a9376f8e97c (patch)
tree6c7ddec30bdccdd760a35c27fa64a5d951c09a09 /src
parent8ae0650416e952b655a7e73d003e399dc4e827dc (diff)
downloadaxis2c-6abb37e3a43eee5291c82366da517a9376f8e97c.tar.gz
axis2c-6abb37e3a43eee5291c82366da517a9376f8e97c.tar.bz2
Applied patch AXIS2C-1526
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1426482 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/core/clientapi/op_client.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/clientapi/op_client.c b/src/core/clientapi/op_client.c
index 86f5608..4b7a90d 100644
--- a/src/core/clientapi/op_client.c
+++ b/src/core/clientapi/op_client.c
@@ -1138,6 +1138,7 @@ axis2_op_client_two_way_send(
long index = -1;
axis2_bool_t wait_indefinitely = AXIS2_FALSE;
axis2_char_t *mep = NULL;
+ axis2_char_t *msg_id = NULL;
conf_ctx = axis2_msg_ctx_get_conf_ctx(msg_ctx, env);
engine = axis2_engine_create(env, conf_ctx);
@@ -1200,6 +1201,14 @@ axis2_op_client_two_way_send(
axis2_msg_ctx_set_conf_ctx(response, env, axis2_msg_ctx_get_conf_ctx(msg_ctx, env));
axis2_msg_ctx_set_svc_grp_ctx(response, env, axis2_msg_ctx_get_svc_grp_ctx(msg_ctx, env));
+ msg_id = (axis2_char_t *)axutil_uuid_gen(env);
+ axis2_msg_ctx_set_message_id(response, env, msg_id);
+ if(msg_id)
+ {
+ AXIS2_FREE(env->allocator, msg_id);
+ msg_id = NULL;
+ }
+
/* If request is REST we assume the response is REST, so set the variable */
axis2_msg_ctx_set_doing_rest(response, env, axis2_msg_ctx_get_doing_rest(msg_ctx, env));
axis2_msg_ctx_set_status_code(response, env, axis2_msg_ctx_get_status_code(msg_ctx, env));