ZF-6928: Zend_Soap_Wsdl: CodeGenerator doesn't return the php_code


The Zend_Soap_Wsdl CodeGenerator.php doesn't return the php_code in the file. I think in function parse we must add "self::$php_code" in file_put_contents as follow:

public static function parse($wsdl, $output = null) { self::$wsdl = Zend_Soap_Wsdl_Parser::parse($wsdl);

    self::$php_code = self::generatePhp();

    if (!is_null($output) && is_writable($output)) {

    return self::$php_code;


If we add the attribute to the function, CodeGenerator write the php_code in the file...


Wsdl Code Generator mistakenly got into production releases. Its not completed or useful at all.