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

From: Date: Mon, 27 Oct 2003 17:43:13 +0000
Subject: Re: nusoap client - params passed only looks at first char
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-1134@lists.php.net to get a copy of this message
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


« previous php.soap (#1134) next »