Well this code is working inside of the non-application sandboy :

 function HCall(){


                        xmlhttp = new XMLHttpRequest();
                        xmlhttp.open("GET", 
"http://localhost:8888/pdmdesktop/host";,
true);
                        xmlhttp.onreadystatechange = function() {

                        if(xmlhttp.readyState == 4) {

                                if(xmlhttp.status == 200)
                                {
                                        alert(xmlhttp.responseText);
                                }
                        }


}

xmlhttp.send(null);

 }

bei setting  :  allowCrossDomainXHR="yes" inside of the iframe.
But still the Requestbuilder is throwing an excemtion
so i m also interesred why is that ?

any idea


On 8 Feb., 17:01, Thomas Broyer <[email protected]> wrote:
> On Feb 7, 12:35 pm, Alain Ekambi <[email protected]> wrote:
>
> > Hello People,
> > I have a problem understanding what s really going on  with the SOP.
> > For what i understood  i my GWT file is located at let s say :
> >http://localhost:8888/test.html
>
> > a request  tohttp://localhost/test.phpwillfail because of the SOP.
>
> > But what i dont understand is why this is still failling if i m sending a
> > request  inside of a System that  allows me to make those type of request
> > like adobe air.
>
> I can only confirm you that a RequestBuilder in the "application
> sandbox" in an Adobe AIR application can make requests to any server
> without hitting the SOP.
> Outside the application sandbox though, Adobe AIR behaves like a
> browser.

-- 
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.

Reply via email to