note 74535 added to function.soap-soapclient-soapcall
| From: | bliu at computer dot org | Date: | Mon, 16 Apr 2007 13:17:09 +0000 |
| Subject: | note 74535 added to function.soap-soapclient-soapcall | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125439@lists.php.net to get a copy of this message | ||
Using wsdl file automatically generated by the jboss4.2CR1 deployer,
I tried dozens of methods to marshal parameters to a JAXWS endpoint. And the service constantly got
null parameters. At last, I found the right way to call is
<?
$params = array('param1'=>"foo",
'param2'=>"bar");
$client->__soapCall('yourMethod', array('parameters' => $params));
?>
By this way, the parameters' names and values are correctly enclosed by the method name, and
the service gives expected replies.
----
Server IP: 69.147.83.197
Probable Submitter: 124.64.199.125
----
Manual Page -- http://www.php.net/manual/en/function.soap-soapclient-soapcall.php
Edit -- https://master.php.net/note/edit/74535
Del: integrated -- https://master.php.net/note/delete/74535/integrated
Del: useless -- https://master.php.net/note/delete/74535/useless
Del: bad code -- https://master.php.net/note/delete/74535/bad+code
Del: spam -- https://master.php.net/note/delete/74535/spam
Del: non-english -- https://master.php.net/note/delete/74535/non-english
Del: in docs -- https://master.php.net/note/delete/74535/in+docs
Del: other reasons-- https://master.php.net/note/delete/74535
Reject -- https://master.php.net/note/reject/74535
Search -- https://master.php.net/manage/user-notes.php