[ka-Map-users] Calling ka-map backend from a remote website throws security exception

Paul Spencer pspencer at dmsolutions.ca
Thu Sep 21 10:22:54 EDT 2006


Christian,

you need to create a script that will proxy your request to your  
remote server.  This is a fairly common problem.  I believe there are  
a number of proxy scripts available.

Alternately, you could load the application from that server ...

Cheers

Paul

On 21-Sep-06, at 8:30 AM, Christian Sengstock wrote:

> Hi all,
> i want to call ka-map from a server which is *not* the ka-map backend
> apache server (a tomcat servlet engine). What i did:
>
> 1) In my tomcat html page i referenced to the javascript files on the
> ka-map backend with full url.
> 2) I changed line 176 in kaMap.js (this.server =
> http://my-ka-map-backend) to point on my ka-map backend.
>
> I got an security exception because of an XMLHttpRequest calling a
> remote url (with firefox)
>
> "Error: uncaught exception: Permission to call method
> XMLHttpRequest.open was denied"
> Orig: "Fehler: uncaught exception: Die Erlaubnis für den Aufruf der
> Methode XMLHttpRequest.open wurde verweigert"
>
> Anyone knows a solution or workaround for this? Like it's working with
> google maps!?
>
> Thanx a lot,
> Chris
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Chief Technology Officer                                         |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+







More information about the ka-Map-users mailing list