Re: AW: AW: [SOAP] WSDL error can someone help

From: Date: Mon, 21 Jan 2008 12:38:43 +0000
Subject: Re: AW: AW: [SOAP] WSDL error can someone help
References: 1 2 3 4  Groups: php.soap 
Request: Send a blank email to php-soap+get-2729@lists.php.net to get a copy of this message
Hmm tried, that similar error. Fatal error: Uncaught SoapFault exception: [Client] Function ("getProxy") is not a valid method for this service in /var/www/distribsys/newtest/client.php:6 Stack trace: #0 [internal function]: SoapClient->__call('getProxy', Array) #1 /var/www/distribsys/newtest/client.php(6): SoapClient->getProxy() #2 {main} thrown in /var/www/distribsys/newtest/client.php on line 6 This is my clients code. <?php require_once('nusoap.php'); $c = new soapclient('http://localhost/distribsys/newtest/server.php?wsdl'); $proxy = $c->getProxy(); $stockprice = $proxy->getStockQuote('ABC'); #$stockprice = $c->call('getStockQuote',array('symbol' => 'ABC')); echo "The stock price for 'ABC' is $stockprice."; ?> -- View this message in context: http://www.nabble.com/WSDL-error-can-someone-help-tp14985983p14996502.html Sent from the Php - Soap mailing list archive at Nabble.com.

« previous php.soap (#2729) next »