title: Calling GWT RPC service
body: <p>I have been going through the google tutorial ( which I find very good ) at
  <a href="https://developers.google.com/web-toolkit/doc/latest/tutorial/RPC" rel="nofollow">https://developers.google.com/web-toolkit/doc/latest/tutorial/RPC</a></p>
  
  <p>I have the service up and running on my local server and my JavaScript client can call it fine.  OK so far.  Now,  what I want to do is deploy the service on a remote server JoeSoapHost:8080<br>
  How do I now tell my client where to send it's requests?  I can't see any server/url being created in my RPC call.  It just works by magic but now I want to get under the bonnet and start breaking it.</p>
  
  <p>[Edit}
  This is the Interface my client uses to know what service on the Server is to be called.  I know that my Web.xml web descriptor must have a url that matches this.  It has this because my server is invoked ok.  Problem is,  if I now decide to deploy my server elsewhere how do I tell my client what server/domain name to use?</p>
  
  <pre><code>@RemoteServiceRelativePath("stockPrices")
  public interface StockPriceService extends RemoteService 
  {
      StockPrice[] getPrices(String[] symbols);
  }
  </code></pre>
  
  <p>What I want to achieve first is have a simple GWT client calling into an RPC service. I have this working but only when the server is localhost.
  Next step,  I deploy my app to the Google App Engine. What must I change now because my RPC service in my JavaScript is not being called when I deploy my app to 
      <a href="http://stockwatcherjf.appspot.com/StockWatcher.html" rel="nofollow">http://stockwatcherjf.appspot.com/StockWatcher.html</a></p>