Re: RequestBuilder and StatusCode=0

2011-03-04 Thread Marco Gadaleta
Thank you for reply. In this link http://code.google.com/p/google-web-toolkit/issues/detail?id=3131#c46 i've read that i must add dependency to the project. How do i can do this? On Thu, Mar 3, 2011 at 7:36 PM, Y2i yur...@gmail.com wrote: Could be the Same Origin Policy violation that has been

Re: RequestBuilder and StatusCode=0

2011-03-04 Thread Alex D.
Same Origin Policy - you cannot call another host, or same host with different port. XML-RPC implementation will not allow you to do that. Actually, the XmlHttpRequest that is ajax core and used for all the calls will not allow you to do that (so the browser will actually limit you there). You

Re: RequestBuilder and StatusCode=0

2011-03-04 Thread Marco Gadaleta
http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/FAQ_JSONFeedsFromOtherDomain I'm trying to use this method. It call the servlet, but it doesn't return me anything. Any suggestion? On Fri, Mar 4, 2011 at 10:41 AM, Alex D. alex.dobjans...@gmail.com wrote: Same Origin Policy - you

Re: RequestBuilder and StatusCode=0

2011-03-04 Thread Alex D.
It should return something, maybe there is a problem with the servlet. Try to do the GET by hand (wget, curl, etc) and see its response. If that is ok, maybe url is miss-spelled. Maybe Accept header is wrong, etc. I'm currently using this method in a couple of places (in case you're wondering

Re: RequestBuilder and StatusCode=0

2011-03-04 Thread Marco Gadaleta
Thx, for theresponse. I've yet tested the servlet by hand and it run well.. But the js/gwt method not run .. On Fri, Mar 4, 2011 at 2:23 PM, Alex D. alex.dobjans...@gmail.com wrote: It should return something, maybe there is a problem with the servlet. Try to do the GET by hand (wget, curl,

Re: RequestBuilder and StatusCode=0

2011-03-04 Thread Y2i
This method I believe is supported by JsonpRequestBuilder http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/jsonp/client/JsonpRequestBuilder.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: RequestBuilder and StatusCode=0

2011-03-04 Thread Marco Gadaleta
Ok, this is well ;-) Thx On Fri, Mar 4, 2011 at 4:11 PM, Y2i yur...@gmail.com wrote: This method I believe is supported by JsonpRequestBuilder http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/jsonp/client/JsonpRequestBuilder.html -- You received this message because

RequestBuilder and StatusCode=0

2011-03-03 Thread gadaleta.marco
Hello everyone, i've this problem using gwt (on 127.0.0.1:) and external java servlet (127.0.0.1:8080/TestServlet). I've tried to find solution on line but without succes. This is the matter: I use RequestBuilder to call external java servlet. It call the servlet and the servlet executes the

Re: RequestBuilder and StatusCode=0

2011-03-03 Thread Y2i
Could be the Same Origin Policy violation that has been discussed on this forum https://groups.google.com/d/msg/google-web-toolkit/bqADKUq2Eoo/tWeiF5Me3KUJ https://groups.google.com/forum/?fromgroups#!searchin/google-web-toolkit/RequestBuilder$20and$20StatusCode=0 -- You received this message