[Geoserver-users] DescribeLayer/WfsDispatcher with namespaces

Hello,

Thanks for the 2.2 releases, there are great new features !

I’m facing troubles with GS 2.2.1, trying to perform a DescribeFeatureType on a virtual WMS service.

The operations on an unprotected layer performed by a non admin user are :

  • DescribeLayer on /geoserver/namespace/wms: SUCCEED. Returns /geoserver/wfs/WfsDispatcher as WFS onlineResource.

http://geobretagne.fr/geoserver/geob_loc/wms?service=wms&version=1.1.1&request=describelayer&layers=COMMUNE

  • DescribeFeatureType on /geoserver/wfs/WfsDispatcher : FAILS (404, but it means forbidden ? nb it works for ROLE_ADMINISTRATOR)

http://geobretagne.fr/geoserver/wfs/WfsDispatcher?service=wfs&version=1.0.0&request=describefeaturetype&typename=geob_loc:COMMUNE

  • DescribeFeatureType on /geoserver/namespace/wfs/WfsDispatcher : SUCCEED

http://geobretagne.fr/geoserver/geob_loc/wfs/WfsDispatcher?&REQUEST=DescribeLayer&LAYERS=geob_loc:COMMUNE&SERVICE=WMS&VERSION=1.1.1

The problem 1: I can’t understand why the /wfs/WfsDispatcher? DescribeLayer fails and the /namespace/wfs/WfsDispatcher? works.

The problem 2 : our map client (http://geobretagne.fr/mapfishapp/) performs a DescribeLayer operation to reach and query the WFS layer. As the global service URL is returned by DescribeLayer instead of the virtual one, the client can’t guess the (working) virtual adress.

Don’t know if it’s related to GEOS-5290. Are you aware of this behavior, or perhaps did I misconfigure something ?
Thanks for you answer.


fph