BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-02-2010, 12:16 AM   #1
Ashis
Knows Where the Search Button Is
 
Join Date: Jun 2010
Model: NA
PIN: N/A
Carrier: NA
Posts: 15
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 12:18 AM..
Offline  
Old 07-02-2010, 07:10 AM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

What device? What carrier? What connection parameters are you appending to your URL?
Offline  
Old 07-02-2010, 07:40 AM   #3
Ashis
Knows Where the Search Button Is
 
Join Date: Jun 2010
Model: NA
PIN: N/A
Carrier: NA
Posts: 15
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, 08:19 AM   #4
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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, 08:28 AM   #5
Ashis
Knows Where the Search Button Is
 
Join Date: Jun 2010
Model: NA
PIN: N/A
Carrier: NA
Posts: 15
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, 09:03 AM   #6
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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, 09:16 AM   #7
Ashis
Knows Where the Search Button Is
 
Join Date: Jun 2010
Model: NA
PIN: N/A
Carrier: NA
Posts: 15
Default

oh thnx a lot. i will try to implement that.
Offline  
Old 07-02-2010, 09:41 AM   #8
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


National Instruments Mainframe Chassis - NI-PXIe-1071 w/Warranty picture

National Instruments Mainframe Chassis - NI-PXIe-1071 w/Warranty

$650.00



Fluke Networks Versiv Modular Mainframe AS IS picture

Fluke Networks Versiv Modular Mainframe AS IS

$1900.00



Chroma 6312A DC Electronic Load Mainframe **FOR PARTS ONLY, POWERS ON** picture

Chroma 6312A DC Electronic Load Mainframe **FOR PARTS ONLY, POWERS ON**

$150.00



Tektronix TM502A Two Slot Mainframe - Tested and Working picture

Tektronix TM502A Two Slot Mainframe - Tested and Working

$100.00



Chroma 6312 DC Electronic Load Mainframe  picture

Chroma 6312 DC Electronic Load Mainframe

$254.96



SHC SYSTEM 6 MAINFRAME + Mixed Modules 6-562,6-201,6-402. picture

SHC SYSTEM 6 MAINFRAME + Mixed Modules 6-562,6-201,6-402.

$99.99







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