Please keep your replies on the public list. Use reply-all, not reply.
Jimmy Aumard wrote:
My version of geoserver is 1.7.5SNAPSHOT and for the pluging rest-1.7.5-SNAPSHOT.jar and restconfig-1.7.5-SNAPSHOT.jar
Do you know the date you downloaded the builds? There have been a few fixes related to this latey, so i am not sure if you have them or not.
The request WFS are:
http://localhost:8080/geoserver/wfs?request=GetFeature&typename=topp:layer
Looking at the request it references the type name "topp:layer". Is this a mistake? Because according to the transaction it should be "topp:destroyjim".
and this one work (send by openlayers):
<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0" xsi:schemaLocation
="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance"><wfs:Insert><feature:destroyjim xmlns:feature="http://www.openplans.org/topp"
<feature:the_geom><gml:MultiSurface xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:900913"><gml
:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>362005.7659082 6188341.8091064
-68487.577333984 6168773.9298682 190786.82257324 5527925.8848145 1169180.7844873 6330208.933584 352221.82628906 6452508.1788232 190786.82257324 6339992.8732031 362005.7659082 6188341.8091064</gml:posList
</gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></gml:MultiSurface></feature:the_geom
</feature:destroyjim></wfs:Insert></wfs:Transaction>
Thanks for your help
Jim
2009/6/17 Justin Deoliveira <jdeolive@anonymised.com <mailto:jdeolive@anonymised.com>>
Hi Jim,
You will need to give me more information. Paritcularily:
1. What exact version of GeoServer you using, if it is a nightly
build please give me the date stamp on it.2. What exact version of the REST plugin you are using.
3. The exact WFS requests you are making
And I don't quite understand. You say that WFS-T requests work, but
a regular WFS request does not work?With more info, hopefully i can help.
-Justin
Jimmy Aumard wrote:
Hello justin,
My wfs layer doesn't work but the wfs-t work it's possible to
add a feature on my layer but not to see it because I have the
error:java.lang.RuntimeException: Could not find element declaration:
(http://www.openplans.org/topp, layer )
Could not find element declaration:
(http://www.openplans.org/topp, layer )It's very important for my project to create layer with REST for
make wfs-t.Thanks
Jim
-- Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.