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 SOAPTransportFactory.cpp
Date Fri, 04 Jun 2004 05:14:29 GMT
sanjaya     2004/06/03 22:14:29

  Modified:    c/src/engine SOAPTransportFactory.cpp
  Log:
  Changes to get the Transport Library path from the AxisConfig object.
  
  Revision  Changes    Path
  1.3       +7 -2      ws-axis/c/src/engine/SOAPTransportFactory.cpp
  
  Index: SOAPTransportFactory.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/SOAPTransportFactory.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SOAPTransportFactory.cpp	19 May 2004 03:15:12 -0000	1.2
  +++ SOAPTransportFactory.cpp	4 Jun 2004 05:14:28 -0000	1.3
  @@ -24,6 +24,9 @@
   #include "SOAPTransportFactory.h"
   #include <axis/SOAPTransport.h>
   #include <stdio.h>
  +#include <axis/server/AxisConfig.h>
  +
  +extern AxisConfig* g_pConfig;
   
   const char* SOAPTransportFactory::m_pcLibraryPath = 0;
   DLHandler SOAPTransportFactory::m_LibHandler = 0;
  @@ -44,9 +47,11 @@
   {
   #ifdef WIN32
   #ifdef _DEBUG
  -	m_pcLibraryPath = "AxisTransport_D.dll"; //this will be taken from configuration file
  +	m_pcLibraryPath = g_pConfig->getAxConfProperty(AXCONF_TRANSPORTHTTP);
  +	//m_pcLibraryPath = "AxisTransport_D.dll"; //this will be taken from configuration file
   #else
  -	m_pcLibraryPath = "AxisTransport.dll"; //this will be taken from configuration file
  +	m_pcLibraryPath = g_pConfig->getAxConfProperty(AXCONF_TRANSPORTHTTP);
  +	//m_pcLibraryPath = "AxisTransport.dll"; //this will be taken from configuration file
   #endif
   #else
   	m_pcLibraryPath = "/usr/local/Axis/libs/libaxis_transport.so"; //this will be taken from
configuration file
  
  
  

Mime
View raw message