Hello,
I am having a problem downloading large amounts of data using the HttpClient library. My application is calling a web service that performs a database query, which sometimes produces a large amount of data, and may take some time to respond (but it is not timing out, less than 20 seconds). My timeout is set to 60000 ms.
The HttpClient library seems to fail at random places, and does not get the entire piece of xml (I am connecting the input stream to the xml Sax parser).
When I "slow down" the parser (with a timer) to make it pull the data slowly it works, but it needs a fairly big delay in the timer, about 200-250 ms between data chunks.
Any ideas?
Thanks!
Joe
I am having a problem downloading large amounts of data using the HttpClient library. My application is calling a web service that performs a database query, which sometimes produces a large amount of data, and may take some time to respond (but it is not timing out, less than 20 seconds). My timeout is set to 60000 ms.
The HttpClient library seems to fail at random places, and does not get the entire piece of xml (I am connecting the input stream to the xml Sax parser).
When I "slow down" the parser (with a timer) to make it pull the data slowly it works, but it needs a fairly big delay in the timer, about 200-250 ms between data chunks.
Any ideas?
Thanks!
Joe