title: gwtplatform rpc dispatch cross domain request
body: <p>Can I perform cross domain request in GWTP RPC Dispatch?</p>
  
  <p>I need to do request from my front-end server to back-end server. At this moment in my local environment I need to perform request on different port e.g. from <a href="http://localhost:8090/app" rel="nofollow">http://localhost:8090/app</a> to <a href="http://localhost:8080/api" rel="nofollow">http://localhost:8080/api</a>. In production I'm going to do requests like mysite.com -> mysiteapi.com.</p>
  
  <p><strong>UPD</strong></p>
  
  <p>Please provide an description for what to do to get GWTP making request on another domain.</p>
  
  <p>For pure GWT I need to have the code like this:</p>
  
  <pre><code>GreetingServiceAsync greetingService = GWT.create(GreetingService.class);
  (ServiceDefTarget)greetingService).setServiceEntryPoint("http://localhost:8888/mymodule/greet");
  </code></pre>
  
  <p>What about GWTP? Because by default GWTP does requests on the same domain. I use GIN/Guice.</p>