AnsweredAssumed Answered

WFS CORS cross proxy (Control-Allow-Origin)

Question asked by tamimicg on Aug 11, 2015
Latest reply on Aug 12, 2015 by ermiasbet

Dear All,


i am trying to call WFS service in arcgis javascript and its giving me following error


XMLHttpRequest cannot load No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8083' is therefore not allowed access.


here is my javascript


$(document).delegate('#wfsksaregions', 'change', function () {

         if (this.checked) {


           var opts = {

                          "url": "",

                          "version": "1.0.0",

                          "nsLayerName": "mvdemons:wfsKsaRegions",

                          "wkid": 8307,

                          "mode": "SNAPSHOT",

                          "maxFeatures": 100,

                          "showDetails": true,

                          "infoTemplate": new InfoTemplate()             


                     _public._kabopt = opts;

                    // = "localhost:8083";

            = false;


                      var wfslayer = new WFSLayer(opts);



          alert ("hellooooooooo i am here adding WFS layer111");

          _public._kablayer = wfslayer;





          alert ("hellooooooooo i am here removing WFS layer111");






please somebody reply me as soon as possible