[TinyOWS-users] GetFeature POST fails with TiinyOWS 0.9.0
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Thu Sep 23 04:10:31 EST 2010
Olivier Courtin wrote:
> > Hi,
> >
> > I was not accurate in my last mail about featuretype names, their
> > are allowed otherwise, but in theory not in requests. I hope this
> > copy-paste clarifies this kind of a bug in the standard.
> The one who
> > answers is Mr. Markus Schneider.
>
> Ok thanks for this information Jukka,
> could you please give the offended request to be able to reproduce/
> test it
Hi,
This is copy-pasted from my mail and edited a bit, but newlines are not
corrected, sorry.
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS"
version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd
http://www.openstreetmap.org
http://xx.yy.zzz.xyz/cgi-bin/tinyows_osm?service=WFS&versi
on=1.1.0&request=DescribeFeatureType&typename=osm_suom
:osm_polygon"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wfs:Query
typeName="feature:osm_polygon" srsName="EPSG:3067"
xmlns:feature="http://www.openstreetmap.org"><ogc:Filter
xmlns:ogc="http://www.opengis.net/ogc"><ogc:And><ogc:PropertyIsEqualTo
matchCase="true"><ogc:PropertyName>natural</ogc:PropertyName><
gc:Literal>>
water</ogc:Literal></ogc:PropertyIsEqualTo><ogc:BBOX><ogc:Prop
ertyName>way</ogc:PropertyName><gml:Envelope
xmlns:gml="http://www.opengis.net/gml"
srsName="EPSG:3067"><gml:lowerCorner>362619.90234376
6673055.453125</gml:lowerCorner><gml:upperCorner>363476.34765626
6673473.421875</gml:upperCorner></gml:Envelope></ogc:BBOX></og
c:And></ogc:Filter></wfs:Query></wfs:GetFeature>
TinyOWS answer:
<?xml version='1.0' encoding='UTF-8'?>
<ows:ExceptionReport
xmlns='http://www.opengis.net/ows'
xmlns:ows='http://www.opengis.net/ows'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:schemaLocation='http://www.opengis.net/ows
http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd'
version='1.1.0' language='en'>
<ows:Exception exceptionCode='InvalidParameterValue'
locator='request'>
<ows:ExceptionText>xml isn't valid</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
I've been told that the request validates against WFS 2.0.0 schemas
http://www.pvretano.com/schemas/wfs/2.0.0/wfs.xsd
so this tbouble is limited only to WFS 1.1.0.
-Jukka-
More information about the TinyOWS-users
mailing list