<?php
 
/**
 
 * @author Carlos Jorge Machado Antunes <[email protected]>
 
 * @version 1.0
 
 * @copyright Copyright 2005, Carlos Jorge Machado Antunes
 
 */
 
 
/**
 
 * WSDL file URL. Notice that the wsdl file was placed on the local server. 
 
 * This improves performance greatly. You should also check in your php.ini if 'soap.wsdl_cache_enabled' 
 
 * is enabled.
 
 */
 
define('WSDL_URL', 'http://localhost/mappoint/mappoint.wsdl');
 
 
/**
 
 * Your Mappoint Web Service username.
 
 */
 
define('MP_USER', 'your_username');
 
 
/**
 
 * Your Mappoint Web Service password.
 
 */
 
define('MP_PASS', 'your_password');
 
 
/**
 
 * Target namespace of Mappoint Web Service. Do not change this constant unless you know what you're doing.
 
 */
 
define('NAMESPACE_URI', 'http://s.mappoint.net/mappoint-30/'); 
 
 
/**
 
 * Proxy server URL. Do not add 'http://' prefix
 
 */
 
define('PROXY_HOST', 'a.proxyhost.com'); 
 
 
/**
 
 * Proxy port.
 
 */
 
define('PROXY_PORT', 8080);
 
 
/**
 
 * Load class definitions on demand.
 
 *
 
 * @param string $className
 
 */
 
function __autoload($className) {
 
    require_once($className.'.class.php');
 
}
 
?>
 
 |