0 Replies Latest reply: Jul 16, 2012 6:05 AM by 949612 RSS

    Access-Control-Allow-Origin problem  when asking geocoder

    949612
      Hello
      For few days I'm struggling with following problem- I have tried to search on the google etc, but without success :(

      In my test web application I'm trying to use oracle geocoder service and to call it by GET method from javascript.

      Unfortunately I'm getting following error:
      XMLHttpRequest cannot load http://elocation.oracle.com/geocoder/gcserver?xml_request=REQUEST. Origin null is not allowed by Access-Control-Allow-Origin.


      Is it even possible to make such call from external address/mobile etc ? If, how should I make a call ?


      This is my call from js

      $.ajax({          
                     type:'GET',
                     url:"http://elocation.oracle.com/geocoder/gcserver",          
                     data:{xml_request:REQUEST}           
                     
                });




      Best Regards
      Jan