09-12-2012 02:43 AM
I have developed a social app for my organisation , it works fine over BIS and wifi but its not able to connect to internet over wifi ..my guess is probably the connectoin string specified in config.xml is not correct.
Below is what I have in my config.xml, do help and let me know if i am missing anything.
09-12-2012 11:26 AM
Those look correct based on this:
<rim:connection timeout="25000"> <id>MDS</id> <id>BIS-B</id> <id>TCP_WIFI</id> <id>TCP_CELLULAR</id> <id>WAP2</id> <id>WAP</id> </rim:connection>
You're free to rearrange/remove any of those <id> elements as you see fit.
I was hoping you could please clarify.
it works fine over...wifi but its not able to connect to internet over wifi
Do you mean that, when only WiFi is turned on, on the device, then the application works but the default browser does not?
09-12-2012 05:09 PM
Ah, in that case we'll probably need to see some code; specifically if you've identified "what" exactly is failing when going through the MDS / BES. The list you have there will prioritize each of the transports and should only attempt to go through the MDS if a direct TCP_WIFI route is not available.
This does not change any implementation in your application, as the OS will do the transport selection itself. However, we do have to be mindful of BES-specific configurations.
Would you be able to expand on what exactly isn't working in the application? It might give some leads for a root cause.
09-13-2012 12:00 AM
thnx for the reply.
the issue I am getting is that the call to the webservice is not going thru from the application when connected to BES.
the same thing works over wifi and BIS.
09-13-2012 10:13 AM
Do you have access to the BES? Specifically the MDAT logs to verify whether the request is actually hitting the MDS?
Also, does the connection attempt throw any errors? Does it timeout, etc.
I'm guessing the call to the webservice is a simple Ajax request? (i.e. XMLHttpRequest) HTTP or HTTPS and is it on a non-standard port? (i.e. not port 80?)
Wish I had a recommendation, but at this point there will likely be more questions than answers until we can get a good overall picture :-)
The fact that it works on WiFi and BIS would indicate some sort of environment setup. Perhaps there is a corporate firewall preventing access into the network, etc. It's hard to say just yet.