08-30-2011 12:44 AM
I can run every thing good in simulator. But when i run in device i got "java.io.IOException : Tunnel Failed" Error.
I am using soap protocol to access Dotnet webservice. I can understood the error is coming because of calling
webservice. But ,I dont know how to solve this error. In my device WIfi, mobile network both are connected.
Any help please,
Thanks in advance.
08-30-2011 02:39 AM
In the BlackBerry there are few ways to connect to the Internet:
You need to add to the end of your requested URL some additional info. For example, for Wi-Fi you should add ";deviceside=true;interface=wifi", like this: http://supportforums.blackberry.com;deviceside=tru
For BES - ;deviceside=false
For BIS - ;deviceside=false;connectionUID=<UID from the ServiceBook>
For WAP - ;deviceside=true;ConnectionUID= <UID from the ServiceBook>
For direct TCP - ;deviceside=true
Hopes this should help
08-30-2011 04:08 AM
Further information describing the options, as discussed in the previous post, are included in this KB article:
If this area is new to you, can I suggest that you type 'network' in the Search box and review the tutorials/Videos that you will find.
08-31-2011 12:48 AM
Thanks to all,
I solved my error. Its my mistake only. I used two connection. In one connection i used "interface=wifi" in suffix, in other i forgot to use that. Now i corrected it.
ThankU once again to all.