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<http://geobretagne.fr/geoserver/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?<http://geobretagne.fr/geoserver/geoserver/wfs/WfsDispatcher?service=wfs&version=1.0.0&request=describefeaturetype&typename=geob_loc:COMMUNE>DescribeLayer
fails and the
/namespace/wfs/WfsDispatcher?<http://geobretagne.fr/geoserver/geoserver/wfs/WfsDispatcher?service=wfs&version=1.0.0&request=describefeaturetype&typename=geob_loc:COMMUNE>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<https://jira.codehaus.org/browse/GEOS-5290>.
Are you aware of this behavior, or perhaps did I misconfigure something ?
Thanks for you answer.

-- 
fph
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to