08-07-2009 02:57 PM
Hi All,
To give a bit of background. I am consuming a webservice from the client side, MDS definitely works, but I am trying to force other connection methods.
1) Does anyone know the WAP1.1 and TCP settings for Telus Mobility? I called them, and they were only able to provide TCP settings, but when I try them it does not connect. (gives a connection timeout or failed to connect error)
2) Do you know if Telus supports WAP2.0?
3) I have tried using the following querystring additions to connect various ways to the webservice.
MDS:
_url + ";deviceside=false"; WAP2.0: //get the service book records and iterate to find uid uid = records[i].getUid(); //bunch of stuff _url + ";ConnectionUID=" + uid; TCP: _url + ";deviceside=true;apn=tmix.imc.is;tunnelauthuserna
me=" + Phone.getDevicePhoneNumber(false) + "@1x.telus.mobility.com;tunnelauthpassword=" + DeviceInfo.getDeviceId();
If somebody can shed some light on what I may be doing wrong or give some WAP1.1/TCP settings I would appreciate it. I believe I've gone through every post and a large number of knowledge base articles.
Thanks,
Matt
Solved! Go to Solution.
08-08-2009 02:28 AM
Telus is a CDMA carrier so you don't need APN settings for Direct TCP connections. All you need is ";deviceside=true" and it will work fine. They support WAP2 as well, you should be able to get the UID from the service records (on my phone it's "WAP2").
Marc
08-10-2009 05:30 PM - last edited on 08-10-2009 05:32 PM
Marcn,
Thanks for your post. I was able to get TCP working, but no luck with WAP2 still.
When I iterate through my service records, I get a UID=WAP2 trans, so I use the following url:
This doesn't work for me. I've read other posts and it seems fine to have the space between WAP2 and trans.
Can you check your service book records in your BB Options and tell me what the UID is in there? I'd be interested to know if you used the exact same UID in your code to connect as what is stated in the service book.
Just thinking now, do you think I need to URL encode that string since there is a space?
08-10-2009 05:33 PM
The service record on my device is also "WAP2 trans" too. You also need to put "deviceside=true" in the URL, so it should be:
http://someurlhere.com;deviceside=true;ConnectionU
08-10-2009 05:34 PM
08-10-2009 05:49 PM
No need to URL encode, but the deviceside=true definitely needed to be there.