2.10.1 is very old, we are now shipping 2.21 where this issue (and many others) is fixed.
Ian On Fri, 10 Jun 2022 at 11:51, Giuseppe Falcone <falcone.giuse...@gmail.com> wrote: > 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:Title>GeoServer Web Feature Service</ows:Title> > <ows:Abstract>This 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:Keyword>WFS</ows:Keyword> > <ows:Keyword>WMS</ows:Keyword> > <ows:Keyword>GEOSERVER</ows:Keyword> > </ows:Keywords> > <ows:ServiceType>WFS</ows:ServiceType> > <ows:ServiceTypeVersion>2.0.0</ows:ServiceTypeVersion> > <ows:Fees>NONE</ows:Fees> > <ows:AccessConstraints>NONE</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 > > > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Ian Turton
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users