BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-21-2010, 01:14 PM   #1
robmind
New Member
 
Join Date: Jun 2010
Model: 9000
PIN: N/A
Carrier: yui
Posts: 1
Default Edge Connection String Error,

Please Login to Remove!

Hi,

I develop ksoap application with blackberry. I have 8520.
My application works with wifi, but doesnt works with edge connection.
I tried below connection strings. But doesnt work.
Can you help me?

PHP Code:
 public String getHTTPAdd() {
        
String serviceUrl "";
        if (
radio.isSelected() == true){
            
setIsConStr(";interface=wifi"); 
            
serviceUrl "ttp://localhost/test/test.asmx";
        }
        else if (
radio2.isSelected() == true){
            
setIsConStr(";interface=wifi;deviceside=true");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }else if (
radio3.isSelected() == true){
            
setIsConStr(";19780/rim.net.gprs");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }
        else if (
radio4.isSelected() == true){
            
setIsConStr(";XXXXXXXXXXXXXXXX");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }
        else if (
radio5.isSelected() == true){
            
setIsConStr(";deviceside=true");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }
        else if (
radio6.isSelected() == true){
            
setIsConStr(";deviceside=false");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }
        else if (
radio7.isSelected() == true){
            
setIsConStr(";deviceside=false;ConnectionType=mds-public");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }
        else{
            
setIsConStr(";rim.net.gprs");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }
        return 
serviceUrl;
    } 

Also, i tried this example,
PHP Code:
setIsConStr(";deviceside=true;ConnectionUID=" +uid+";ConnectionType=mds-public"); 
PHP Code:
setIsConStr(";deviceside=false;ConnectionUID=" +uid+";ConnectionType=mds-public"); 
PHP Code:
setIsConStr(";deviceside=true;ConnectionUID=" +uid+""); 
PHP Code:
setIsConStr(";deviceside=false;ConnectionUID=" +uid+""); 
And, againly doesnt works.

(as an additional info, I use KSOAP Api to call Webservice)

Last edited by robmind; 07-21-2010 at 01:20 PM..
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


OEM Dell XPS 8910 8920 8930 Alienware Aurora R5 R6 R7 Front Cooling Fan 7M0F5 picture

OEM Dell XPS 8910 8920 8930 Alienware Aurora R5 R6 R7 Front Cooling Fan 7M0F5

$13.81



NEW DELL OEM REPLACEMENT PROJECTOR LAMP FOR 4220 4320 GENUINE ORIGINAL  picture

NEW DELL OEM REPLACEMENT PROJECTOR LAMP FOR 4220 4320 GENUINE ORIGINAL

$198.22



DELL 330-6581 3306581 725-10229 OEM LAMP FOR 1510X 1610HD 1610X  - Made By DELL picture

DELL 330-6581 3306581 725-10229 OEM LAMP FOR 1510X 1610HD 1610X - Made By DELL

$39.98



Genuine OEM Dell 2375 B2375dnf B2375dfw 110V Fuser fixing N41P2 sku 724-BBCI picture

Genuine OEM Dell 2375 B2375dnf B2375dfw 110V Fuser fixing N41P2 sku 724-BBCI

$94.99



OEM Dell 3310 2 in 1 LCD Touch Screen D2TNH NV133FHM-T00 06GHX8 picture

OEM Dell 3310 2 in 1 LCD Touch Screen D2TNH NV133FHM-T00 06GHX8

$54.00



Genuine Dell OEM G Series G7 7790 CPU and Graphics Heatsink Assembly XRF05 picture

Genuine Dell OEM G Series G7 7790 CPU and Graphics Heatsink Assembly XRF05

$20.30







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