For RPC calls you must use a proxy mechanism that will redirect certain calls transparently to desired location. Take a look on http://code.google.com/p/acris/wiki/SeparateClientAndServer , there is one implementation of such proxy.
On 24. Feb, 10:29 h., ramesh chiluveri <[email protected]> wrote: > Hai All, > > I want to integrate my GWT application in an external webpage but for > some reasons I can not/don't want to use an Iframe. > My client and my server are running on "localhost:8888" and my > external webpage is for testing purpose running on "localhost:8080". I > load the no-cache.js unsing a <script> tag in the external webpage (I > added '<add-linker name="xs"/>' in my gwt.xml file to allow cross site > scripting). > This works. So a simple button would be loaded in this external > webpage without problems. > > But when I try to make an GWT-RPC call i run into problems. The > "onFailure" method of the AsyncCallback will be called with no error. > So I "assume" that this is because of the same origin policy. > > Please advise how to fix this issue. > > Thanks > Ramesh -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
