Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
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
| This issue is dependecy of: | ||||
| ZF-6288 | Zend_Soap_AutoDiscover class does not have dump and toXml methods |
|
|
|
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.