BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 08-09-2009, 11: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, 09: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

Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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