Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Webservice Result Questions
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Webservice Result Questions
Divers
Thread ID:
00563760
Message ID:
00563760
Vues:
52
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform