Re: nusoap client - params passed only looks at first char

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

 



Change:
$senddata = array ("QuoteTicker"=>$symbol);
to:
$senddata = array (array ("QuoteTicker"=>$symbol));

Joshua P Vender wrote:

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

-- 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