note 100182 added to soapclient.soapcall
| From: | Anonymous at osu1 dot php dot net | Date: | Wed, 29 Sep 2010 21:11:35 +0000 |
| Subject: | note 100182 added to soapclient.soapcall | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-172825@lists.php.net to get a copy of this message | ||
For those getting "SOAP-ERROR: Encoding: object hasn't 'newOrderRequest'
property" type errors, there is an additional bug that doesn't seem to be documented
anywhere.
For 2+ elements, you need a numeric array but the keys *must* start from 0 and *must* be sequential.
If not, you will get this validation error. The fix is as simple as sending the array through
array_values().
----
Server IP: 208.69.120.55
Probable Submitter: 132.148.80.215
----
Manual Page -- http://www.php.net/manual/en/soapclient.soapcall.php
Edit -- https://master.php.net/note/edit/100182
Del: integrated -- https://master.php.net/note/delete/100182/integrated
Del: useless -- https://master.php.net/note/delete/100182/useless
Del: bad code -- https://master.php.net/note/delete/100182/bad+code
Del: spam -- https://master.php.net/note/delete/100182/spam
Del: non-english -- https://master.php.net/note/delete/100182/non-english
Del: in docs -- https://master.php.net/note/delete/100182/in+docs
Del: other reasons-- https://master.php.net/note/delete/100182
Reject -- https://master.php.net/note/reject/100182
Search -- https://master.php.net/manage/user-notes.php