Zend Framework

Zend_Soap_AutoDiscover::handle, dump to file

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.7.1
  • Fix Version/s: 1.8.0
  • Component/s: Zend_Soap_Wsdl
  • Labels:
    None

Description

I would like to suggest to add additional parameter to Zend_Soap_AutoDiscover::handle() method that would be passed directly to $this->_wsdl->dump()
It could be usefull for, for instance, caching purposes. You can generate wsdl file once and then just read it from file. In fact maybe it's possible to replace current parameter $request becouse it's not used.

public function handle($filename = false)
{
    if (!$filename && !headers_sent()) {
        header('Content-Type: text/xml');
    }
    $this->_wsdl->dump($filename);
}

Issue Links

Activity

Hide
Benjamin Eberlei added a comment -

I added two new functions toXml() and dump($filename) which do the work. Overwriting handle() would go against the interface which might be weird to people.

Will be included in next minor release.

Show
Benjamin Eberlei added a comment - I added two new functions toXml() and dump($filename) which do the work. Overwriting handle() would go against the interface which might be weird to people. Will be included in next minor release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: