ZF-5944: Zend_Soap_Autodisover should only look at public properties

Issue Type: Bug Created: 2009-03-04T19:00:41.000+0000 Last Updated: 2009-04-15T01:54:35.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Jordan Raub (ludicruz) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Soap_Wsdl

Related issues: Attachments:


auto reassign after set component and affects version


Posted by Jordan Raub (ludicruz) on 2009-03-04T19:04:33.000+0000

The Adding complex type information. in the programmers reference guide has this quote

{quote} "Class Zend_Soap_Wsdl_Strategy_DefaultComplexType: Enabled by default (when no third constructor parameter is set). Iterates over the public attributes of a class type and registers them as subtypes of the complex object type." {quote}

so in Zend/Soap/Wsdl/Strategy/DefaultComplexType.php line 50. the if statement should also check for $property->isPublic() (ZF1.7.6 tag)

right now protected and private variables are making their way into the autodiscovered wsdl

Posted by Benjamin Eberlei (beberlei) on 2009-04-15T01:54:32.000+0000


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.