Re: Object hasn't xxx property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux