Hi everyone,
I am currently working on an implementation fetching database results via a PHP webservice. Due to the fact the webservice is located on another host, I have to use a JSONP call / JSNI, which implemented 1:1 as described here in the docs: http://code.google.com/intl/de-DE/webtoolkit/doc/latest/tutorial/Xsite.html#request My webservice is called with the callback= argument and delivers valid JSONP data: callback0([{ "k" : "v", ... }, ... ]); Unfortunately after the call is made I don't get any data back (my JavaScriptObject in handleJsonResponse(...) is null), although syslog tells me the data was called and delivered by the webservice and I can even see the JSONP response appearing in the webpage source code. It's strange that Chrome's JavaScript console throws the following error: Uncaught ReferenceError: callback0 is not defined (anonymous function) What went wrong here? Thanks in advance for your suggestions! Dennis -- 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.
