note 110390 added to soapclient.soapcall
| From: | vb | Date: | Wed, 17 Oct 2012 16:23:21 +0000 |
| Subject: | note 110390 added to soapclient.soapcall | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-191354@lists.php.net to get a copy of this message | ||
Note that calling __soapCall and calling the generated method from WSDL requires specifying
parameters in two different ways.
For example, if you have a web service with method login that takes username and password, you can
call it the following way:
<?php
$params = array('username'=>'name',
'password'=>'secret');
$client->login($params);
?>
If you want to call __soapCall, you must wrap the arguments in another array as follows:
<?php
$client->__soapCall('login', array($params));
?>
----
Server IP: 69.147.83.199
Probable Submitter: 70.19.118.62
----
Manual Page -- http://www.php.net/manual/en/soapclient.soapcall.php
Edit -- https://master.php.net/note/edit/110390
Del: integrated -- https://master.php.net/note/delete/110390/integrated
Del: useless -- https://master.php.net/note/delete/110390/useless
Del: bad code -- https://master.php.net/note/delete/110390/bad+code
Del: spam -- https://master.php.net/note/delete/110390/spam
Del: non-english -- https://master.php.net/note/delete/110390/non-english
Del: in docs -- https://master.php.net/note/delete/110390/in+docs
Del: other reasons-- https://master.php.net/note/delete/110390
Reject -- https://master.php.net/note/reject/110390
Search -- https://master.php.net/manage/user-notes.php