[OpenLayers-Users] Error with wfs-t (in wfs-scribble demo)

Christopher Schmidt crschmidt at metacarta.com
Tue May 22 07:04:11 EDT 2007


On Tue, May 22, 2007 at 10:15:54AM +0200, Husson Florian wrote:
> Hello,
>  
> I installed geoserver 1.5 and openlayers 2.3 war-files on Tomcat.
>  
> I want to test the "wfs-scribble demo" to save my feature with
> geoserver, but I have this following error when I click on "Save" :
>  
>         WFS-TRANSACTION : FAILED
>  
> The stack trace in Tomcat is :
>  
> org.vfny.wfs.responses.WfsTransactionException :
> org.xml.sax.SAXException : Could not find featureType with name line,
> and uri : http://www.openplans.org/topp
>  
>  
> What is the problem ? I have change nothing in the war files...

The 'line' layer is not a default in GeoServer. You need to configure
it. You can browse the admin interface to
http://crschmidt.net:8080/geoserver/ , if that hlps you figure out how
to set it up, but in general, configuration of GeoServer is beyond the
scope of the OpenLayers mailing list (since I have no idea how to do it
-- it took a lot of stumbling before I got it working in the first
place). Maybe someone else can be more helpful.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list