WFS GetFeature (Post) - error: no templ ate

Eijnden, B. van den (Bart) b.vdeijnden at AGI.RWS.MINVENW.NL
Sun Jan 22 22:10:23 PST 2006


For POST requests I always use the following type of URL to post to:

http://myserver/mapserv?map=mymap.map&service=WFS&version=1.0.0

to make sure Mapserver sees it's WFS.

Best regards,
Bart

-----Oorspronkelijk bericht-----
Van: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU]Namens Steve Lime
Verzonden: maandag 23 januari 2006 4:31
Aan: MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: Re: [UMN_MAPSERVER-USERS] WFS GetFeature (Post) - error: no
template


Richard: That's the general CGI error you get when MapServer thinks it's in
browse mode but has no template to present results with. To get to that
point the WFS handler must think you request was not a WFS request, so
that's where I'd start. Make sure your request is valid or that the CGI is
compiled with WFS server support.

Feel free to post a sample request...

Steve

>>> Richard Holzmeier <holzmeier at CONTERRA.DE> 01/22/06 2:39 AM >>>
Hi,

my WFS always returns an error message [mapserv(): Web application error. No
template provided] to valid (Post) GetFeature requests. The same server
creates valid responses to (Get) GetFeature requests.

The problem occurs wether the url-param "map" is set or not (hidden via
wrapper script).

Any idea?

Regards, Richard

Server error message:
<HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 4.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
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 INPUT=JPEG INPUT=POSTGIS INPUT=OGR
INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG -->
<BODY BGCOLOR="#FFFFFF">
mapserv(): Web application error. No template provided. <br>
</BODY></HTML>


Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
informeren. Wij adviseren u om bij twijfel over de juistheid of de 
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************



More information about the MapServer-users mailing list