summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar damitha2011-11-23 09:27:58 +0000
committerGravatar damitha2011-11-23 09:27:58 +0000
commit68b3f0e277d02464303dd42dbce6275dc45df4c4 (patch)
tree92fb02ead3ceb80ec1b764d8712c37a9563d75dd /src
parente5d29aa4857ef113fc58f4407750b54bce07b39c (diff)
downloadaxis2c-68b3f0e277d02464303dd42dbce6275dc45df4c4.tar.gz
axis2c-68b3f0e277d02464303dd42dbce6275dc45df4c4.tar.bz2
Please refer AXIS2C-1569
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1205336 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/core/engine/engine.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/engine/engine.c b/src/core/engine/engine.c
index a098ea1..38139e4 100644
--- a/src/core/engine/engine.c
+++ b/src/core/engine/engine.c
@@ -536,6 +536,7 @@ axis2_engine_create_fault_msg_ctx(
if(stream)
{
axis2_msg_ctx_set_transport_out_stream(fault_ctx, env, stream);
+ axis2_msg_ctx_reset_transport_out_stream(processing_context, env);
}
if(!fault_to && !stream)
@@ -618,6 +619,10 @@ axis2_engine_create_fault_msg_ctx(
return NULL;
}
}
+ else
+ {
+ axis2_msg_ctx_set_fault_soap_envelope(processing_context, env, NULL);
+ }
doing_rest = axis2_msg_ctx_get_doing_rest(processing_context, env);
axis2_msg_ctx_set_doing_rest(fault_ctx, env, doing_rest);
@@ -625,6 +630,7 @@ axis2_engine_create_fault_msg_ctx(
axis2_msg_ctx_set_soap_envelope(fault_ctx, env, envelope);
axis2_msg_ctx_set_out_transport_info(fault_ctx, env, axis2_msg_ctx_get_out_transport_info(
processing_context, env));
+ axis2_msg_ctx_reset_out_transport_info(processing_context, env);
return fault_ctx;
}