With OpenLayers 4, I'm trying to get field names from a WFS request (https://localhost:8080/myws?SERVICE=WFS&REQUEST=DescribeFeatureType&VERSION=2.0.0&TYPENAME=ms:layername&outputFormat=gml/2.1.2) and parse it into JSON or something else.
I found a solution, but it is for OpenLayers 2 (example)
Does somebody know if
OpenLayers.Format.WFSDescribeFeatureType();
will be deployed into OpenLayers 4?
Any other way possible? My goal is to "harvest" my WFS DescribeFeatureType to populate a filtering menu.