Hi list,

I try to update point on vector layer but it's doesn't work.

My request:

<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:Update typeName="feature:titi"
xmlns:feature="http://www.openplans.org
/topp"><wfs:Property><wfs:Name>the_geom</wfs:Name><wfs:Value><gml:Point
xmlns:gml="http://www.opengis
.net/gml" srsName="EPSG:900913"><gml:pos>616388.1960058601
6310641.054345695</gml:pos></gml:Point></wfs
:Value></wfs:Property><wfs:Property><wfs:Name>nom</wfs:Name><wfs:Value>tet</wfs:Value></wfs:Property
><wfs:Property><wfs:Name>adress</wfs:Name><wfs:Value>aq</wfs:Value></wfs:Property><ogc:Filter
> xmlns:ogc
="http://www.opengis.net/ogc";><ogc:FeatureId
fid="titi.14"/></ogc:Filter></wfs:Update></wfs:Transaction
>


Geoserver response:

<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0"
  xsi:schemaLocation="http://www.opengis.net/ows
http://192.168.40.136:8080/geoserver/schemas/ows/1.0
.0/owsExceptionReport.xsd"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:ows="http://www.opengis.net/ows";>
  <ows:Exception exceptionCode="InvalidParameterValue">
    <ows:ExceptionText>update error</ows:ExceptionText>
    <ows:ExceptionText>Details:</ows:ExceptionText>
    <ows:ExceptionText>org.geoserver.wfs.WFSException: update error
        at 
org.geoserver.wfs.response.v1_1_0.TransactionResponse.write(TransactionResponse.java:49)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:712)

I don't find the "InvalidParameterValue". If I make an insert it's work.
Do you have an idea?

Thanks

Jim
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to