Anybody have an idea?
On Oct 29, 3:59 pm, edarroyo <[email protected]> wrote:
> What you suggested is to use the asynchronous interface, isn't it?
> I want to use thesynchronousinterface, though.
>
> Thanks = ]
>
> On Oct 29, 1:29 pm, John Patterson <[email protected]> wrote:
>
> > private final TagAndSearchServiceAsync dataService = GWT.create
> > (TagAndSearchService.class);
>
> > Notice that the type on the left is the async interface and on the
> > right is the service interface
>
> > On 30 Oct 2009, at 02:00, edarroyo wrote:
>
> > > We are trying to use thesynchronousinterface of a service class.
> > > We tried doing something along the lines of the asynchronous use:
>
> > > private final TagAndSearchService dataService = GWT.create
> > > (TagAndSearchService.class);
>
> > > But for some reason we are getting a ClassCastException on that line:
>
> > > [ERROR] Failed to create an instance of
> > > 'com.marstoearth.client.MarsToEarth' via deferred binding
> > > java.lang.ClassCastException:
> > > com.marstoearth.client.TagAndSearchService_Proxy
>
> > > Any help would be appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" 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-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---