#30928 [Asn->Csd]: When Using WSDL, SoapServer doesn't handle private or protected properties

From: Date: Tue, 07 Dec 2004 17:30:11 +0000
Subject: #30928 [Asn->Csd]: 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-69899@lists.php.net to get a copy of this message
ID: 30928 Updated by: dmitry@php.net Reported By: david at giffin dot org -Status: Assigned +Status: Closed Bug Type: SOAP related Operating System: Linux PHP Version: 5CVS-2004-11-29 (dev) Assigned To: dmitry New Comment: Fixed in CVS HEAD and PHP_5_0. 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

« previous php.bugs (#69899) next »