Hello All,
I have next code:
[code]Set HTTP = CreateObject("MSXML2.XMLHTTP")
request="URL"
HTTP.Open "POST", (request), False
HTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
'HTTP.setRequestHeader "Content-Type", "text/xml"
HTTP.send("recordName=some parameters")
set response=HTTP.responseXML[/code[/u]]
The question is: When responce is not so big, Im able to get xml DOM object
set response=HTTP.responseXML
But if this response is bigger that some amount, the HTTP.responseXML object is empty. The same behaviour could be seen for GET request. Is there any other objects that could be used instead of XMLHTTP? Will really appreciate, if somebody could help with that.
Solved. add .xml to "some URL" helped
I have next code:
[code]Set HTTP = CreateObject("MSXML2.XMLHTTP")
request="URL"
HTTP.Open "POST", (request), False
HTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
'HTTP.setRequestHeader "Content-Type", "text/xml"
HTTP.send("recordName=some parameters")
set response=HTTP.responseXML[/code[/u]]
The question is: When responce is not so big, Im able to get xml DOM object
set response=HTTP.responseXML
But if this response is bigger that some amount, the HTTP.responseXML object is empty. The same behaviour could be seen for GET request. Is there any other objects that could be used instead of XMLHTTP? Will really appreciate, if somebody could help with that.
Solved. add .xml to "some URL" helped