ID: 32455 Updated by: [EMAIL PROTECTED] Reported By: becicka at aarongroup dot cz -Status: Assigned +Status: Feedback Bug Type: SOAP related PHP Version: 5CVS-2005-03-31 Assigned To: dmitry New Comment:
I need to look into WSDL file to understand the bug. Can you email it to me. Previous Comments: ------------------------------------------------------------------------ [2005-04-03 18:25:11] [EMAIL PROTECTED] Assigning to the maintainer. ------------------------------------------------------------------------ [2005-04-01 10:58:10] becicka at aarongroup dot cz I try this (http://snaps.php.net/php5-latest.tar.gz) and there are the same situation. ------------------------------------------------------------------------ [2005-03-25 23:34:17] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2005-03-25 15:17:10] becicka at aarongroup dot cz Description: ------------ When I set a object property to unseted variable and than I call a SOAP function with this paramater, I get message Fatal error: SOAP-ERROR: Encoding: object hasn't 'name' property . Reproduce code: --------------- class Passenger { var $name; } $wsdl =& new SoapClient(WSDL_LOCATION, array("trace" => 1, 'exceptions' => 0)); $p = new Passenger; /* if ($xyz === null) $xyz = null; //if here is this row, it's works fine otherwise calling SOAP function failed */ $p->name = $xyz; //$xyz is not set!!! $wsdl->setPassenger($p); //call SOAP function failed ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32455&edit=1