Re: [SOAP] Soap ...
| From: | Shane Caraveo | Date: | Fri, 11 Apr 2003 18:34:24 +0000 |
| Subject: | Re: [SOAP] Soap ... | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-548@lists.php.net to get a copy of this message | ||
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