You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by mi...@apache.org on 2008/05/23 13:17:08 UTC
svn commit: r659502 - in /webservices/axis2/trunk/c/axiom/src/soap:
soap_fault.c soap_fault_reason.c soap_fault_text.c
Author: milinda
Date: Fri May 23 04:17:07 2008
New Revision: 659502
URL: http://svn.apache.org/viewvc?rev=659502&view=rev
Log:
Fix for JIRA https://issues.apache.org/jira/browse/AXIS2C-1147.
Modified:
webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_reason.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_text.c
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c?rev=659502&r1=659501&r2=659502&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c Fri May 23 04:17:07 2008
@@ -75,6 +75,7 @@
soap_fault->frole = NULL;
soap_fault->om_ele_node = NULL;
soap_fault->soap_builder = NULL;
+ soap_fault->soap_version = -1;
return soap_fault;
}
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_fault_reason.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_fault_reason.c?rev=659502&r1=659501&r2=659502&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_fault_reason.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_fault_reason.c Fri May 23 04:17:07 2008
@@ -58,8 +58,8 @@
fault_reason->om_ele_node = NULL;
fault_reason->fault_texts = NULL;
-
- return fault_reason;
+ fault_reason->soap_version = -1;
+ return fault_reason;
}
AXIS2_EXTERN axiom_soap_fault_reason_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_fault_text.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_fault_text.c?rev=659502&r1=659501&r2=659502&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_fault_text.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_fault_text.c Fri May 23 04:17:07 2008
@@ -74,8 +74,8 @@
axiom_soap_fault_reason_t * parent)
{
axiom_soap_fault_text_t *fault_text = NULL;
- int soap_version = -1;
axiom_element_t *this_ele = NULL;
+ int soap_version = -1;
axiom_node_t *this_node = NULL;
axiom_namespace_t *parent_ns = NULL;
axiom_node_t *parent_node = NULL;
@@ -104,8 +104,9 @@
axiom_soap_fault_text_free(fault_text, env);
return NULL;
}
- soap_version = axiom_soap_fault_reason_get_soap_version(parent, env);
- if (soap_version == AXIOM_SOAP12)
+
+ soap_version = axiom_soap_fault_reason_get_soap_version(parent, env);
+ if (AXIOM_SOAP12 == soap_version)
{
parent_ns = axiom_element_get_namespace(parent_ele, env, parent_node);
}