Prado\Web\Services\TSoapService::resolveRequest PHP Method

resolveRequest() protected method

It identifies the server ID and whether the request is for WSDL.
See also: getServerID
See also: getIsWsdlRequest
protected resolveRequest ( )
    protected function resolveRequest()
    {
        $serverID = $this->getRequest()->getServiceParameter();
        if (($pos = strrpos($serverID, '.wsdl')) === strlen($serverID) - 5) {
            $serverID = substr($serverID, 0, $pos);
            $this->_wsdlRequest = true;
        } else {
            $this->_wsdlRequest = false;
        }
        $this->_serverID = $serverID;
        if (!isset($this->_servers[$serverID])) {
            throw new THttpException(400, 'soapservice_request_invalid', $serverID);
        }
    }