MapServer WFS error reporting
Berend Veldkamp
b.veldkamp at ZONNET.NL
Thu Aug 31 08:27:21 PDT 2006
Hi,
When using MapServer as a WFS server, is there a way to have it report
errors as XML instead of HTML? A typical error now looks like this:
<HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 4.6.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS INPUT=POSTGIS
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG -->
<BODY BGCOLOR="#FFFFFF">
msLoadMap(): Unable to access file. (/project/data/mymapfile.map) <br>
</BODY></HTML>
Regards, Berend
More information about the MapServer-users
mailing list