How should a WFS be defined? in order for it to construct proper GetFeature

406
1
10-23-2017 05:50 AM
ThomasMoltzen-Bildsøe
New Contributor

I'm trying to add a WFS to my maps page. But for some reason the GetFeature part is not properly constructed. 

I've checked my GetCapabilities call and it returns http://wfs.myserver.dk/wfs/customer_id/ as online resource. This seems but be correct, but for some reasone TypeName is not appended to it. The complete call it tries to make is what you see below, and clearly version, typename etc. is missing? any thought?

https://my.maps.arcgis.com/sharing/proxy?http://wfs.myserver.dk/wfs/customer_id/ 

BR

Thomas

0 Kudos
1 Reply
ChrisWhitmore
Esri Regular Contributor

Hi Thomas,

The ArcGIS Online makes POST requests with the GetFeatures parameters included in the body of the request (rather than a GET request with url parameters appended). It appears that the parameters are included correctly in the request but the WFS server is returning a 404 error. If the server is updated to accept POST requests, the layer should work.

This is what the request payload looks like:

Which appears to return a 404 error:

Thanks,

Chris

0 Kudos