Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I find the Status of this??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Can I find the Status of this??
Divers
Thread ID:
00833468
Message ID:
00833468
Vues:
51
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
Répondre
Fil
Voir

Click here to load this message in the networking platform