note 87718 added to function.soap-soapclient-call
| From: | Anonymous at osu1 dot php dot net | Date: | Thu, 18 Dec 2008 07:39:02 +0000 |
| Subject: | note 87718 added to function.soap-soapclient-call | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-148292@lists.php.net to get a copy of this message | ||
Bananas:
Try using SoapVar, it'll work with extensions:
Replace
$client->addAds(array('ads' => array($sample_ad) );
with
$client->addAds( new SoapVar( array( 'ads' => array( $sample_ad ) ),
SOAP_ENC_OBJECT, "impl:TextAd" );
Since PHP doesn't strictly type variables you'll have to tell PHP what type of data you
are passing to the SOAP call.
----
Server IP: 80.67.2.2
Probable Submitter: 192.36.10.8
----
Manual Page -- http://www.php.net/manual/en/function.soap-soapclient-call.php
Edit -- https://master.php.net/note/edit/87718
Del: integrated -- https://master.php.net/note/delete/87718/integrated
Del: useless -- https://master.php.net/note/delete/87718/useless
Del: bad code -- https://master.php.net/note/delete/87718/bad+code
Del: spam -- https://master.php.net/note/delete/87718/spam
Del: non-english -- https://master.php.net/note/delete/87718/non-english
Del: in docs -- https://master.php.net/note/delete/87718/in+docs
Del: other reasons-- https://master.php.net/note/delete/87718
Reject -- https://master.php.net/note/reject/87718
Search -- https://master.php.net/manage/user-notes.php