public function handle()
    {
        if (substr($_SERVER['QUERY_STRING'], -4) == 'wsdl') {
            $this->showWSDL();

            return;
        }
        if ($this->isSoapRequest()) {
            $this->handleRequest();
        } else {
            $this->createDocumentation();
        }
    }
public function handle()
    {
        if (substr($_SERVER['QUERY_STRING'], -4) == 'wsdl') {
            $this->showWSDL();

            return;
        }
        if ($this->isSoapRequest()) {
            $this->handleRequest();
        } else {
            $this->createDocumentation();
        }
    }
public function handle ( ) { if ( substr ( $ _SERVER [ 'QUERY_STRING' ] , - 4 ) == 'wsdl' ) { $ this -> showWSDL ( ) ; return ; } if ( $ this -> isSoapRequest ( ) ) { $ this -> handleRequest ( ) ; } else { $ this -> createDocumentation ( ) ; } }
Handles everything. Makes sure the webservice is handled,
documentations is generated, or the wsdl is generated,
according to the page request.
Handles everything . Makes sure the webservice is handled documentations is generated or the wsdl is generated according to the page request .