I am developing an S40 App thet needs to receive information from a webserver.
In the emulator everything works fine. However, in the mobile (Asha 311 with firmware version 07.36) , following problems arise:

Even though mobile has WiFi connected, mobile doesn't send nor receive info through webservice. it keeps ignores WiFi and I get
java.io.IOException: 29-Error in HTTP operation “Network Link is disallowed to use and closed”

If I use Mobile data connection, mobile is able to send info through web service but unable to receive
And I get following error:
java.io.IOException: 28-Error in HTTP operation “Network Link closed”

Any idea how to solve this?