Hi Raymond, if same origin policy persistently keeps you from reaching an external server (as crossDomain property has its own side effects, or whyever), you may resort to establish a proxy script on your own server (which wouldn't be affected by SOP). So your remote.Request would address the local proxy script, which in turn would make the request to the external server, post process the result if necessary and forward it to your request.
HTH, greetings Stefan Raymond Rösch wrote: > > Dear Alex, > > you are right ! Thank you for the hint. Its great. > The Problem still persists, as I need to be able to contact another > Server. I tried to manipulate document.domain immediately before the > request is sent. It did not work. > Do you or anybody else have any ideas? > > TIA > Raymond > > -------- Weitergeleitete Nachricht -------- > *Von*: Alexander Steitz <[email protected] > <mailto:alexander%20steitz%20%[email protected]%3e>> > *Reply-to*: "Steitz, Alexander" <[email protected]>, qooxdoo > Development <[email protected]> > *An*: [email protected] > <mailto:[email protected]> > *Betreff*: Re: [qooxdoo-devel] remote.Request on external Server > *Datum*: Fri, 18 Sep 2009 10:10:01 +0200 > > Hi Raymond, > > On Friday 18 September 2009 Raymond Rösch wrote: >> I have a running environment for qooxdoo with an application that uses >> remote.Request on locahost >> But when I change the URL to the same Servers IP-Address or the one of >> another server, it does not even give an entry in the webservers access >> or error files. >> I suppose in that case the request is not sent. > I guess you running into the "Same origin policy" [0] issue. You are only > allowed to execute requests to the server from which the javascript are files > are coming from. So if you are serving your files from "localhost you are not > allowed to contact the server at "10.31.2.100" with AJAX requests even if > it's > the same machine physically. > > Hope this helps you further. > > cheers, > Alex > > [0] http://en.wikipedia.org/wiki/Same_origin_policy > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > > > ------------------------------------------------------------------------ > > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
