nusoap client - params passed only looks at first char
| From: | Vender, Joshua P | Date: | Mon, 27 Oct 2003 17:22:36 +0000 |
| Subject: | nusoap client - params passed only looks at first char | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1132@lists.php.net to get a copy of this message | ||
im testing a very simple client that passes a stock ticker and gets back
stock info... no matter what symbol is passed, it only looks up the first
character. i.e. "ETN" looks up "E", "SYS" looks up "S".
heres an example. see how [StockTicker] => E
http://www.eurora.com/test/test.php?symbol=etn
you can change the symbol in the get string.
require_once 'nusoap.php';
$soapclient = new
soapclient('http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.a
smx?WSDL ', true);
$senddata = array ("QuoteTicker"=>$symbol);
$dothisresult =
$soapclient->call('GetStockQuotes',$senddata,"urn:http://swanandmokashi.com/
");
print_r ($dothisresult);
what am i doing wrong?
Thanks
Josh