Re: [SOAP] Object hasn't xxx property

From: Date: Mon, 08 Jan 2007 07:40:08 +0000
Subject: Re: [SOAP] Object hasn't xxx property
References: 1 2  Groups: php.soap 
Request: Send a blank email to php-soap+get-2415@lists.php.net to get a copy of this message
Adam Ashley kirjoitti:
Try defining an object that matches your type: class objUserDetails { public userId; public firstName; public lastName; }
Unfortunately this didn't help (note: $'s had to be added to the variable names), I still get the same error. I tried to return the object over SoapVar class: return array( 'authenticatedUserDetails' => new SoapVar($d, SOAP_ENC_OBJECT, "objUserDetails") ); Maybe a bug should be filed to PHP bugzilla. I found some similar bugs http://bugs.php.net/bug.php?id=30928 http://bugs.php.net/bug.php?id=32455 Both of them is announced to be fixed though. Thanks, Ville

« previous php.soap (#2415) next »