#30928 [Opn->Asn]: When Using WSDL, SoapServer doesn't handle private or protected properties
| From: | derick@php.net | Date: | Mon, 29 Nov 2004 07:41:12 +0000 |
| Subject: | #30928 [Opn->Asn]: When Using WSDL, SoapServer doesn't handle private or protected properties | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-69599@lists.php.net to get a copy of this message | ||
ID: 30928
Updated by: derick@php.net
Reported By: david at giffin dot org
-Status: Open
+Status: Assigned
Bug Type: SOAP related
Operating System: Linux
PHP Version: 5CVS-2004-11-29 (dev)
-Assigned To:
+Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2004-11-29 05:45:50] david at giffin dot org
Description:
------------
When using WSDL with a complex type definition the SoapServer doesn't
handle static, private or protected properties correctly. SoapServer
returns a SoapFault: "SOAP-ERROR: Encoding: object hasn't 'xxxx'
property." Where 'xxxx' is the property defined as static, private or
protected.
FYI: This bug is similar to Bug #30799. Bug #30799 is fixed when
returning a user defined object, which is not defined in the WSDL.
Reproduce code:
---------------
I can post some code if you need it. It would be too much code for this
form.
Expected result:
----------------
The SoapServer would return the data present in the static, private or
protected property if it is defined as an element for the complexType
defined in the WSDL.
Actual result:
--------------
The SoapServer returns a SoapFault: "SOAP-ERROR: Encoding: object
hasn't 'xxxx' property."
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30928&edit=1