also this might help:

http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html

On Jun 2, 11:58 pm, Sripathi Krishnan <sripathi.krish...@gmail.com>
wrote:
> Its not a GWT limitation, its a browser restriction - Same Origin Policy.
>
> There are ways to workaround the limitation. In your case, you can setup a
> proxy server to forward the requests from one domain to another. Apache
> mod_proxy can help you with this.
>
> For example, suppose you 
> havehttp://rpc.example.com/MyRpcServiceandhttp://UI.AnotherExample.com/. You 
> can setup Apache to forward requests 
> fromhttp://UI.AnotherExample.com/services/*to rpc.example.com. Then, you'd
> configure your RPC client to send requests to "../services/MyRpcService".
> Since the browser is sending the request to the same domain, everything
> works fine.
>
> It works well (we have our production systems working that way), but I don't
> recommend using it unless you have run out of options.
>
> --Sri
>
> On 1 June 2010 11:35, Umesh Adtani <adt...@gmail.com> wrote:
>
>
>
> > I have a RPC servlet that I would like to make available to other GWT
> > application developers.  The problem that I currently see is that
> > GWT.create(<ServiceInterfaceClass>) requires the service to be
> > deployed on the same host where the GWT application is deployed.
> > There is no way to do something like
> > GWT.create(<ServiceInterfaceClass>,<URL-where-service-is-deployed>) to
> > create the handle to the service.
>
> > From client's perspective, this means that if your GWT application
> > talks to multiple RPC services hosted on various different hosts, then
> > there is no way to talk to those services even if you have shared and
> > client code-base (containing interfaces, asyncs etc) available to you
> > in some form of jar files.  Is there a way to get this working in
> > current GWT versions?
>
> > --
> > 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<google-web-toolkit%2Bunsubs 
> > cr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://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.

Reply via email to