View Single Post
Old 11-18-2008, 12:48 AM   #1 (permalink)
Thumbs Must Hurt
Join Date: Feb 2008
Model: 8800
Carrier: ATT
Posts: 65
Post Thanks: 0
Thanked 0 Times in 0 Posts
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.

Offline   Reply With Quote