note 98347 deleted from soapclient.soapcall by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 Jun 2010 02:55:54 +0000 |
| Subject: | note 98347 deleted from soapclient.soapcall by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-170010@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
If you are using this method, remember that the array of arguments need to be passed in with the
ordering being the same order that the SOAP endpoint expects.
e.g
<?php
//server expects: Foo(string name, int age)
//won't work
$args = array(32, 'john');
$out = $client->__soapCall('Foo', $args);
//will work
$args = array('john', 32);
$out = $client->__soapCall('Foo', $args);
?>