Reputation: 2095
I am using GWT-platform + mgwt + phonegap. I am trying to make a call to my server using GWTP actions, but the call does not go through in the iOS simulater. The call works on the mobile browser. I was able to get RPC working though using- PhonegapUtil.prepareService((ServiceDefTarget) chartService,"www.text.com/a/", "b/cname" );
I enabled some logging and the asynccallback handler returns to the onFailure(..) method.
Any ideas?
Upvotes: 1
Views: 403
Reputation: 7985
In order to make GWT RPC calls work you will need to call the PhonegapUtil.prepareService method from gwt-phonegap.
If you are using gwt-platform you will need to do the same on their instance of the async service interface.
Upvotes: 1