From: Dave Naimish <davenaim...@gmail.com>
Date: Thu, 17 Apr 2008 02:20:13 -0700 (PDT)
Local: Thurs, Apr 17 2008 5:20 am
Subject: Re: Object Casting in PHP
Right now I am not sure what all things I will be able to do but I am
going to start. I will let you know the update.
Thanks for your help so far.
Regards,
Dave Naimish
On Apr 16, 8:49 pm, Joel <joel...@gmail.com> wrote:
> I'd say yes, it's pretty much the way to go.
> serialize and base64 encode your object on the serverhttp://www.php.net/serializehttp://www.php.net/base64_encode
> then
> On Apr 16, 9:28 am, Dave Naimish <davenaim...@gmail.com> wrote:
> > Hi,
> > Thanks for your reply,
> > As I mentioned I am newbie so I would request you give little more
> > Is it very complex to achieve in PHP, Is serialization only way to
> > BTW, I am using PHP 5.0 and nuSOAP is client's requirement.
> > Thanks for bearing my silly questions.
> > Regards,
> > Dave Naimish
> > On Apr 16, 8:15 pm, Joel <joel...@gmail.com> wrote:
> > > Webservices & objects are a little bit complicated in PHP 4 (since
> > > 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- Hide quoted text -
> > > - Show quoted text -- Hide quoted text -
> - Show quoted text -
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.
| ||||||||||||||