0 Replies Latest reply on Apr 25, 2016 2:37 PM by 2975779

    oracle ebs Apache throws error: No 'Access-Control-Allow-Origin' header is present on the requested resource.Origin 'http://servername:8006' is therefore not allowed access.

    2975779

      Hi there,

       

      We are trying to make an ajax call from Endeca to Oracle iStore. We are on version R12.1.1 for EBS.

       

      When we are making ajax call to add an item to cart, we are getting following error:

      --------------------------------

      XMLHttpRequest cannot load . http://servername:8000/OA_HTML/filename.jsp?event=&item=85366&uom=EA&qty=2&Add%20to%20Cart=Add%20to%20Cart&loadprice=fal

      No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://servername:8006' is therefore not allowed access.

       

       

      Both are on same server and same domain just different port. Why am I getting this error and how can I fix this?

       

      Your help is needed and appreciated.

       

      Thank you.