Prado\Web\Services\TSoapServer::guessMethodCallRequested PHP Method

guessMethodCallRequested() protected method

Guess the SOAP method request from the actual SOAP message
protected guessMethodCallRequested ( string $class )
$class string current handler class.
    protected function guessMethodCallRequested($class)
    {
        $namespace = $class . 'wsdl';
        $message = file_get_contents("php://input");
        $matches = array();
        if (preg_match('/xmlns:([^=]+)="urn:' . $namespace . '"/', $message, $matches)) {
            if (preg_match('/<' . $matches[1] . ':([a-zA-Z_]+[a-zA-Z0-9_]+)/', $message, $method)) {
                $this->_requestedMethod = $method[1];
            }
        }
    }