Start a new topic

ADE: Web service invalid

ADE: Web service invalid

sorry for the english ... 

ADE using the web service example: POIDATA_SERVER "" I have no problem to load the POIs, but using my web service web service tells me invalid. 

why this happens thanks for the help



When you are connecting from JavaScript to a webserver, you need to make sure to setup your webserver (Apache?) in a way it allows requests from other domains (cross origin scripting). Otherwise, when you try connecting to your service, you will get an error message similar to "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '...' is therefore not allowed access." You can check the Chrome/Firefox JavaScript console to verify that this error message appears.

Please see this post and try to google cross origin scripting and the webserver you are using (the exact steps depend on the product), and you'll find a step-by-step guide how to fix this issue.



Greetings .. 

Thanks for the help and that was the problem, change the settings in my virtualhost with Header set Access-Control-Allow-Origin "*" and it worked perfectly
Login or Signup to post a comment