How can I resolve an issue with Microsoft.XMLHTTP posting?
Posted on 2007-11-27
I am posting an xml document to an third-party server, and it is failing with the error 0x800c0008. I am able to use the same code to post to a different third-party server successfully. How can I trouble shoot the issue prior to contacting the third party?
Here is my vbscript code:
' Create XMLHTTP Object
Set oXMLhttpObject = WScript.CreateObject("Microsoft.XMLHTTP")
' Open connection
' Set Header for content type
oXMLhttpObject.setRequestHeader "Content-type", "text/xml"
' Send XML string
' Read Response
strResponseStatus = oXMLhttpObject.status
strResponseText = oXMLhttpObject.responseText