axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r389992 - /webservices/axis2/trunk/c/test/xml/soap/test_soap.c
Date Thu, 30 Mar 2006 05:29:24 GMT
Author: samisa
Date: Wed Mar 29 21:29:21 2006
New Revision: 389992

URL: http://svn.apache.org/viewcvs?rev=389992&view=rev
Log:
Fixed and exposed the test method

Modified:
    webservices/axis2/trunk/c/test/xml/soap/test_soap.c

Modified: webservices/axis2/trunk/c/test/xml/soap/test_soap.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/xml/soap/test_soap.c?rev=389992&r1=389991&r2=389992&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/xml/soap/test_soap.c (original)
+++ webservices/axis2/trunk/c/test/xml/soap/test_soap.c Wed Mar 29 21:29:21 2006
@@ -307,7 +307,7 @@
     axis2_om_output_t *om_output = NULL;
     axis2_char_t *buffer = NULL;
 
-    soap_envelope = axis2_soap_envelope_create_default_soap_fault_envelope(env, NULL, NULL,
AXIS2_SOAP11);
+    soap_envelope = axis2_soap_envelope_create_default_soap_fault_envelope(env, "Fault Code",
"Fault Reason", AXIS2_SOAP11);
     soap_body = AXIS2_SOAP_ENVELOPE_GET_BODY(soap_envelope, env);
     axis2_soap_fault_create_default_fault(env, soap_body, "env:Receiver","A fault occured",
AXIS2_SOAP12);
    
@@ -348,7 +348,7 @@
     axis2_error_init(); 
 /*    build_soap_programatically(&env);   */
     build_soap(&env, filename,uri); 
-/*    create_soap_fault(&env);  */
+    create_soap_fault(&env); 
     axis2_env_free(env); 
     axis2_allocator_free(allocator);
     return 0;        



Mime
View raw message