[TinyOWS-users] GetFeature POST fails with TiinyOWS 0.9.0

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Sat Sep 18 07:52:31 EST 2010


Hi,
 
This works OK
 
http://188.64.1.61/cgi-bin/tinyows?service=WFS&version=1.0.0&request=getFeature&maxFeatures=1&outputFormat=GML2&srsName=EPSG:3067&typeName=osm_point
 
This is to my understanding the same request as http POST
 
<?xml version="1.0" encoding="ISO-8859-1"?>
<wfs:GetFeature xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.0.0" maxFeatures="1" outputFormat="GML2">
<wfs:Query xmlns:tows="http://www.tinyows.org/" srsName="EPSG:3067" typeName="tows:osm_point">
</wfs:Query>
</wfs:GetFeature>

The result I am getting back is 
 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster at localhost and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.14 (Ubuntu) Server at 188.64.1.61 Port 80</address>
</body></html>

 
 
For comparison, Mapserver WFS running on the same computer at address
http://188.64.1.61/cgi-bin/mapserv?map=/usr/map/osm-mapserver_i.map
does accept the following POST request.
 
<?xml version="1.0" encoding="ISO-8859-1"?>
<wfs:GetFeature xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.0.0" maxFeatures="1" outputFormat="GML2">
<wfs:Query srsName="EPSG:3067" typeName="POI_pub_restaurant">
</wfs:Query>
</wfs:GetFeature>

Is the problem in my POST request or on the TinyOWS side?
 
-Jukka Rahkonen-
 


More information about the TinyOWS-users mailing list