You are viewing a plain text version of this content. The canonical link for it is here.
Posted to savan-dev@ws.apache.org by da...@apache.org on 2008/11/24 11:42:24 UTC
svn commit: r720157 - /webservices/savan/trunk/c/src/util/savan_util.c
Author: damitha
Date: Mon Nov 24 02:42:24 2008
New Revision: 720157
URL: http://svn.apache.org/viewvc?rev=720157&view=rev
Log:
fault node is created in two places mistakenly.Fixed it.
Modified:
webservices/savan/trunk/c/src/util/savan_util.c
Modified: webservices/savan/trunk/c/src/util/savan_util.c
URL: http://svn.apache.org/viewvc/webservices/savan/trunk/c/src/util/savan_util.c?rev=720157&r1=720156&r2=720157&view=diff
==============================================================================
--- webservices/savan/trunk/c/src/util/savan_util.c (original)
+++ webservices/savan/trunk/c/src/util/savan_util.c Mon Nov 24 02:42:24 2008
@@ -100,8 +100,6 @@
axiom_node_t *body_node = NULL;
axiom_node_t *fault_node = NULL;
-
- fault_node = savan_util_build_fault_msg(env, code, subcode, reason, detail);
envelope = axiom_soap_envelope_create_default_soap_envelope(env,
AXIOM_SOAP12);
@@ -113,8 +111,7 @@
body = axiom_soap_envelope_get_body(envelope, env);
body_node = axiom_soap_body_get_base_node(body, env);
- fault_node = savan_util_build_fault_msg(env, code,
- subcode, reason, detail);
+ fault_node = savan_util_build_fault_msg(env, code, subcode, reason, detail);
axiom_node_add_child(body_node , env, fault_node);
axis2_msg_ctx_set_fault_soap_envelope(msg_ctx, env, envelope);