From: ville at pmd dot fi Operating system: Debian Linux PHP version: 5.2.0 PHP Bug Type: SOAP related Bug description: SoapServer returns 'Object hasn't xxx property' fault
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 bug report at http://bugs.php.net/?id=40071&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40071&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40071&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40071&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40071&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40071&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40071&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40071&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40071&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40071&r=support Expected behavior: http://bugs.php.net/fix.php?id=40071&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40071&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40071&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40071&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40071&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40071&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40071&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40071&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40071&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40071&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40071&r=mysqlcfg