From:             david at giffin dot org
Operating system: Linux
PHP version:      5CVS-2004-11-29 (dev)
PHP Bug Type:     SOAP related
Bug description:  When Using WSDL, SoapServer doesn't handle private or 
protected properties

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 bug report at http://bugs.php.net/?id=30928&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30928&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=30928&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=30928&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30928&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30928&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30928&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30928&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30928&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30928&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30928&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=30928&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=30928&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30928&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30928&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30928&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30928&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30928&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30928&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30928&r=mysqlcfg

Reply via email to