Hey, I am trying to get this query callback function to work, but I get a timeout exception all the time?
It works perfectly when trying to execute this adress: "http:// spreadsheets.google.com/pub?key=pCQbetd-CptH5QNY89vLtAg" but when I try to call my own php file, on my server I get a timeout. When calling my file via the browser it comes up just perfect. Anyone who have any idea? Are we talking some kind of server setup? My code: String str = "http://spreadsheets.google.com/pub?key=pCQbetd- CptH5QNY89vLtAg"; Query query = Query.create(str); query.send(new Callback(){ public void onResponse(QueryResponse response) { if (response.isError()) { Window.alert("An error occured: " + response.getMessage()); } else { Window.alert("gi gas"); } } }); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
