From: Joel <joel...@gmail.com>
Date: Wed, 16 Apr 2008 08:15:37 -0700 (PDT)
Local: Wed, Apr 16 2008 11:15 am
Subject: Re: Object Casting in PHP
Webservices & objects are a little bit complicated in PHP 4 (since
you're using nuSOAP vs the native phpsoap library, i assume you're on v4). Essentially, when you're transferring data to and from a webservice,
Did you try serializing your object on the webservice and returning a
On Apr 16, 9:07 am, Dave Naimish <davenaim...@gmail.com> wrote:
> Hi,
> I am newbie and recently I started working on PHP.
> Problem description:
> I have one class called Employee and it has one property called
> Now my first query is that how to return customized type using nuSOAP
> my code for consuming web service is like this,
> $client = new nusoap_client('http://localhost:5050/Projects/
> $emp = new Employee();
> $param = array('name' => 'employee name');
> $emp = $client->call('GetEmployeeDetails', $param);
> echo $message->Salary();
> When I execute above file in browser it returns following error:
> My assumption is that when I say
> AND THIS IS GETTING NIGHTMARE FOR ME :(
> Let me know if anyone of you have any solution for above problem.
> Regards,
> Dave Naimish You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||