note 51284 added to ref.soap
| From: | kucerar at hhmi dot org | Date: | Fri, 25 Mar 2005 21:56:42 +0000 |
| Subject: | note 51284 added to ref.soap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86993@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/ref.soap.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51284
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51284&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51284&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51284&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51284&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51284&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51284&report=yes
Search -- http://master.php.net/manage/user-notes.php