Prado\Web\Services\TSoapService::run PHP Метод

run() публичный Метод

If the service parameter ends with '.wsdl', it will serve a WSDL file for the specified soap server. Otherwise, it will handle the soap request using the specified server.
public run ( )
    public function run()
    {
        Prado::trace("Running SOAP service", 'Prado\\Web\\Services\\TSoapService');
        $server = $this->createServer();
        $this->getResponse()->setContentType('text/xml');
        $this->getResponse()->setCharset($server->getEncoding());
        if ($this->getIsWsdlRequest()) {
            // server WSDL file
            Prado::trace("Generating WSDL", 'Prado\\Web\\Services\\TSoapService');
            $this->getResponse()->clear();
            $this->getResponse()->write($server->getWsdl());
        } else {
            // provide SOAP service
            Prado::trace("Handling SOAP request", 'Prado\\Web\\Services\\TSoapService');
            $server->run();
        }
    }