ID: 40071 User updated by: ville at pmd dot fi Reported By: ville at pmd dot fi -Status: No Feedback +Status: Open Bug Type: SOAP related Operating System: Debian Linux PHP Version: 5.2.0 New Comment:
The latest snapshot doesn't fix the problem, the returned error message is still the same. Previous Comments: ------------------------------------------------------------------------ [2007-01-17 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2007-01-09 14:26:34] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ [2007-01-09 03:29:26] ville at pmd dot fi Description: ------------ SoapServer raises an 'Object hasn't xxx property' error when trying to return an object (WSDL complextype) from service class. Different methods of returning an object (array, PHP object, SoapVar with SOAP_ENC_OBJECT attribute...) ends up to the same result. The bug is similar to an already fixed bug #30928 Reproduce code: --------------- http://ville.mattila.fi/php/soaptestservice.phps http://ville.mattila.fi/php/wsdl/complextypetest.wsdl Expected result: ---------------- At the client side: a returned object with firstName and lastName elements filled with lowercase and uppercase versions of given authToken. Actual result: -------------- At the client side: SOAP-ERROR: Encoding: object hasn't 'firstName' property ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40071&edit=1