PEAR::SOAP Array Question

From: Date: Mon, 08 Jan 2007 03:20:05 +0000
Subject: PEAR::SOAP Array Question
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26283@lists.php.net to get a copy of this message
I have an array of complex objects that I am trying to return through SOAP. The problem I am having is that the PEAR::SOAP library returns them with an arrayType="Struct[2]" (if two objects were returned). The returned array SHOULD be arrayType="MyClass[2]". How do I get the SOAP library to understand that these objects should be returned with arrayType MyClass instead of Struct? I have tried defining the key in __typedef that contains the array of objects, but it seems to ignore it (although the disco map shows the proper type). Can anyone provide me with a concrete example of how to do this? Thanks, Chris

« previous php.pear.general (#26283) next »