You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/02/14 08:14:28 UTC

svn commit: r377659 - /webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c

Author: samisa
Date: Mon Feb 13 23:14:27 2006
New Revision: 377659

URL: http://svn.apache.org/viewcvs?rev=377659&view=rev
Log:
Fixed seg fault on SOAP Fault

Modified:
    webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c?rev=377659&r1=377658&r2=377659&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c Mon Feb 13 23:14:27 2006
@@ -245,10 +245,12 @@
             AXIS2_SOAP_FAULT_ROLE_SET_BASE_NODE(fault_role, env, om_element_node);
             AXIS2_SOAP_FAULT_ROLE_SET_SOAP_VRESION(fault_role, env, AXIS2_SOAP11);
             AXIS2_SOAP_FAULT_SET_ROLE(soap_fault, env, fault_role);
+            /*
+            Role element may not have a namespace associated, hence commented, else it segfaults here - Samisa
             status = AXIS2_SOAP_BUILDER_PROCESS_NAMESPACE_DATA(
                 builder_helper_impl->soap_builder, env, om_element_node, AXIS2_TRUE);
             if(status == AXIS2_FAILURE)
-                    return AXIS2_FAILURE;
+                    return AXIS2_FAILURE;*/
         }
         else if(AXIS2_STRCMP(AXIS2_SOAP11_SOAP_FAULT_DETAIL_LOCAL_NAME, ele_localname) == 0)
         {