[mapserver-users] Can't get capabilities xml error message

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Tue Nov 22 08:15:36 PST 2016


Hi,

I believe that a quick fix is to edit your mapfile and change " opérations " into "operations".  Non-ASCII character should be OK if you save the mapfile as UTF8 which is a requirement nowadays in any case. Plain ASCII mapfiles still do work even if they are saved as Latin1 or something.

-Jukka Rahkonen-

Leehan wrote:

[mapserver-users] Can't get capabilities xml error message

> hello,

> Mapserver 7 & Apache are installed using ms4w 3.1.4. All is running fine with windows server 2008.
I can get a map in FireFox. 
I can't get the WMS with Qgis : failed to load capabilities (traduction from french, sorry) Indeed, I can't get the capabilities in FF either with  : 
http://10.210.1.32:8080/cgi-bin/mapserv.exe?...\fond_mapserver.map&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetCapabilities&

here's the message :
<http://osgeo-org.1560.x6.nabble.com/file/n5296958/Capture.png> 

Previously I had a message beginning by "mandatory metadata...'. I worked on my mapfile and then get this last message just above.

here's my mapfile : 
MAP
 WEB	
		METADATA
			"wms_title" "WMS-Inrap, aide au montage des opérations"
			"wms_onlineresource"
"http://10.210.1.32:8080/Apache/cgi-bin/mapserv.exe?MAP=C:/ms4w/map/fond_mapserver.map&"
			"wms_enable_request" "*" 
			"wms_srs" "EPSG:2154 EPSG:3857 EPSG:900913"
			"wms_encoding" "UTF-8"

		END
END

All layers have METADATA with wms_title and wms_srs (even if this last param is not required because I have a PROJECTION object).
I feel a little lost.
Thanks






--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Can-t-get-capabilities-xml-error-message-tp5296958.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list