Marja Ribbers-de Vroed
2006-01-20 20:20:29 UTC
I'm trying to get a classic ASP application to pass some XML data to another server. For that purpose I use the MSXML4 ServerXMLHTTP object, but the send method is raising a timeout error: "msxml4.dll error '80072ee2' The operation timed out"
My code is:
Set l_oXmlHttp = Server.Createobject("MSXML2.ServerXMLHTTP.4.0")
l_oXmlHttp.open "POST", l_sXmlInterfaceUrl, False
l_oXmlHttp.setRequestHeader "Content-type", "text/xml"
l_oXmlHttp.send s_oXML.xml
The company that owns the server that I'm trying to post to is not very helpful and they keep suggesting that the problem is on my side.
But as a test I've tried to post to some other URL (one that I borrowed from an example that I found), and then the send method does not result in an timeout. In that case I correctly get a response status of 200.
Can this timeout be caused by something on my end (e.g. some IIS setting)?
Or is this likely to be a problem of the receiving server?
My code is:
Set l_oXmlHttp = Server.Createobject("MSXML2.ServerXMLHTTP.4.0")
l_oXmlHttp.open "POST", l_sXmlInterfaceUrl, False
l_oXmlHttp.setRequestHeader "Content-type", "text/xml"
l_oXmlHttp.send s_oXML.xml
The company that owns the server that I'm trying to post to is not very helpful and they keep suggesting that the problem is on my side.
But as a test I've tried to post to some other URL (one that I borrowed from an example that I found), and then the send method does not result in an timeout. In that case I correctly get a response status of 200.
Can this timeout be caused by something on my end (e.g. some IIS setting)?
Or is this likely to be a problem of the receiving server?
--
Marja
Marja