Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using XMLHTTP to access Web Services
Message
De
17/06/2002 12:54:11
Xiaodong Yan
Better Database Solutions
Spring, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Using XMLHTTP to access Web Services
Divers
Thread ID:
00669312
Message ID:
00669312
Vues:
59
Hi,

Just tried to get datetime from a "LocalTime" web services. I always get current time from the 1st run after a fresh start of VFP6. But, I am not able to get updated time if I re-run the same codes.

Something need to be closed/refreshed?

~Sheldon


LOHTTP=CREATEOBJECT('Microsoft.XMLHTTP')
LOHTTP.OPEN('GET','http://www.alethea.net/webservices/LocalTime.asmx/LocalTimeByZipCode?ZipCode=77379',.F.)
LOHTTP.send()
oSelection=LOHTTP.responseXML.selectnodes("//string")
lDatetime=oSelection.peekNode()
? lDatetime.text
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform