RE: [SOAP] Again Complex Types in Response
| From: | David Kingma | jool.nl | Date: | Tue, 18 Jan 2005 16:30:01 +0000 |
| Subject: | RE: [SOAP] Again Complex Types in Response | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1708@lists.php.net to get a copy of this message | ||
Hi Danne,
> -----Original Message-----
> From: Danne.Lundqvist@corp.vodafone.se
> Can you create "real" associative arrays in wsdl?
> The way I've solved is like below.
As far as I know this is the only way to 'emulate' associative arrays.
Together with the classmapping functionality in the PHP5 soap implementation
you might create a class that implements an Iterator, so you can doe
foreach($objectarray as $item){} with it and count() it.
Kind regards,
David