Again Complex Types in Response
| From: | (PHPDiscuss - PHP Newsgroups and mailing lists) | Date: | Tue, 18 Jan 2005 14:52:42 +0000 |
| Subject: | Again Complex Types in Response | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1706@lists.php.net to get a copy of this message | ||
Hello * I've buildt a webservice with PEAR::SOAP using WSDL... and try to
have returned an assoziative ARRAY as response (like
$result["user"]["anything"]).
without using assoziative arrays within the server function it works fine.
case: I return array(245,49); and I get an Array $result[0]=245 [1]=49 in
PHP. well.
case: I return an array("user"=>246,"country"0>49) it returns a stdClass
Object in PHP.
I tried to figure out what the matter could be. I guessed it's the
__dispatch_map or maybe a bug?
, but I'm stuck with no idea where to start searching for help. so, is
there anyone with a hint..
regards & thx ;]