sanjaya 2004/05/20 23:07:41
Modified: c/src/engine Axis.cpp
Log:
changes to reflect changes in AxisConfig.cpp
Revision Changes Path
1.55 +7 -6 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.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- Axis.cpp 18 May 2004 12:30:26 -0000 1.54
+++ Axis.cpp 21 May 2004 06:07:41 -0000 1.55
@@ -190,7 +190,7 @@
}
else
{
- sServiceName = g_pConfig->getAxisHomePath ();
+ sServiceName = g_pConfig->getAxConfProperty(AXCONF_AXISHOME);
sServiceName += WSDLDIRECTORY + sUriWOAxis + ".wsdl";
// Check whether wsdl file is available
if ((WsddFile = fopen (sServiceName.c_str (), "r")) == NULL)
@@ -250,12 +250,11 @@
ModuleInitialize ();
if (bServer) // no client side wsdd processing at the moment
{
- int status = g_pConfig->readConfFile (); /* Read from the configuration
- * file
- */
+ /* Read from the configuration file */
+ int status = g_pConfig->readConfFile ();
if (status == AXIS_SUCCESS)
{
- char *pWsddPath = g_pConfig->getWsddFilePath ();
+ char *pWsddPath = g_pConfig->getAxConfProperty(AXCONF_WSDDFILEPATH);
#if defined(__AXISTRACE__)
status = g_pAT->openFile ();
if (status == AXIS_FAIL)
@@ -286,7 +285,9 @@
return AXIS_FAIL;
}
#endif
- char *pClientWsddPath = g_pConfig->getClientWsddFilePath ();
+ char *pClientWsddPath =
+ g_pConfig->getAxConfProperty(AXCONF_CLIENTWSDDFILEPATH);
+
/* May be there is no client side handlers configured. So may not
* have CLIENTWSDDFILEPATH entry in axiscpp.conf
*/
|