Associative arrays and PEAR SOAP
| From: | Punit Gupta | Date: | Tue, 08 May 2007 14:57:15 +0000 |
| Subject: | Associative arrays and PEAR SOAP | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-46668@lists.php.net to get a copy of this message | ||
Hi Guys,
I am running PHP 4.4.6 and using PEAR::SOAP package to build a WebService. In the WSDL, I have
defined the data types as complex for some of the parameters in the function call. Those complex
types are in turn defined separately describing each element of the complex type. It appears that
the SOAP server converts the associative arrays to a normal integer index array so I am not able to
see any of the element names as the array keys. And it does the same thing when returning values.
Is there a way to alleviate that?
Thanks,
-Punit.