[UPHPU] SOAP question
Chad Sollis
uphpu at sollis.net
Wed Nov 14 08:23:16 MST 2007
Thanks Jordan,
says "undefined function"
I did get it to work (sort of, still working out some kinks) with
$client = new SoapClient($wsdl);
$params = array("login"=>array("username"=>$user,"password"=>$pass));
$results = $client->call("login",$params);
I got the login to work, now I am trying to get the secondary calls to work.
Thanks.
~Chad
On Nov 13, 2007 11:23 AM, Jordan S. Jones <jordan at racistnames.com> wrote:
> Chad Sollis wrote:
> > Hello,
> >
> > I am in a slight predicament. I have an application that is running
> > on an old version of pear soap. I am trying to initiate the object
> > like this:
> >
> > $wsdl = 'http://path/to/wsdl';
> > $user = 'username';
> > $pass = 'password';
> >
> > $client = new SoapClient($wsdl,true);
> > $results = $client->login($user,$pass);
> >
> > I am getting an error that says the login function is undefined. Any
> > ideas how to use the functions in the wsdl on an older version of pear
> > soap, specifically the authentication piece.
> >
> > Thank you in advance.
> >
> > ~SOL
> >
> > _______________________________________________
> >
> > UPHPU mailing list
> > UPHPU at uphpu.org
> > http://uphpu.org/mailman/listinfo/uphpu
> > IRC: #uphpu on irc.freenode.net
> What does the following output?
>
> $client->__getFunctions ();
>
> Jordan S. Jones
>
--
/--------------------------/
Chad Sollis
chad at sollis.net
801.792.7651
More information about the UPHPU
mailing list