Hi, My main problem is that I would like to call a restlet resource from my serverside project (running under maven and jetty on port 8282) using gwt-rest in the client side project. I am currently using the Cypal plugin for eclipse which runs Tomcat hosted mode on http://localhost:8888. It is clear from the request that the call is being received by the server, but then it fails to return anything. This is of course an error due to the single origin policy, where I'm trying to call a resource under a different port number.
After viewing several posts, I have then tried to run the GWTApplication.launch file (with jetty run from the command line under maven in the background) with the main class: com.google.gwt.dev.GWTShell, and arguments: -out bin address to my application.html -noserver -port 8282. This results in jetty being run in hosted mode, but I still get HTTP ERROR: 404, not found RequestURI ...Application.html. I have then tried to copy the compiled javascript/html from my client project to my serverside project src/main/webapp directory (Webapp directory, set for jetty using maven). However, I still get the above error. I have noted that setting up run configurations for jetty in eclipse works for the separate project folders i.e. if I open a web browser on the client project I can visualize my gwt project but can't interact with the .xml resource file, however if I run the jetty configuration for the server I can't visualise the GWT application which calls the restlet on a click event, but it shows the .xml resource well. So, I was just wondering how else can I call this resource? Is it possible to run it using only one project folder? Thanks in advance, Ed --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
