note 89707 deleted from book.soap by thiago
| From: | thiago@php.net | Date: | Thu, 19 Mar 2009 23:30:52 +0000 |
| Subject: | note 89707 deleted from book.soap by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-152174@lists.php.net to get a copy of this message | ||
Note Submitter: habikki at luvs dot org
----
To further what Jeff and Ryan were saying, when attempting to consume Web Services exposed by .NET
there tends to be an issue where calling $client->WebMethod($var1, $var2, ..., $varx) will fail.
On the remote end the logs will show that some (if not all) of the arguments provided are not
populated with any values. To solve this use Jeff's recommendation of named parameters. e.g:
$client->WebMethod(
array(
'var1' => $var1,
'var2' => $var2,
...
'varx' => $varx));