Server

# Procedural File: Cartoserver.php Source Location: /server/Cartoserver.php ## Classes: CartoserverException Exception to be used by the server. ServerConfig Server configuration class ServerPluginConfig Server plugin configuration Cartoserver Cartoserver main class. Contains method exported to the webservice. ## Page Details: Main cartoserver entry point This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #### Tags:
version: | $Id: Cartoserver.php,v 1.52 2006/02/17 11:45:18 sypasche Exp $
copyright: | 2005 Camptocamp SA
#### Includes: require_once(CARTOWEB_HOME.'common/Config.php') [line 38] require_once(CARTOWEB_HOME.'common/Utils.php') [line 37] require_once(CARTOWEB_HOME.'common/MapInfo.php') [line 39] require_once(CARTOWEB_HOME.'common/Log4phpInit.php') [line 31] require_once(CARTOWEB_HOME.'server/MapInfoHandler.php') [line 34] require_once(CARTOWEB_HOME.'common/StructHandler.php') [line 40] require_once(CARTOWEB_HOME.'common/PluginManager.php') [line 41] require_once(CARTOWEB_HOME.'server/ServerPluginHelper.php') [line 45] require_once(CARTOWEB_HOME.'server/ServerPlugin.php') [line 44] require_once(CARTOWEB_HOME.'server/ServerAccounting.php') [line 47] require_once(CARTOWEB_HOME.'server/ServerContext.php') [line 43] require_once(CARTOWEB_HOME.'server/MapResultCache.php') [line 46] require_once(CARTOWEB_HOME.'common/Common.php') [line 36] ### CARTOWEB_HOME [line 28]
`CARTOWEB_HOME = realpath(dirname(__FILE__).'/..').'/'`
Root directory for server scripts [ Top ] ### getWsdlUrl [line 400]
`string getWsdlUrl( string $mapId, ServerConfig $config)`
Returns the URL of the wsdl file to be used on the server, or null if no wsdl is to be used (as set in the configuration). #### Tags:
return: | The url of the wsdl to be used on the server.
#### Parameters
string | $mapId | The mapId for the generated wsdl
ServerConfig | $config | Server configuration
[ Top ] ### setupSoapService [line 437]
`SoapServer setupSoapService( Cartoserver $cartoserver)`
Setup the SOAP server, and registers the SOAP methods. #### Parameters
Cartoserver | $cartoserver | the cartoserver object used for calling web services
[ Top ] Documentation generated on Fri, 21 Sep 2007 13:30:32 +0200 by phpDocumentor 1.3.0RC3