[pear::soap - wsdl] Dispatch map for returning arrays (newbie)
| From: | Luis Ferrao | Date: | Sun, 07 Sep 2003 19:03:31 +0000 |
| Subject: | [pear::soap - wsdl] Dispatch map for returning arrays (newbie) | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1032@lists.php.net to get a copy of this message | ||
Hi,
This is a very simple question.
Let's say i want to creat a function (say testDB) that returns arrays (i.e.
0 => zero, 1 => one, 2 => two, etc...) of unkown variable size. What should
my dispatch map look like ?
PHP:____________________________________________________
$this->__dispatch_map['testDB'] =
array('in' => array('inputStringSimple' => 'string'),
'out' => array(' ???? => ???? '),
);
________________________________________________________
Shane's talks example is OK for a fixed size array, i would like the same
for any size array. As you may have guessed, i'm dealing with database query
results which's size is unkhown.
This question has already been asked here by someone else but nobody
answerd, hopefuly i'll get some very needed help :)
Luis
ps: if someone can at least point me to some dispatch map examples it would
be great.