Issues

ZF-5944: Zend_Soap_Autodisover should only look at public properties

Description

auto reassign after set component and affects version

Comments

The 45.3.10.2. 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

Fixed