setClass('TestService'); $autodiscover->handle(); } else { $server = new Zend_Soap_Server('http://localhost/~tim/ibe/test/services.php?wsdl'); $server->setClass('TestService'); $server->handle(); }