axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r816874 - /webservices/axis2/trunk/c/src/core/engine/engine.c
Date Sat, 19 Sep 2009 09:18:48 GMT
Author: nandika
Date: Sat Sep 19 09:18:46 2009
New Revision: 816874

URL: http://svn.apache.org/viewvc?rev=816874&view=rev
Log:
applied fix from jira issue 1394

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

Modified: webservices/axis2/trunk/c/src/core/engine/engine.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/engine/engine.c?rev=816874&r1=816873&r2=816874&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/engine/engine.c (original)
+++ webservices/axis2/trunk/c/src/core/engine/engine.c Sat Sep 19 09:18:46 2009
@@ -578,6 +578,20 @@
         msg_uuid = NULL;
     }
 
+	/** Copy the property map from the current message context to the newly created fault message
+		context. */
+	{
+		axis2_ctx_t *ctx = axis2_msg_ctx_get_base(processing_context, env);
+		axis2_ctx_t *fault_base_ctx = axis2_msg_ctx_get_base(fault_ctx, env);
+
+		if(ctx && fault_ctx)
+		{
+			axis2_ctx_set_property_map(fault_base_ctx, env, axis2_ctx_get_property_map(ctx, env));
+		}
+
+	}
+
+
     axis2_msg_ctx_set_op_ctx(fault_ctx, env, axis2_msg_ctx_get_op_ctx(processing_context,
env));
     axis2_msg_ctx_set_process_fault(fault_ctx, env, AXIS2_TRUE);
     axis2_msg_ctx_set_server_side(fault_ctx, env, AXIS2_TRUE);



Mime
View raw message