I have a GWT client communicating with a Sesame rdf store on a remote
server (using a REST protocol), so I need to bypass the same-origin
policy.
It works sending GET requests (size limited) with JSONP to a server
script that formats and redirects the requests to the Sesame server,
get the response and returns it to the client JSONed and enclosed in a
callback function.
I have tried restlet but I get a SOP exception:
org.restlet.gwt.resource.ResourceException: The URL http://... is
invalid or violates the same-origin security restriction
at org.restlet.gwt.resource.ClientResource.get(ClientResource.java:
351)
Thanks for any solution.
Ric
On Dec 29, 7:24 pm, Pablo Martin Gore <[email protected]> wrote:
> we have been implementing our server layer with restlet(REST
> implementation).
> restlet has one implementation to use with GWT and is so easy , and you can
> tell what method you want to use.http://www.restlet.org/
>
> 2009/12/29 jpnet <[email protected]>
>
>
>
> > You can't. JSONP is a hack to allow cross-domain requests. AFAIK, it
> > will only work for GET requests.
>
> > -JP
>
> > On Dec 28, 7:11 am, Fabio <[email protected]> wrote:
> > >http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=goog...
>
> > > This how-to is great but... what about POST-PUT-DELETE Restful
> > > requests?
> > > How can I change http method for <script ... ?
>
> > > Thank you all
>
> > --
>
> > 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]<google-web-toolkit%2Bunsubs
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
--
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.