Location: PHPKode > projects > phpLedMailer > service/index.php
<?
/*
	Webservice interface (soap/wsdl) for
	phpLedMailer
	
	Note: Just load this page up in your web browser
	 to see the methods and atributes needed
	
	by Jon Coulter
*/

require_once(dirname(__FILE__) . '/../common.inc.php');
$plm = new phpLedMailer( $config );

if(! $plm->isSetup() )
{
	die("phpLedMailer does not seem to be setup! You must run install.php before you can continue!");
}

//$plm_server = new phpLedMailer_SOAPService( $plm );
$plm_server = $plm->Get_phpLedMailer_SOAPService();

// Use the request to (try to) invoke the service
$HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : '';
$plm_server->service($HTTP_RAW_POST_DATA);
?>
Return current item: phpLedMailer