Re: [SOAP] Soap ...
| From: | Carl Aarnes | Date: | Fri, 11 Apr 2003 18:47:03 +0000 |
| Subject: | Re: [SOAP] Soap ... | ||
| References: | 1 2 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-549@lists.php.net to get a copy of this message | ||
Yeah you were right about the URL, that it must be more wrong...
I've looked at Pear and it seems a bit complicated, so thought nuSoap, would
be easier to set up....
ill better give Pear another try...
Carl
"Shane Caraveo" <shane@caraveo.com> wrote in message
news:3E970AB0.1030508@caraveo.com...
> I do think NuSOAP is still being maintained somewhat, it's just been a
> few months since the last release of it. But I'm the same way, I get
> quiet for a few months, then pick up steam for a while again :)
> Shane
>
> Danny Shepherd wrote:
> > The wsdl URL is wrong for starters - should probably be
> >
> > http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl
> >
> > I don't think nuSOAP is really maintained any more - you'd probably be
> > better off using Pear::Soap instead,
> >
> > HTH
> >
> > Danny Shepherd
> >
> >
> > -----Original Message-----
> > From: Carl Aarnes [mailto:carl.aarnes@broadpark.no]
> > Sent: 11 April 2003 12:21
> > To: soap@lists.php.net
> >
> > Hi....
> > Im using Php4.3.2RC1(ISAPI module) on IIS5.0 Win2000 pro.
> > Now im trying to learn Soap and doing so using nuSoap,
> > but seems im getting trouble ...
> > the following code gives these errors.
> >
> > Warning: Invalid argument supplied for foreach() in
> > D:\php-4.3.2RC1-Win32\nuSoap\nusoap.php on line 4060
> > Fatal error: Call to undefined function: getquote() in
> > d:\inetpub\wwwroot\stockClient.php on line 7
> >
> > I cant seem to figure out whats wrong, any help?
> >
> > <?php
> >
> > include('nusoap.php');
> >
> > $s = new
> >
> > soapclient('http://services.xmethods.net/soap/urn:xmethods.net-delayed-q
> > uote
> > s.wsdl','wsdl');
> > $p = $s->getProxy();
> > $sq = $p->getQuote('ibm');
> >
> > if(!$err = $p->getError()) {
> > print "IBM current stock price: $sq.";
> > }
> > else
> > {
> > print "ERROR: $err";
> > }
> >
> > print '<xmp>'.$p->request.'</xmp>';
> > print
> > '<xmp>'.str_replace('><',">\n<",$p->response).'</xmp>';
> >
> > ?>
> >
> >
> >
> > regards
> > Carl
> >
> >
> >
>
>