BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 11-18-2008, 12:48 AM   #1
hemant.bobade
Thumbs Must Hurt
 
Join Date: Feb 2008
Model: 8800
PIN: N/A
Carrier: ATT
Posts: 65
Default Calling Web Service using WiFi Connection

Please Login to Remove!

Hello All,
I am developing an Application in BB in which I am calling the web service.

This is working properly with the carrier internet.

But when I am trying to call the web service from the device with Wi-Fi Connection, I am not able to connect to Web service.

To use Wi-Fi Connection, I read te BlackBerry documentation which says to append the "deviceside=true;interface=wifi" infront of the url.

I am making HttpConnection like this,

url = "http://server-IP/web-service;deviceside=true;interface=wifi;ConnectionT ype=mds-public";

I tried with deviceside=false also, but still it is not working

In norml case, with deviceside=false;ConnectionType=mds-public, it is working OK.

Can anyone please guide me here, what am I doing wrong? Am I missing something obvious here.

Is there any other setting I need to do to call Web service with WiFi connection.
Thanks,

Hemant.
Offline  
Old 11-18-2008, 12:55 AM   #2
zerog46
iPhone Mod!
 
zerog46's Avatar
 
Join Date: May 2007
Location: In a House
Model: 9650
Carrier: VZW Bold
Posts: 6,776
Default

Moved to the Developer Forum, you will have better luck here.
__________________
Life is not holding a good hand. Life is playing a poor hand well.
Offline  
Old 11-19-2008, 08:27 AM   #3
robinShazam
Knows Where the Search Button Is
 
robinShazam's Avatar
 
Join Date: Oct 2008
Location: london, uk
Model: 8120
OS: 4.3.0.67
PIN: N/A
Carrier: Lots
Posts: 15
Default

I tried interface=wifi and couldn't get it to work on our 8120.

I could see a WPTCP service record with "wi-fi" in the name so i tried using that and it worked ok. So, get the service books for cid WPTCP and check the name of each for "wi-fi" (i also check for "wifi") and use the uid in the connection string - ;deviceside=true;ConnectionUID=<whatever>

If anyone has an better alternative please say!
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


MSA 10042621 Altair 5X Sampling Probe Straight Air-Line 1' Color Black (E2) picture

MSA 10042621 Altair 5X Sampling Probe Straight Air-Line 1' Color Black (E2)

$295.00



🔅MSA altair 4X multi gas Meter Monitor detector, (O2,H2S,CO,LEL) & Charger picture

🔅MSA altair 4X multi gas Meter Monitor detector, (O2,H2S,CO,LEL) & Charger

$399.99



MSA 10106725 Sensor with Alarms 10/1700 ppm with Altair 4X/5X Multi-Gas Detector picture

MSA 10106725 Sensor with Alarms 10/1700 ppm with Altair 4X/5X Multi-Gas Detector

$199.00



Commercial Convection Steamer Altair picture

Commercial Convection Steamer Altair

$2050.00



MSA 10042621 Altair 5X Sampling Probe Straight Air-Line 1' Color Black (E2) picture

MSA 10042621 Altair 5X Sampling Probe Straight Air-Line 1' Color Black (E2)

$325.00



MSA Sensor Kit ALTAIR Pro ALTAIR 5X 10080222 picture

MSA Sensor Kit ALTAIR Pro ALTAIR 5X 10080222

$332.65







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