08-09-2009, 11:48 AM
Join Date: May 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | KSoap2 Connection Timeout
Please Login to Remove!
I have a project in which I have to download to the device a large amount of data from a .NET web service. I am using KSoap2 and everything works well until I actually start the download. I am getting a "Connection Timeout" error.
I have tested the web service separately (from a website) and the download takes around 5 minutes. I have also tested the BB project with a small amount of data from the same web service and everything works well. I am able to receive the return data, but as soon as I try to download larger chuck of data the connection times out. Having said that, I have 2 questions:
1. How to specify the connection timeout for HTTPTransport connection? I would like to be able to set it to 10 min for example to avoid the timeout error.
2. Is there a limit of the amount of data the device can receive when using HTTPTransport?
Thanks in advance,