Wednesday, June 30, 2010

Re: JsonpRequestBuilder Timeout - GWT 2.0

On 30 juin, 16:11, Márcio Menezes <marcio....@gmail.com> wrote:
> Hello!
> I'm trying to retrieve Json using JsonpRequestBuilder.
> When I use some external url, like this onehttp://search.yahooapis.com/ImageSearchService/V1/imageSearch?appid=Y...,
> everything works fine.
> But, when I try to fetch json from some server inside my network, I get
> timeout error (Timeout while callinghttp://192.168.2.12/gwt.js).
>
> When I check the request on firebug, I can see that the response came back
> and its body is exactly what I was suppose to receive. Somehow, it is not
> being handled by the callback function.
>
> If I try the same URL through browser, it works fine.
>
> Does anyone know what it can be?

Are you returning JSON-*P* (i.e. a JavaScript file containing a single
function call with an object or array literal as sole argument)?
Is the function call using the function name given in the URL (in the
query-string, name of the parameter configurable in your
JsonpRequestBuilder)?

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