We recently upgraded out ArcGIS Servers from version 10.6.1 to 10.9.1 (Linux) and since the upgrade, services won’t return a geojson response through WMS. When requesting an output of application/geojson on WMS version 1.3.0 we receive a Service Exception of "“InvalidFormat” : Parameter 'InfoFormat' contains unacceptable value.
eg.
https://services.ga.gov.au/gis/services/OZTemp_Well_Data_Extract/MapServer/WMSServer?service=WMS&version=1.3.0&request=GetFeatureInfo&layers=Thermal_Well&styles&crs=EPSG%3A3857&bbox=15823927.178137133,-3219853.1348547763,15887784.921106925,-3188589.4481924823&width=960&height=470&query_layers=Thermal_Well&feature_count=20&info_format=application%2Fgeojson&x=456&y=131
Error:
Parameter 'InfoFormat' contains unacceptable value.
When performing the same request and querying an earlier version of the WMS (version 1.1.1) on ArcGIS Server 10.9.1, data will be returned - but in xml (rather than the requested geojson). The assumption is that this is just a fail through rather then the parameter issue reported in version 1.3.0.
eg.
https://services.ga.gov.au/gis/services/OZTemp_Well_Data_Extract/MapServer/WMSServer?service=WMS&version=1.1.1&request=GetFeatureInfo&layers=Thermal_Well&styles&srs=EPSG%3A3857&bbox=15823927.178137133,-3219853.1348547763,15887784.921106925,-3188589.4481924823&width=960&height=470&query_layers=Thermal_Well&feature_count=20&info_format=application%2Fgeojson&x=456&y=131
We use external getcapabilities files for our services and "application/geojson" is listed as a acceptable format.
eg.
application/vnd.esri.wms_raw_xml
application/vnd.esri.wms_featureinfo_xml
application/vnd.ogc.wms_xml
application/geojson
text/xml
text/html
text/plain
I have published the same service on a 10.6.1 server (using the same external getcapabilities files) and when performing the same queries listed above, it performed correctly and provided a geojson output.
This issue has been logged with ESRI and I am currently awaiting a response - just thought i would put it out and see if anyone else has experienced this?
Cheers,
Kat.