Hi list,

I try to use WFS-T to add a new point on my layer, I use Openlayers,
geoserver 1.7.6 and Postgis.

This is 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:Insert><feature:franchises
xmlns:feature="http://www.openplans.org/topp";
><feature:the_geom><gml:Point xmlns:gml="http://www.opengis.net/gml"; 
>srsName="EPSG:900913"><gml:pos>757185

.20208755 
5403792.1508966</gml:pos></gml:Point></feature:the_geom></feature:franchises></wfs:Insert>
</wfs:Transaction>

This is the 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="NoApplicableCode">
    <ows:ExceptionText>{http://www.openplans.org/topp}franchises
<http://www.openplans.org/topp%7Dfranchises> is
read-only</ows:ExceptionText>

  </ows:Exception>
</ows:ExceptionReport>

Thanks for help.

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

Reply via email to