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:
Description
auto reassign after set component and affects version
Comments
Posted by Jordan Raub (ludicruz) on 2009-03-04T19:04:33.000+0000
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
Posted by Benjamin Eberlei (beberlei) on 2009-04-15T01:54:32.000+0000
Comments
Posted by Jordan Raub (ludicruz) on 2009-03-04T19:04:33.000+0000
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
Posted by Benjamin Eberlei (beberlei) on 2009-04-15T01:54:32.000+0000
Fixed