Issues

ZF-5330: Zend_Soap_AutoDiscover::handle, dump to file

Issue Type: New Feature Created: 2008-12-20T09:57:40.000+0000 Last Updated: 2009-04-15T00:58:55.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Piotr Kabacinski (kabot) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Soap_Wsdl

Related issues: - ZF-6288

Attachments:

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.

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

Comments

Posted by Benjamin Eberlei (beberlei) on 2009-01-21T01:30:35.000+0000

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts