AnsweredAssumed Answered

WFS GetFeature: NamespaceUri mixup

Question asked by krdyke on Dec 13, 2019
Latest reply on Mar 13, 2020 by PKlingman-esristaff



I'm attempting to consume features from a hosted WFS service on ArcGIS Online. I'm using the same layer used in the WFS example for the JavaScript API (WFS Layer | ArcGIS API for JavaScript 3.30 ).


The ArcGIS JavaScript example works fine, but fails when I attempt to read the layer using Leaflet-WFST. Looking closer at the response to the GetFeature request, note the value for xmlns:JapanPrefectures2018 in line 5.


<?xml version="1.0" encoding="utf-8" ?>

<wfs:FeatureCollection xmlns:xs=""
xmlns:wfs="" xmlns:gml=""
xmlns:xlink="" xmlns:xsi=""

The value reads, which is not correct. The value needs to be


I attempted publishing a WFS Layer using a hosted feature layer and it produces the same error. I also tried publishing a WFS service from ArcGIS Pro, which works perfectly, I'm guessing because the Namespace is set as an option when publishing via Pro.


Any ideas? Is this a bug? Something I've missed? Something else?