Open dan-bowerman opened 7 years ago
Sample registration request, for posterity:
{
"fr": {
"feature_info_format": "text/plain",
"service_url": "http://afc-fr.cfsnet.nfis.org/arcgis/services/FGP/fias10/MapServer/WMSServer",
"service_type": "ogcWms",
"legend_format": "image/png",
"recursive": true,
"service_name": "WMS french"
},
"en": {
"feature_info_format": "text/plain",
"service_url": "http://afc-fr.cfsnet.nfis.org/arcgis/services/FGP/fias10/MapServer/WMSServer",
"service_type": "ogcWms",
"legend_format": "image/png",
"recursive": true,
"service_name": "WMS english"
},
"version": "2.0"
}
The service owners seem to have just fixed this service, so now it comes back as proper XML and is readable in RCS and RAMP. Will put this issue on hold for now until another service comes along with this MIME issue.
A service like http://afc-fr.cfsnet.nfis.org/arcgis/services/FGP/fias10/MapServer/WMSServer?VERSION=1.1.1&REQUEST=GetCapabilities&SERVICE=wms does not come back as the correct XML mimetype, which causes the upgrade function (and possibly other functions) to fail. Adjust RCS to be more permissive about the file type that comes back.