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 cd...@apache.org on 2005/07/28 12:47:50 UTC
cvs commit: ws-axis/c/src/engine Axis.cpp
cdinapala 2005/07/28 03:47:50
Modified: c/src/engine Axis.cpp
Log:
Have done some changes to solved AXISCPP-104.
Revision Changes Path
1.98 +17 -2 ws-axis/c/src/engine/Axis.cpp
Index: Axis.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/engine/Axis.cpp,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- Axis.cpp 5 Jul 2005 09:33:32 -0000 1.97
+++ Axis.cpp 28 Jul 2005 10:47:50 -0000 1.98
@@ -352,8 +352,23 @@
status = g_pConfig->readConfFile ();
if (status == AXIS_SUCCESS)
{
- XMLParserFactory::initialize();
- SOAPTransportFactory::initialize();
+ //chinthana:Axiscpp-104
+ //XMLParserFactory::initialize();
+ //SOAPTransportFactory::initialize();
+ try
+ {
+ XMLParserFactory::initialize();
+ SOAPTransportFactory::initialize();
+ }
+ catch (exception& e)
+ {
+ cout<< e.what();
+ cout<< "\n";
+ cout<< "Axis c++: An exception occured while initializing the XML Parser and SOAP Transport\n";
+ exit(1);
+ }
+ //.........................................
+
char *pWsddPath = g_pConfig->getAxisConfProperty(AXCONF_WSDDFILEPATH);
#if defined(ENABLE_AXISTRACE)
status = AxisTrace::openFile ();