note 51284 deleted from ref.soap by victor
| From: | victor@php.net | Date: | Tue, 16 Aug 2005 15:30:32 +0000 |
| Subject: | note 51284 deleted from ref.soap by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-93751@lists.php.net to get a copy of this message | ||
Note Submitter: kucerar at hhmi dot org
----
From that lists of tests in previous note, I found an example that suggested removing the schema
section altogether and writing in something like apache:Map for the type of the response message.
Just had the service return a nested array, and PHP handled everything and gave me something like an
array of structs on the client end, which is what I needed:
array(2) {
[0]=>
array(2) {
["url"]=>
string(5) "hello"
["title"]=>
string(5) "world"
}
[1]=>
array(2) {
["url"]=>
string(5) "world"
["title"]=>
string(5) "hello"
}
}
There ya go.