On Feb 6, 2008 7:45 AM, Alex Back <[EMAIL PROTECTED]> wrote:
> Hi Tim,
>
> Tim Taubert wrote:
> > Hi,
> > I have the following scenario:
> >
> > My Qooxdoo app is accessible via http://localhost/. From there I want to
> > access a Mono/ASP.NET service running on localhost:8080.
> I think you run into an error concerning the "Same origin policy" [1]. It is
> not allowed to call a service at Port 8080 when your javascript is delivered
> via Port 80.
> Maybe you can use a proxy to solve this problem and access the service with
> this proxy.

Or, since you're using RPC, you could specify cross-domain and the
Script Transport will be used.  Your RPC server then has to be
configured to allow the (dangerous) script transport.  (That's
assuming that your ASP.NET RSP server knows how to deal with script
transport.)

Whenever you attempt to work with multiple ports or servers, you're
asking for trouble.  The proxy may be your best bet in this case.  One
other alternative is to use one of the standard qooxdoo JSON-RPC
servers as a proxy.  It will operate on your standard web server port
and easily issue requests to port 8080, retrieve the result, and ship
the result back to your browser.

Derrell

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to