Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listen to port 80
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00975220
Message ID:
00975257
Views:
12
>I need to create a web service or some code to listen to port 80 and suck in a XML file. Any ideas? TIA!

Is the XML file out on the internet? What do mean by "Listen"? If you have a URL to the file, you can use this code.
ox=CREATEOBJECT("Microsoft.xmlhttp")
ox.open("post","http://www.MyDomain.com/MyXMLFile.xml",.f.)
ox.send()
lcXML = ox.responseText
This will suck the XML file into the variable lcXML.

Hope it helps.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform