Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using XMLHTTP to access Web Services
Message
From
17/06/2002 12:54:11
Xiaodong Yan
Better Database Solutions
Spring, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Using XMLHTTP to access Web Services
Miscellaneous
Thread ID:
00669312
Message ID:
00669312
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform