No proxy running... (I'm using the built in python web server and the
gviz_api python module).  Tried using the debugger, but inspecting the
javascript objects is a bit tricky.

The reason I say it appears like the request is timing out is that
obviously it takes longer than the first request (even though the
webservice returns immediately), and the response.isError() call is
returning true (which cannot occur based solely on my webservice
response since I don't have any code to generate a proper error
response).

I just tried instantiating a new query object for the second request
and that didn't work either.  Any information I could provide that
might give further insight?

Thanks,
Craig

On Jan 14, 11:22 am, "Eric Z. Ayers" <[email protected]> wrote:
> Here are some things to try I can think of:
>
> Have you put a proxy in the middle?  Maybe you are getting some kind
> of response back to the client that indicates the data is unchanged
> (cached)?
>
> Run in the hosted mode using a Java debugger and put a breakpoint
> inside the on Response method of your anonymous Callback subclass.
>
> You could try a small sample in JavaScript to see if the problem
> really is an issue with the GWT library.
>
> On Jan 13, 4:44 pm, craigdataqa <[email protected]> wrote:
>
> > I should add that the chart does draw once using the results from this
> > query.
> > Subsequent queries behave as though they timed out even though I can
> > tell that the request was successfully returned from the webservice.
>
> > On Jan 13, 2:07 pm, craigdataqa <[email protected]> wrote:
>
> > > Hello all,
>
> > > I'm having an issue using the latest release of the GWT wrappers for
> > > the visualization api.  I have successfully created a visualization,
> > > added it to the panel, and the queries are being successfully executed
> > > against the data webservice.  In spite of this, it seems that my GWT
> > > application believes the request is timing out.
>
> > > Anyone seen this problem before?  Am I missing something due to my
> > > limited Java knowledge?
>
> > > Here is the pertinent code:
> > >   private void updateData() {
> > >           Query query = Query.create("http://localhost:8585/gwt/";);
> > >           query.setQuery(vizData.vizDate+"@"+vizData.vizQuery);
> > >           query.send(new Callback(){
> > >           public void onResponse(QueryResponse response) {
> > >             if (response.isError()) {
> > >               Window.alert("An error occured: Please try again.");
> > >             }
> > >             DataTable data = response.getDataTable();
> > >             vizData.col.draw(data, createOptions(vizData.vizQuery));
> > >           }
> > >         });
> > >   }
>
> > > Thanks for any help,
> > > Craig
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" 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-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to