Skip to main content
Inspiring
June 20, 2007
Answered

Outputting all info from stock quote(webservice)

  • June 20, 2007
  • 1 reply
  • 326 views
Hi all,
I am invoking a webservice successfully to show a stock quote for the stock symbol GGYRF.PK but it is a lot of information anjd I don´t know how to define what I output. How do I define what I output?

have
Webservice:
http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&WSID=9

Testing Webpage:
http://216.219.94.105/quote.cfm

<cfinvoke webservice=" http://www.webservicex.net/stockquote.asmx?WSDL" method="GetQuote" returnvariable="quote">
<cfinvokeargument name="symbol" value="GGYRF.PK">
</cfinvoke>

<cfoutput>
<b>#quote#</b>
</cfoutput>
<cfabort>
This topic has been closed for replies.
Correct answer Newsgroup_User
<cfdump...> is your friend when working with webservices, xml and other
complex data.

<cfdump var="#quote#">

Most likely this will not show you any data yet, it will show all the
top level getter and setter functions of the webservice. Drill down
into those functions and play until you get what you want.

1 reply

Newsgroup_UserCorrect answer
Inspiring
June 20, 2007
<cfdump...> is your friend when working with webservices, xml and other
complex data.

<cfdump var="#quote#">

Most likely this will not show you any data yet, it will show all the
top level getter and setter functions of the webservice. Drill down
into those functions and play until you get what you want.

Inspiring
June 20, 2007
cfdump worked a treat and showed me all the var.