Hi Neal,

XMethods is a directory of various web services that are available for
public use.  If you search Macromedia.com for web services you'll find
a good deal of stuff about both how to use (consume) them and create
(publish) them.  I have to sort of avoid trying to explain them,
because this e-mail would get very long.

This code may, however, get you started:

<cfset wQuote = createObject("webservice",
"http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl")>

<cfset delayedPrice = wQuote.getQuote("uci")>

<cfoutput>UCI's stock price: #delayedPrice#</cfoutput>

Please note that xMethods may not like you hitting this service on
every load of every page of your intranet, and that you'd want to look
into licensing this or a similar service for use every 15 minutes,
etc.

-joe
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to