From 68b3f0e277d02464303dd42dbce6275dc45df4c4 Mon Sep 17 00:00:00 2001 From: damitha Date: Wed, 23 Nov 2011 09:27:58 +0000 Subject: Please refer AXIS2C-1569 git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1205336 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/engine/engine.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- cgit v1.1-32-gdbae