ZF-4505: Failure to save Uri in Constructor creates erroreous WSDL for Complex Types

Issue Type: Bug Created: 2008-10-07T00:28:27.000+0000 Last Updated: 2008-11-13T14:10:11.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Benjamin Eberlei (beberlei) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Soap_Wsdl

Related issues: Attachments: - WsdlSetUri.php.patch


The constructor of WSDL has a bug where $this->_uri is not properly saved. This leads to problems with complex types that rely on this information and inside the tag the namespace is empty. This did not came up in the unit tests, because they also expected the wrong result.

Attached is a very simple patch for both WSDL and WSDLTest classes that solves this issue.


Posted by Benjamin Eberlei (beberlei) on 2008-10-07T00:29:24.000+0000

Solves the $this->_uri issue with two simple changes to the constructor.

Posted by Benjamin Eberlei (beberlei) on 2008-10-07T00:30:31.000+0000

Fixes the Unit Test that expects the wrong result. There are hundrets of whitespace changes in this patch too, since the WsdlTest was completly in DOS format.

Posted by Wil Sinclair (wil) on 2008-11-13T14:10:11.000+0000

Changing issues in preparation for the 1.7.0 release.

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.