Would that only be a concern when version is not specified in the request? Since version is (afaik) always a required request parameter (except for getcaps), would it make sense that if no version has been specified as a request parameter, geoserver chooses the highest ows version exception handler?
On Thu, Dec 13, 2012 at 2:55 PM, Andrea Aime <[email protected]> wrote: > Hi, > looking into the WCS 2.0 CITE tests failures we discovered that the CITE > test expects a OWS 2.0 service exception when making invalid requests, > whilst > sometimes GeoServer returns a OWS 1.0 one. > > The "sometimes" happens when GeoServer does not have any way to determine > the service in the first place, such as: > ...?request=GetCapabilities&service=ABC > > Now, imho the WCS 2.0 CITE tests is completely broken in this respect, > because > when hitting a multi-service server that has several services implementing > different > OWS specifications one cannot expect a specific service exception type back: > it's completely arbitrary. > > However, at the same time, GeoServer is being arbitrary too, by always > sending > back a OWS 1.0 exception. > > Imho the administrator should be allowed to choose the default service > exception > handler, its OWS version in particular. Still arbitrary, but at least an > administrator > with a good reason can set the default OWS version. > I see this as a drop down in the "global" configuration page, "default > exception level" > -> "ows 1.0", "ows 1.1", "ows 2.0" > > With the above at the very least the WCS 2.0 can be configured to pass the > CITE > tests anyways, in case OGC decides that no, we really have to throw > exceptions > at that level > > Opinions? > > Cheers > Andrea > > -- > == > Our support, Your Success! Visit http://opensdi.geo-solutions.it for more > information. > == > > Ing. Andrea Aime > @geowolf > Technical Lead > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > mob: +39 339 8844549 > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > ------------------------------------------------------- > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Geoserver-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-devel > -- Gabriel Roldan OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
