You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by JMan_JE <Jo...@gmx.net> on 2008/03/07 16:05:58 UTC

Crossdomain issues

Hello,
i've been playing around with ActiveMQ's Ajax transport this afternoon.
I have an Asp.net Webapplication running on port 80. I want to integrate
ActiveMQ to update my site on certain events. But i can't integrate the js
directly in my site, because ActiveMQ runs on a different port. I can't put
it in an iframe because, then i have no access to the parent object :-(
Is there any workaround for this problem?

thanks, JMan
-- 
View this message in context: http://www.nabble.com/Crossdomain-issues-tp15893973s2354p15893973.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Crossdomain issues

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

basically you have two choices

1. create a kind of proxy for your Ajax calls (
http://developer.yahoo.com/javascript/howto-proxy.html)

2. use some of the cross-domain ajax stuff, such as
http://blog.monstuff.com/archives/000280.html


Cheers
-- 
Dejan Bosanac
www.scriptinginjava.net

On Fri, Mar 7, 2008 at 4:05 PM, JMan_JE <Jo...@gmx.net> wrote:

>
> Hello,
> i've been playing around with ActiveMQ's Ajax transport this afternoon.
> I have an Asp.net Webapplication running on port 80. I want to integrate
> ActiveMQ to update my site on certain events. But i can't integrate the js
> directly in my site, because ActiveMQ runs on a different port. I can't
> put
> it in an iframe because, then i have no access to the parent object :-(
> Is there any workaround for this problem?
>
> thanks, JMan
> --
> View this message in context:
> http://www.nabble.com/Crossdomain-issues-tp15893973s2354p15893973.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>