AnsweredAssumed Answered

CORS header 'Access-Control-Allow-Origin' missing

Question asked by kduchacek on Aug 7, 2015
Latest reply on Aug 7, 2015 by nick_darlington

Hi,

 

I am trying to pull data from wsdl by javascript and XMLHttpRequest (xmlhttp.send(xml)). The code is located outside of Clarity (a different web server).

I am running into the problem:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://***/niku/xog. (Reason: CORS header 'Access-Control-Allow-Origin' missing).


Is there any way how to disable this checking or accept the request from specific url?

I found some idea on enable cross-origin resource sharing but i am not sure where to set up in Clarity or Tomcat folder.

 

Thanks

Karel

Outcomes