axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r1205336 - /axis/axis2/c/core/trunk/src/core/engine/engine.c
Date Wed, 23 Nov 2011 09:27:58 GMT
Author: damitha
Date: Wed Nov 23 09:27:58 2011
New Revision: 1205336

URL: http://svn.apache.org/viewvc?rev=1205336&view=rev
Log:
Please refer AXIS2C-1569

Modified:
    axis/axis2/c/core/trunk/src/core/engine/engine.c

Modified: axis/axis2/c/core/trunk/src/core/engine/engine.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/engine/engine.c?rev=1205336&r1=1205335&r2=1205336&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/engine/engine.c (original)
+++ axis/axis2/c/core/trunk/src/core/engine/engine.c Wed Nov 23 09:27:58 2011
@@ -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;
 }
 



Mime
View raw message