Wednesday, September 15, 2010

Re: AJAX call doesn't ever seem to get made

Well, the method is called on the client side is called just fine (the
breakpoint where the method is called gets hit), but of course from
then on I can't trace calls any further since it's automatically
generated code (the service proxy). However I am certain that nothing
ever reaches the server for two reasons:
-The breakpoint on the ServiceImpl method is never reched
-The Firebug console, which shows all requests which are made,
indicated that no request is ever made. Since that should sit right
between the generated JavaScript and the server, it should definitely
show up if anything at all is sent to the server.

Incase I am wrong in my reasoning somewhere, where is the appengine
error log? I can't find it, embarrisingly... You don't mean the
messages that are normally logged in the Console / the web interface
to the actual appengine (rather than the development server), do you?

Thanks,

Johannes

On Sep 15, 1:03 pm, Brett Thomas <brettptho...@gmail.com> wrote:
> Are you sure the server method is never called? I ran in to a similar
> problem a couple days ago: the object could be serialized and transferred,
> but it couldn't be stored in app engine. I had to debug with the app engine
> error log.
>
> On Wed, Sep 15, 2010 at 6:23 AM, Johannes Lehmann <
>
>
>
> johannes.lehma...@googlemail.com> wrote:
> > OK, I fixed the problem now: One of the arguments of the service call
> > was a class called Item (which I defined). If I pass a Long instead
> > which happens to be possible but inconvenient, it works. This is still
> > incredibly puzzling since another service call returns a List<Item>
> > and that works fine, hence the problem can't be that GWT can't
> > serialize my Item class properly....
>
> > --
> > 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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs­cribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment