note 98357 deleted from soapclient.soapclient by crell

From: Date: Mon, 04 Apr 2022 16:49:45 +0000
Subject: note 98357 deleted from soapclient.soapclient by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-218067@lists.php.net to get a copy of this message
Note Submitter: tim at tdinternet dot com ---- 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).

« previous php.notes (#218067) next »