note 90161 added to soapclient.soapcall
| From: | TimWilliams at osu1 dot php dot net | Date: | Wed, 08 Apr 2009 13:55:56 +0000 |
| Subject: | note 90161 added to soapclient.soapcall | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-152963@lists.php.net to get a copy of this message | ||
One little gotcha when passing the parameters where you need to have attributes and a simpletype
value:
To get the xml
<foo bar="moo">cheese</foo>
You'd pass in:
<?php
array("foo" => array("_" => "cheese",
"bar"=>"moo"));
?>
See that "_" bit? It really wasn't obvious from the documentation.
----
Server IP: 92.48.74.199
Probable Submitter: 195.173.80.1
----
Manual Page -- http://www.php.net/manual/en/soapclient.soapcall.php
Edit -- https://master.php.net/note/edit/90161
Del: integrated -- https://master.php.net/note/delete/90161/integrated
Del: useless -- https://master.php.net/note/delete/90161/useless
Del: bad code -- https://master.php.net/note/delete/90161/bad+code
Del: spam -- https://master.php.net/note/delete/90161/spam
Del: non-english -- https://master.php.net/note/delete/90161/non-english
Del: in docs -- https://master.php.net/note/delete/90161/in+docs
Del: other reasons-- https://master.php.net/note/delete/90161
Reject -- https://master.php.net/note/reject/90161
Search -- https://master.php.net/manage/user-notes.php