ZF-5736: Soap AutoDiscover: setUri() should support GET parameters

Issue Type: Bug Created: 2009-02-10T17:18:11.000+0000 Last Updated: 2010-11-15T06:33:32.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Jerome Mouneyrac (mouneyrac) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Soap_Wsdl

Related issues: - ZF-10660



Hello, for a soap server I wrote the following code:

if(isset($_GET['wsdl'])) {

$autodiscover = new Zend_Soap_AutoDiscover();

$autodiscover->setUri("http://mydomain/soapserver.php?token=4444& amp;key=5555"); //need & amp; otherwise & character will cause a loadXML() error



Here setUri create a soap service with a soap:address attribut => "http://mydomain/soapserver.php?token=4444& amp;amp;key=5555" The soap address should be "http://mydomain/soapserver.php?token=4444& amp;key=5555" or "http://mydomain/soapserver.php?token=4444&key=5555"

Note: if you encounter this problem too, a temporary solution could be to use / instead of GET parameter= > $autodiscover->setUri("http://mydomain/soapserver.php/4444/5555")


Posted by Benjamin Eberlei (beberlei) on 2009-04-15T03:03:21.000+0000


Posted by Benjamin Eberlei (beberlei) on 2009-04-15T08:16:05.000+0000

i just found a mistake in this fix, sorry. I reopen until i have found it.

Posted by Benjamin Eberlei (beberlei) on 2009-04-15T08:40:35.000+0000

fixed now

Posted by Jerome Mouneyrac (mouneyrac) on 2009-05-05T22:20:14.000+0000

Thanks Benjamin

Have you found an issue?

See the Overview section for more details.


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

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