axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanj...@apache.org
Subject cvs commit: ws-axis/c/src/engine Axis.cpp
Date Fri, 26 Sep 2003 07:16:28 GMT
sanjaya     2003/09/26 00:16:28

  Modified:    c/src/engine Axis.cpp
  Log:
  -Removed WSDDFILEPATH definitions and put it to AxisConfig.h
  -changed the parameter to LoasWSDD from WSDDFILEPATH TO wsddPath
  
  Revision  Changes    Path
  1.21      +2 -16     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.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- Axis.cpp	22 Sep 2003 05:12:22 -0000	1.20
  +++ Axis.cpp	26 Sep 2003 07:16:28 -0000	1.21
  @@ -93,20 +93,6 @@
   //the relative location of the wsdl files hardcoded
   #define WSDLDIRECTORY	"./Axis/wsdl/"
   
  -#ifdef WIN32
  -#ifdef AXIS_APACHE1_3
  -#define WSDDFILEPATH "./Axis/conf/server.wsdd"
  -#else
  -#define WSDDFILEPATH "C:/Axis/conf/server.wsdd"
  -#endif
  -#else //For linux
  -#ifdef AXIS_APACHE1_3
  -#define WSDDFILEPATH "/usr/local/apache/Axis/conf/server.wsdd"
  -#else
  -#define WSDDFILEPATH "/usr/local/apache/Axis/conf/server.wsdd"
  -#endif
  -#endif
  -
   //define all global variables of the axisengine
   #ifdef _AXISTRACE
   unsigned char chEBuf[1024];
  @@ -236,7 +222,7 @@
   	return Status;
   }
   
  -extern "C" int initialize_module(int bServer)
  +extern "C" int initialize_module(int bServer, const char * wsddPath)
   {
   	//order of these initialization method invocation should not be changed
   //	AXISTRACE1("inside initialize_module\n");
  @@ -249,7 +235,7 @@
   	URIMapping::Initialize();
   	SoapFault::initialize();
   	ModuleInitialize();
  -	if (SUCCESS != g_pWSDDDeployment->LoadWSDD(WSDDFILEPATH)) return FAIL;
  +	if (SUCCESS != g_pWSDDDeployment->LoadWSDD(wsddPath)) return FAIL;
   	return SUCCESS;
   }
   
  
  
  

Mime
View raw message