Calling a GWT service in a different context than the GWT Module Base?

Posted by Epaga on Stack Overflow See other posts from Stack Overflow or by Epaga
Published on 2010-04-13T13:32:31Z Indexed on 2010/04/13 14:22 UTC
Read the original article Hit count: 517

Filed under:
|
|
|

I have a GWT module with the X-GWT-Module-Base http://host:8080/foo/ and would like to call a (GWT) service which is located at http://host:8080/bar/. The reason is for example that I want to be able to share a GWT service between two different GWT client projects.

All I've gotten to work so far is if the service is located within the module context, i.e. http://host:8080/foo/bar works fine, using @RemoteServiceRelativePath("bar") in my service interface.

It seems that the @RemoteServiceRelativePath only allows a value relative to the module base URL...so is there some other way to accomplish what I'm trying to accomplish?

© Stack Overflow or respective owner

Related posts about gwt-rpc

Related posts about gwt