axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r388175 - /webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c
Date Thu, 23 Mar 2006 14:13:46 GMT
Author: damitha
Date: Thu Mar 23 06:13:44 2006
New Revision: 388175

URL: http://svn.apache.org/viewcvs?rev=388175&view=rev
Log:
changed the signature of axis2_soap_envelope_create_default_soap_fault_envelope to include
code_value and reason_text

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

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c?rev=388175&r1=388174&r2=388175&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c Thu Mar 23 06:13:44 2006
@@ -726,7 +726,7 @@
 
 AXIS2_DECLARE(axis2_soap_envelope_t *)
 axis2_soap_envelope_create_default_soap_fault_envelope(axis2_env_t **env,
-                                                 int soap_version)
+	axis2_char_t *code_value, axis2_char_t *reason_text, int soap_version)
 {
     axis2_soap_envelope_t *soap_env = NULL;
     axis2_soap_body_t *soap_body = NULL;
@@ -767,7 +767,8 @@
 		AXIS2_SOAP_ENVELOPE_FREE(soap_env, env);
 		return NULL;
 	}
-	fault = axis2_soap_fault_create_with_parent(env, soap_body);
+	fault = axis2_soap_fault_create_default_fault(env, soap_body,
+				code_value, reason_text, soap_version);
 	if (!fault)
 	{
 		AXIS2_SOAP_ENVELOPE_FREE(soap_env, env);



Mime
View raw message