BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-02-2010, 01:16 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2010
Model: NA
PIN: N/A
Carrier: NA
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default SOAP connection problem on device.

Please Login to Remove!

Hi
i am able to connect to a .net webservice through ksoap connection on simulator but while testing on device nothing is coming. i tried to log through EventLogger but its just an error is coming
e net.rim.tcp -TNLF 0

Last edited by Ashis : 07-02-2010 at 01:18 AM.
Offline  
Old 07-02-2010, 08:10 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

What device? What carrier? What connection parameters are you appending to your URL?
Offline  
Old 07-02-2010, 08:40 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2010
Model: NA
PIN: N/A
Carrier: NA
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh sorry i missed to mention those.
m trying on 8700, 8530, 9530
Carrier is Airtel
m not appending anything to the url. just trying to run that BlackberryFieldDemo sample
Offline  
Old 07-02-2010, 09:19 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

OK, that will not work.

ON the Blackberry, not appending any connection parameter means "give me the default transport". This will work on some devices, but not on most. On the simulator, this works because the MDS emulates a BES-connected device (carrier agnostic).

So, you'll need to obtain the APN info from Airtel, and append ";deviceside=true", along with the APN information to your URL.

See these articles:

Different ways to make an HTTP or socket connectio... - BlackBerry Support Community Forums

Specify APN information for a direct TCP connectio... - BlackBerry Support Community Forums
Offline  
Old 07-02-2010, 09:28 AM   #5 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2010
Model: NA
PIN: N/A
Carrier: NA
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

oh thnx for the reply and those links.
but if i will use any Carrier specific APN along with the url then do i hv to maintain a list for all available for carrier so that user of any carrier can use my app?
Offline  
Old 07-02-2010, 10:03 AM   #6 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

My suggestion is that you use the API's to determine what transport(s) are available to you, then craft your connection parameters accordingly.

BES
BIS-B (Alliance member)
WiFi
WAP2
Direct TCP
WAP1.1

You always want to use BES or WiFi if available.

If you are not an alliance member, the next best choice is WAP2, since you can find the parameters in the service book (see the attached article above).

Failing that, Direct TCP is a good fallback. You can either detect the network name and store the APN data internally, or you can make your customer add the APN info in the device TCP options.
Offline  
Old 07-02-2010, 10:16 AM   #7 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2010
Model: NA
PIN: N/A
Carrier: NA
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

oh thnx a lot. i will try to implement that.
Offline  
Old 07-02-2010, 10:41 AM   #8 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

You might want to check with Airtel and make sure they support WAP2 before you go down that path. Not all carriers do.

You should be able to open your service book and locate the WAP2 entry.
Offline  
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 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.