note 82049 added to function.soap-soapclient-soapcall
| From: | sethmatuoregondotedu at osu1 dot php dot net | Date: | Tue, 25 Mar 2008 23:05:29 +0000 |
| Subject: | note 82049 added to function.soap-soapclient-soapcall | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-137581@lists.php.net to get a copy of this message | ||
Trying to connect to a .NET webservice using the PHP SOAP client, we ran into much strangeness.
When using __soapCall do:
$params = array('a'=>$a, 'b'=>$b);
$result = $client->__soapCall('someFunction', array($params));
When using calling the function directly use:
$params = array('a'=>$a, 'b'=>$b);
$result = $client->someFunction($params);
If $params isn't associative, the client doesn't form the call correctly. Calling it other
ways lead to having the first parameter dropped or the parameters not being displayed in the
request.
----
Server IP: 69.147.83.197
Probable Submitter: 128.223.103.71
----
Manual Page -- http://www.php.net/manual/en/function.soap-soapclient-soapcall.php
Edit -- https://master.php.net/note/edit/82049
Del: integrated -- https://master.php.net/note/delete/82049/integrated
Del: useless -- https://master.php.net/note/delete/82049/useless
Del: bad code -- https://master.php.net/note/delete/82049/bad+code
Del: spam -- https://master.php.net/note/delete/82049/spam
Del: non-english -- https://master.php.net/note/delete/82049/non-english
Del: in docs -- https://master.php.net/note/delete/82049/in+docs
Del: other reasons-- https://master.php.net/note/delete/82049
Reject -- https://master.php.net/note/reject/82049
Search -- https://master.php.net/manage/user-notes.php