Does not work in offline mode


The problem is when i try to call a web service that is online (hosted on a web) and the html page that is using the soap client is offline.

I want to use this soap client in a PhoneGap app. And in phonegap, the html pages are just put in www folder of the application. so they are not hosted. Then the soap client doesn't get called.

Please any suggestions or work around.