Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Webservice Result Questions
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Webservice Result Questions
Miscellaneous
Thread ID:
00563760
Message ID:
00563760
Views:
49
I've been playing with consuming webservices that are listed on xmethods.net. Kinda of fun. But on a couple of them that I get to work, I get results back that I don't know how to handle.

EX1========================================================================

One was a stock quote, and it returned a to a variable an array (Example)

xResults=oGetQuotes.GetLastQuote("MSFT")

I tried to ? xResults and got a variable mismatch. In the debugger it showed it as an array:
-xResults [A]
|
------xResults[1] O
|-----xResults[2] O
|-----xResykts[3] O

I tried ? xResults[1].value

EX2=====================================================================
Another is supposed to return a listing of healthcare providers by zip
but it returns an Object

xResults=oGetProviders.GetProvidersByZip("12345")
? vartype(xResults) prints O

So my question is how can i determine what the properties of these objects are and then use them.

Thanks in Advance

Kirk
Next
Reply
Map
View

Click here to load this message in the networking platform