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

[email protected] (Dooley)
Newsgroups php.soap
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.