Exemple #1
0
 public function renderWSDL()
 {
     header("Content-Type: text/xml");
     $xml = new XMLGenerator($this->_class, $this->_namespace, $this->_location);
     $xml->setWSDLMethods($this->_classParser->getMethods())->setBindingStyle($this->_bindingStyle)->generate();
     $xml->render();
 }
 /**
  * @test
  */
 public function shouldRenderXML()
 {
     //when
     $this->expectOutputRegex('/definitions.*message.*portType.*binding.*service/is');
     $this->_XMLGenerator->render();
 }