Is your simulator and WebWorks SDK updated?
I tested the Live PlayBook with 2.0.1.358 and in the 2.0.0.7971 simulator without the problems that I see.
I am packaged with 2.2.0.15 WebWorks for the PlayBook SDK, and the only thing I changed is the identifier in the config.xml file, which was not accepted in the dotted packet.
OK, now I see what the problem is.
This is pretty obscure, but Java Smartphones simulators are configured to work with another old simulator called MDS Simulator. This is not necessary for most things, but provides network connectivity similar to what the device sees in a corporate BES environment. The simulator believes that it has a so-called "MDS" connection all the time, even if the MDS Simulator does not work.
When using the WebWorks application, if you use the default config.xml file without the <rim:connection>
(which is perfectly normal in most cases), it prioritizes MDS before TCP parameters. This is a problem because the sim thinks that it has an MDS connection when it does not actually occur, and that the connection attempt ultimately fails.
If you add the following bit of code to your config.xml file, this will reduce the priority of MDS and make it very simple.
<rim:connection timeout="60000"> <id>BIS-B</id> <id>TCP_WIFI</id> <id>TCP_CELLULAR</id> <id>MDS</id> <id>WAP2</id> <id>WAP</id> </rim:connection>
And one last critical element - you need to configure the simulator to use a simulated Wi-Fi network. Click on the top banner of the main screen (using the wireless indicator), then turn on Wi-Fi and click Wi-Fi Network in the settings and status. Then click on the default WLAN and follow the steps to link it.
source share