axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r405715 - /webservices/axis2/trunk/c/modules/core/clientapi/op_client.c
Date Wed, 10 May 2006 11:11:56 GMT
Author: nandika
Date: Wed May 10 04:11:45 2006
New Revision: 405715

URL: http://svn.apache.org/viewcvs?rev=405715&view=rev
Log:
xml_reader_init and xml_reader_cleanup functions added 

Modified:
    webservices/axis2/trunk/c/modules/core/clientapi/op_client.c

Modified: webservices/axis2/trunk/c/modules/core/clientapi/op_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/op_client.c?rev=405715&r1=405714&r2=405715&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/op_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/op_client.c Wed May 10 04:11:45 2006
@@ -22,6 +22,7 @@
 #include <listener_manager.h> 
 #include <axis2_engine.h>
 #include <callback_recv.h>
+#include <axis2_xml_reader.h>
 
 typedef struct axis2_op_client_impl
 {
@@ -185,7 +186,8 @@
     }
 
 	axis2_op_client_init_ops(&(op_client_impl->op_client));
-    
+    /** initialize parser for thread safty */
+    axis2_xml_reader_init();
 	return &(op_client_impl->op_client);
 }
 
@@ -581,7 +583,7 @@
 
     AXIS2_FREE((*env)->allocator, op_client_impl);
     op_client_impl = NULL;
-
+    axis2_xml_reader_cleanup();
 	return AXIS2_SUCCESS;
 }
 /** private functions - implementation */



Mime
View raw message