[Geoserver-users] DescribeFeatureType problem

Hi to all,
I have this behaviour on geoserver 2.10.1:

getcapabilities request http://localhost/geoserver/demo/wfs?service=WFS&request=getcapabilities return this

<wfs:WFS_Capabilities xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns=“http://www.opengis.net/wfs/2.0” xmlns:wfs=“http://www.opengis.net/wfs/2.0” xmlns:ows=“http://www.opengis.net/ows/1.1” xmlns:gml=“http://www.opengis.net/gml/3.2” xmlns:fes=“http://www.opengis.net/fes/2.0” xmlns:xlink=“http://www.w3.org/1999/xlink” xmlns:xs=“http://www.w3.org/2001/XMLSchema” xmlns:demo=“demo.sit.it” version=“2.0.0” xsi:schemaLocation=“http://www.opengis.net/wfs/2.0 http:// localhost /geoserver/schemas/wfs/2.0/wfs.xsd” updateSequence=“111”>
ows:ServiceIdentification
ows:TitleGeoServer Web Feature Service</ows:Title>
ows:AbstractThis is the reference implementation of WFS 1.0.0 and WFS 1.1.0, supports all WFS operations including Transaction.</ows:Abstract>
ows:Keywords
ows:KeywordWFS</ows:Keyword>
ows:KeywordWMS</ows:Keyword>
ows:KeywordGEOSERVER</ows:Keyword>
</ows:Keywords>
ows:ServiceTypeWFS</ows:ServiceType>
ows:ServiceTypeVersion2.0.0</ows:ServiceTypeVersion>
ows:FeesNONE</ows:Fees>
ows:AccessConstraintsNONE</ows:AccessConstraints>
</ows:ServiceIdentification>

So, i desume that I have to use version 2.0.0 for wfs request.

I execute this describeFeatureType request, using typenames instead of typename because version = 2.0.0:

http://localhost/geoserver/demo/wfs?service=WFS&typeNames=palo_catenaria&version=2.0.0&request=DescribeFeatureType

the result of this call is wrong; it returns all features and not only palo_catenaria (it doesn’t understand typeNames attribute)

If I execute previous call using typeName, the result is correct:

http://localhost/geoserver/demo/wfs?service=WFS&typeName=palo_catenaria&version=2.0.0&request=DescribeFeatureType

Why that?
Thansk a lot

Giuseppe

2.10.1 is very old, we are now shipping 2.21 where this issue (and many others) is fixed.

Ian

···

Ian Turton