Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How ot get big XML as a responce from web service (QTP, POST request)
#1
Not Solved
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  http request parsing gerfred 1 1,866 06-18-2015, 05:54 PM
Last Post: gerfred
  Bad Request anujkabra1985 0 1,855 05-08-2015, 02:44 AM
Last Post: anujkabra1985
  New Service Pack for UFT 12 has been just released supputuri 0 1,598 12-24-2014, 10:50 AM
Last Post: supputuri
Exclamation Creating Simulator using service Test Walaa Elyammany 0 2,237 08-11-2014, 05:21 PM
Last Post: Walaa Elyammany
  Web Service exceptions litocar 0 2,855 08-16-2013, 07:43 AM
Last Post: litocar

Forum Jump:


Users browsing this thread: 1 Guest(s)