original_string: protected function generate_wsdl() {
          // Initialise WSDL.
          $this->wsdl = new wsdl($this->serviceclass, $this->serverurl);
          // Register service struct classes as complex types.
          foreach ($this->servicestructs as $structinfo) {
              $this->wsdl->add_complex_type($structinfo->classname, $structinfo->properties);
          }
          // Register the method for the WSDL generation.
          foreach ($this->servicemethods as $methodinfo) {
              $this->wsdl->register($methodinfo->name, $methodinfo->inputparams, $methodinfo->outputparams, $methodinfo->description);
          }
      }
code: protected function generate_wsdl() {
          // Initialise WSDL.
          $this->wsdl = new wsdl($this->serviceclass, $this->serverurl);
          // Register service struct classes as complex types.
          foreach ($this->servicestructs as $structinfo) {
              $this->wsdl->add_complex_type($structinfo->classname, $structinfo->properties);
          }
          // Register the method for the WSDL generation.
          foreach ($this->servicemethods as $methodinfo) {
              $this->wsdl->register($methodinfo->name, $methodinfo->inputparams, $methodinfo->outputparams, $methodinfo->description);
          }
      }
code_tokens: protected function generate_wsdl ( ) { // Initialise WSDL. $ this -> wsdl = new wsdl ( $ this -> serviceclass , $ this -> serverurl ) ; // Register service struct classes as complex types. foreach ( $ this -> servicestructs as $ structinfo ) { $ this -> wsdl -> add_complex_type ( $ structinfo -> classname , $ structinfo -> properties ) ; } // Register the method for the WSDL generation. foreach ( $ this -> servicemethods as $ methodinfo ) { $ this -> wsdl -> register ( $ methodinfo -> name , $ methodinfo -> inputparams , $ methodinfo -> outputparams , $ methodinfo -> description ) ; } }
docstring: Generates the WSDL.
docstring_tokens: Generates the WSDL .