It's harder than I thought; I'm still not through with it but found these other posts that might be useful: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/8f7b408606c6934f http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/c5f77dee8cc3ddb3/f1c07299a7c7ad15 Regards Sebastian
On 31 Jul., 20:17, Sebastian Rothbucher <sebastian.rothbuc...@clarities.de> wrote: > Hi, > > I guess the simplest solution is to cast the service coming out of GWT > create and change the endpoint - which implies that you have to add > code each time GWT.create is used: > > private final SomeStandardDatabaseServiceAsync > someStandardDatabaseService = GWT > .create(SomeStandardDatabaseService.class); > if(someStandardDatabaseService instanceof ServiceDefTarget){ > > ((ServiceDefTarget)someStandardDatabaseService).setServiceEntryPoint("http: // > somehere"); > > } > > Hope this helps - I'm also still working on the topic... > > Best Regards > Sebastian Rothbucher > > On 20 Jul., 16:33, Youen <youen.ch...@gmail.com> wrote: > > > > > Thanks, it match to my needs. > > > I'll make it works > > > Regards, > > > Youen Chéné > > > On 15 juil, 16:13, Arthur Kalmenson <arthur.k...@gmail.com> wrote: > > > > We also ran into this issue while building a GWT based iPhone app > > > usingphonegap. We also didn't want to use JSONp as our servers were > > > Java based and GWT-RPC makes life easier. The solution lay in a blog > > > post by Ray > > > Cromwell:http://timepedia.blogspot.com/2009/04/gwt-rpc-over-arbitrary-transpor... > > > > The post describes a way to do GWT-RPC over any arbitrary transport > > > protocol. The two solutions for thephonegapcase is to use JSONp as > > > the underlying protocol or the window.name hack. We went with JSONp > > > and the code is open sourced. You can find the classes > > > here:http://code.google.com/p/gwt-app-framework/source/browse/#svn/trunk/g... > > > and the GWT module file configurations > > > here:http://code.google.com/p/gwt-app-framework/source/browse/trunk/gwt-af... > > > > Be for warned, JSONp is transported using GET, so make sure that your > > > requests will fit within the maximum GET length > > > limit:http://www.boutell.com/newfaq/misc/urllength.html > > > > Hope that helps, > > > -- > > > Arthur Kalmenson > > > > On Sat, Jun 12, 2010 at 10:02 AM, rhodebump <rhodeb...@gmail.com> wrote: > > > > All, > > > > I am building an iphone app using GWT/phonegap, so my GWT application > > > > will be running from the filesystem in Safari. > > > > Given this, would it make sense for me to use RPC to communicate with > > > > remote server? My assumption here is that running from the filesystem > > > > will allow me to do this. > > > > > I have been going down the road with JsonpRequestBuilder, but as I > > > > think about it, am I making things harder for myself using > > > > JsonpRequestBuilder when I could be using RPC? > > > > > Any thoughts? > > > > Phillip > > > > > This is for my personal projecthttp://www.spotmouth.comagrails/ > > > > drupal based backend. > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Google Web Toolkit" group. > > > > To post to this group, send email to > > > > google-web-tool...@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > > google-web-toolkit+unsubscr...@googlegroups.com. > > > > For more options, visit this group > > > > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.