The Exact error is: Aug 31, 2009 9:37:02 AM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /MyService
On Aug 31, 9:38 am, Aximilli302 <aximilli...@gmail.com> wrote: > Hello all, > > I'm having a slight issue with making server calls. I have set up a > relitivly simple server, but am new to this, and have gotten most of > what i've learned off the internet. > > At this point, the error is that the server can not be found. Here are > a few tidbits of my code, where the issue likely lies. > > //Inside the Main Class > ServiceDefTarget endpoint = (ServiceDefTarget) myService; > > endpoint.setServiceEntryPoint("/MyService"); > > myService.myMethod(lbl.getText(), user.getUserName(), new > AsyncCallback<String>() { > > @Override > public void onFailure(Throwable caught) { > System.out.println("Into the onfailure method"); > lbl.setText("Failure to send"); > System.out.println(caught.getCause()); > } > > @Override > public void onSuccess(String a) { > System.out.println("Sucess"); > //Does everthing it's supposed to > } > }); > > I have the MyService interface, and the MyServiceAsync. > The MyServiceImpl class returns a simple String > > The XML class contains the following lines: > <entry-point class='com.google.tabs.client.Tabs' /> > <servlet path="/MyService" > class="com.google.tabs.server.MyServiceImpl" /> > > MyService is inside the .client class, while MyServiceImpl is > inside .server > > Any thoughts? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---