note 98357 added to soapclient.soapclient
| From: | tim at tdinternet dot com | Date: | Thu, 10 Jun 2010 15:05:35 +0000 |
| Subject: | note 98357 added to soapclient.soapclient | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-170022@lists.php.net to get a copy of this message | ||
PHP 5.2.11 seems to not be very picky about the correctness of a WSDL.
Other SOAP clients were complaining about schema and namespace issues, while PHP's SoapClient
worked completely fine. Fixing those issues for the other clients however broke PHP's
SoapClient to the point where objects being passed to the SOAP method were becoming empty arrays on
the server side.
Lesson learned: some elements were being prefixed with xsd: and others were not -- make absolutely
sure your WSDL is correct and consistent (I'm using a tweaked WSDL_Gen.php).
----
Server IP: 69.147.83.197
Probable Submitter: 71.179.35.136
----
Manual Page -- http://www.php.net/manual/en/soapclient.soapclient.php
Edit -- https://master.php.net/note/edit/98357
Del: integrated -- https://master.php.net/note/delete/98357/integrated
Del: useless -- https://master.php.net/note/delete/98357/useless
Del: bad code -- https://master.php.net/note/delete/98357/bad+code
Del: spam -- https://master.php.net/note/delete/98357/spam
Del: non-english -- https://master.php.net/note/delete/98357/non-english
Del: in docs -- https://master.php.net/note/delete/98357/in+docs
Del: other reasons-- https://master.php.net/note/delete/98357
Reject -- https://master.php.net/note/reject/98357
Search -- https://master.php.net/manage/user-notes.php