Also: On 28/08/13 14:33, John Callahan wrote: > It also fails using WFS 1.0.0 (java.lang.ClassCastException: > org.geotools.feature.type.ComplexFeatureTypeImpl cannot be cast to > org.opengis.feature.simple.SimpleFeatureType)
app-schema does not support WFS 1.0.0 (which uses GML 2). Your GML 3.1.1 application schema should work fine with WFS 1.1.0, which defaults to GML 3.1.1 output. See: http://docs.geoserver.org/latest/en/user/data/app-schema/supported-gml-versions.html > but actually returns a response with WFS 2.0.0 If you look closely you will likely discover missing elements and other problems as there are type mismatches between the GML 3.2.1 encoder configuration that is the default for WFS 2.0.0 responses and the GML 3.1.1 information model in your application schema. GeoServer tries its best, but will make a hash of things. Kind regards, -- Ben Caradoc-Davies <[email protected]> Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
