protected function createWSDL_service()
    {
        /*
        <service name="myService">
        <port name="myServicePort" binding="typens:myServiceBinding">
        <soap:address location="http://dschini.org/test1.php"/>
        </port>
        </service>
        */
        $service = $this->wsdl->createElement('service');
        $service->setAttribute('name', $this->wsdlclassname);
        $port = $this->wsdl->createElement('port');
        $port->setAttribute('name', $this->wsdlclassname . 'Port');
        $port->setAttribute('binding', 'typens:' . $this->wsdlclassname . 'Binding');
        $adress = $this->wsdl->createElement('soap:address');
        $adress->setAttribute(
            'location',
            $this->protocol . '://' . $_SERVER['HTTP_HOST'] . $this->getSelfUrl()
        );
        $port->appendChild($adress);
        $service->appendChild($port);
        $this->wsdl_definitions->appendChild($service);
    }
protected function createWSDL_service()
    {
        /*
        <service name="myService">
        <port name="myServicePort" binding="typens:myServiceBinding">
        <soap:address location="http://dschini.org/test1.php"/>
        </port>
        </service>
        */
        $service = $this->wsdl->createElement('service');
        $service->setAttribute('name', $this->wsdlclassname);
        $port = $this->wsdl->createElement('port');
        $port->setAttribute('name', $this->wsdlclassname . 'Port');
        $port->setAttribute('binding', 'typens:' . $this->wsdlclassname . 'Binding');
        $adress = $this->wsdl->createElement('soap:address');
        $adress->setAttribute(
            'location',
            $this->protocol . '://' . $_SERVER['HTTP_HOST'] . $this->getSelfUrl()
        );
        $port->appendChild($adress);
        $service->appendChild($port);
        $this->wsdl_definitions->appendChild($service);
    }
protected function createWSDL_service ( ) { /*
        <service name="myService">
        <port name="myServicePort" binding="typens:myServiceBinding">
        <soap:address location="http://dschini.org/test1.php"/>
        </port>
        </service>
        */ $ service = $ this -> wsdl -> createElement ( 'service' ) ; $ service -> setAttribute ( 'name' , $ this -> wsdlclassname ) ; $ port = $ this -> wsdl -> createElement ( 'port' ) ; $ port -> setAttribute ( 'name' , $ this -> wsdlclassname . 'Port' ) ; $ port -> setAttribute ( 'binding' , 'typens:' . $ this -> wsdlclassname . 'Binding' ) ; $ adress = $ this -> wsdl -> createElement ( 'soap:address' ) ; $ adress -> setAttribute ( 'location' , $ this -> protocol . '://' . $ _SERVER [ 'HTTP_HOST' ] . $ this -> getSelfUrl ( ) ) ; $ port -> appendChild ( $ adress ) ; $ service -> appendChild ( $ port ) ; $ this -> wsdl_definitions -> appendChild ( $ service ) ; }
Create the service node

@return void
Create the service node