Re: AW: AW: WSDL error can someone help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux