Hi, How would I go about defining an array of complex types as a property of another complex type? The code below gives me the error.
"Cannot add a complex type MyComplexTypeB[] that is not an object or where class could not be found in 'DefaultComplexType' strategy." function wsdlAction(){ $autodiscover = new Zend_Soap_AutoDiscover('Zend_Soap_Wsdl_Strategy_ArrayOfTypeComplex'); $autodiscover->setClass('MyClass'); $autodiscover->handle(); } class MyComplexTypeB{ /** * @var string */ public $FirstName; /** * @var string */ public $LastName; } class MyComplexTypeA{ /** * @var MyComplexTypeB[] */ public $Answers=array(); } class MyClass{ /** * @param MyComplexTypeA * @return MyComplexTypeB[] */ function testRequest($request){} } It appears to be ignoring the Strategy that I set, when dealing with properties of complex types. Thanks -- View this message in context: http://www.nabble.com/Help-with-Zend_Soap_AutoDiscover-and-array-of-complex-types-tp20806905p20806905.html Sent from the Zend Framework mailing list archive at Nabble.com.