#40071 [Opn->Fbk]: SoapServer returns 'Object hasn't xxx property' fault
| From: | iliaa@php.net | Date: | Tue, 09 Jan 2007 14:26:34 +0000 |
| Subject: | #40071 [Opn->Fbk]: SoapServer returns 'Object hasn't xxx property' fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107365@lists.php.net to get a copy of this message | ||
ID: 40071
Updated by: iliaa@php.net
Reported By: ville at pmd dot fi
-Status: Open
+Status: Feedback
Bug Type: SOAP related
Operating System: Debian Linux
PHP Version: 5.2.0
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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