WFS POST requests: "No template provided" error

Yewondwossen Assefa yassefa at DMSOLUTIONS.CA
Thu Nov 8 17:29:50 EST 2007


Hi There,

  WFS POST is supported by MapServer. Looking into this thread, you 
mentioned a couple of URLS and I have tried the follwing one : 
"http://map.ns.ec.gc.ca/MapServer/mapserv.exe?map=/mapserver/services/envdat/config.map"

  I have tried WFS post requests  describefeature and getfeature  with 
this service and It responds correctly. It is a Mapserve 4.8.3.

  I am guessing that there is something 'wrong" with the service 
accessed though the script at http://map.ns.ec.gc.ca/envdat/map.aspx 
where the post requests are not maybe transfered properly to Mapserver.

  Hopefully this helps.

Best Regards,


Frank Steggink wrote:
> Hello Daniel,
> 
> Thanks for the reply. I've tried your suggestion, but unfortunately it
> didn't work. I'm getting the following ServiceException:
> 
> <ServiceExceptionReport
> xmlns="http://www.opengis.net/ogc"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.opengis.net/ogc
> http://schemas.opengis.net/wms/1.1.1/OGC-exception.xsd">
>   <ServiceException>
> msWFSDispatch(): WFS server error. Incomplete WFS request: VERSION parameter
> missing
>   </ServiceException>
> </ServiceExceptionReport>
> 
> The URL is http://map.ns.ec.gc.ca/envdat/map.aspx?SERVICE=WFS& and the post
> data is the same as in the original message.
> 
> It really looks like MapServer only accepts GET request for WFS. So, the simple
> fix you suggested will probably not be enough. I'm going to file a ticket.
> In case
> something needs to be tested, please let me know.
> 
> Frank
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-users mailing list