BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 08-09-2009, 10:48 AM   #1 (permalink)
New Member
Join Date: May 2009
Model: 8330
Carrier: T-Mobile
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default KSoap2 Connection Timeout

Please Login to Remove!

Hello everyone,

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,

Old 10-16-2009, 08:46 AM   #2 (permalink)
New Member
Join Date: Aug 2009
Model: 8300
Carrier: claro
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts


Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.