|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-25 23:34 UTC] sniper@php.net
[2005-04-01 10:58 UTC] becicka at aarongroup dot cz
[2005-04-03 18:25 UTC] tony2001@php.net
[2005-04-20 16:28 UTC] dmitry@php.net
[2005-06-20 10:15 UTC] becicka at aarongroup dot cz
[2005-10-11 12:16 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 12:00:02 2025 UTC |
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