I'll have a search on how to do that, is it simple enough to do? I tried downgrading to 1.5.2 but it didn't change anything.
On Feb 20, 9:08 pm, davidroe <[email protected]> wrote: > perform the request by dynamically adding a <script> tag? > > On Feb 20, 12:36 pm, scott young <[email protected]> > wrote: > > > OK thanks, I'll try both suggestions, if anyone else has any other ideas, > > it'd be appreciated, thanks. > > > On Fri, Feb 20, 2009 at 6:31 PM, Vish <[email protected]> wrote: > > > > Try searching older posts for the problem with "Same-origin policy" > > > You can either degrade to use version 1.5.2 or use a proxy server to > > > forward your request to other domain. The call to the proxy server > > > will be as a RPC. > > > > On Feb 20, 12:09 pm, "[email protected]" > > > <[email protected]> wrote: > > > > Hi, I'm working on a project for univeristy which involves sending a > > > > post request to the yahoo term extractor service to recieve an XML > > > > file of terms. > > > > > I'm using this code for the request as an example: > > > > > RequestBuilder yahooRequest = new RequestBuilder(RequestBuilder.POST, > > > > "http://api.search.yahoo.com/ContentAnalysisService/V1/termExtraction? > > > > appid=YahooDemo&query=madonna&context=Italian+sculptors+and+painters+of > > > > +the+renaissance+favored+the+Virgin+Mary+for+inspiration"); > > > > > try { > > > > yahooRequest.sendRequest(null, new RequestCallback() { > > > > public void onError(Request request, Throwable > > > exception1) { > > > > requestFailed(exception1); > > > > } > > > > > public void onResponseReceived(Request request1, > > > Response > > > > response1) { > > > > renderXML(response1.getText()); > > > > } > > > > }); > > > > } catch (RequestException ex1) { > > > > requestFailed(ex1); > > > > } > > > > } > > > > > However I am recieving and error message stating: "http:// > > > > api.search.yahoo.com/ContentAnalysisService/V1/termExtraction? > > > > appid=YahooDemo&query=madonna&context=Italian+sculptors+and+painters+of > > > > +the+renaissance+favored+the+Virgin+Mary+for+inspiration" is invalid > > > > or violates the same origin policy. > > > > > How can I request this URL using google web toolkit, it's important I > > > > intergrate it into my toolkti program, rather than use pHp or HTML to > > > > do the same thing. > > > > > Any help would me much appreciated guys! > > > > > Thanks, > > > > > Scott. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
