I am writing my first GWT application and want to invoke RPC. I am
getting error in compile batch:

C:\hrvoje\workspaceRSA7\GWT-Test-Web>UnosApp-compile.cmd
Compiling module suglasnost.UnosApp
[ERROR] Errors in 'file:/C:/hrvoje/workspaceRSA7/GWT-Test-Web/src/
suglasnost/client/UnosApp.java'
   [ERROR] Line 62:  Rebind result
'suglasnost.client.UnosServiceAsync' must be a class
[ERROR] Cannot proceed due to previous errors
[ERROR] Build failed

Here is main class:

public class UnosApp implements EntryPoint {

public void onModuleLoad() {
...
Object obj=GWT.create(UnosServiceAsync.class);
...

Here is Async:

public interface UnosServiceAsync {
        public void unesi(String file, String urls, AsyncCallback<String>
callback);
}

Here is interface:

public interface UnosService extends RemoteService {
        public String unesi(String file, String url);
}

Here is impl:

public class UnosServiceImpl extends RemoteServiceServlet implements
UnosService {
        private static final long serialVersionUID = -3214487906817254720L;

        public String unesi(String file, String url) {
                return file + "-" + url;
        }

}

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to