Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I find the Status of this??
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Can I find the Status of this??
Miscellaneous
Thread ID:
00833468
Message ID:
00833468
Views:
50
Hi All!

Is there a way I can find the status of oXmlHttp
to see if there is a Reponse waiting?? Also, is there
a way I can set the timeout for the send?? Sometimes
the receiving website will not be available and it
will sit on the oXmlhttp.Send Line forever...

Thanks in Advance!
Bob
cUrl 	 = 'https://test.test.com/test.asp'
cString  = FILETOSTR('Outfile.Xml')
oXmlHTTP = CREATEOBJECT("MSXML2.XMLHTTP")
oXmlHTTP.OPEN("POST", cUrl)
oXmlHTTP.setRequestHeader("Content-Type","text/xml")
oXmlHTTP.SEND(cString) && Get error on this line.

lcXML = oXmlHTTP.responseText
Reply
Map
View

Click here to load this message in the networking platform