#40071 [Opn->Asn]: SoapServer returns 'Object hasn't xxx property' fault
| From: | tony2001@php.net | Date: | Wed, 24 Jan 2007 09:32:30 +0000 |
| Subject: | #40071 [Opn->Asn]: SoapServer returns 'Object hasn't xxx property' fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107966@lists.php.net to get a copy of this message | ||
ID: 40071
Updated by: tony2001@php.net
Reported By: ville at pmd dot fi
-Status: Open
+Status: Assigned
Bug Type: SOAP related
Operating System: Debian Linux
PHP Version: 5.2.0
-Assigned To:
+Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2007-01-23 20:48:08] ville at pmd dot fi
The latest snapshot doesn't fix the problem, the returned error message
is still the same.
------------------------------------------------------------------------
[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] iliaa@php.net
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