Hi Gary,<div><br></div><div>It will help you immensely if you use firebug or google chrome dev tools to see what the actual request is that is being sent to your Geoserver. If you have a look at that you might be able to see a mismatch of what you are trying to write. Send it back to the list and we can have a look at it.</div>
<div><br></div><div>Another good thing to check is to see if that request evaluates correctly in your "demo request" area in geoserver. </div><div><a href="http://gislidar.serveftp.com/geoserver/web">http://gislidar.serveftp.com/geoserver/web</a> --> "Demos" --> Demo requests --> WFS_transactionInsert.xml</div>
<div>Change the text in that Body to what you are sending through the app and see what error you're getting there...</div><div><br></div><div>Let us know how you get on.</div><div><br></div><div>Toby</div><div><br><div class="gmail_quote">
On 6 June 2012 11:33, Gary Duckers <span dir="ltr"><<a href="mailto:coffi@hotmail.co.uk" target="_blank">coffi@hotmail.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am new to OpenLayers and I am trying to create a map that allows a user to<br>
edit a WFS layer. It allows me to delete or save unmodifed, however, when I<br>
try to save a new feature I get the following error in Firebug.<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<ows:ExceptionReport version="1.0.0"<br>
xsi:schemaLocation="<a href="http://www.opengis.net/ows" target="_blank">http://www.opengis.net/ows</a><br>
<a href="http://gislidar.serveftp.com:80/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd" target="_blank">http://gislidar.serveftp.com:80/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd</a>"<br>
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"<br>
xmlns:ows="<a href="http://www.opengis.net/ows" target="_blank">http://www.opengis.net/ows</a>"><br>
<ows:Exception exceptionCode="InvalidParameterValue"><br>
<ows:ExceptionText>Error performing insert: Error inserting<br>
features</ows:ExceptionText><br>
</ows:Exception><br>
</ows:ExceptionReport><br>
<br>
The layer is serverd via PostGIS and Geoserver with a native and declared<br>
SRID of 27700 and the code is shown below<br>
<br>
<br>
<br>
<br>
Any help or tips would be greatly appreciated<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/WFS-T-help-tp4979461.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/WFS-T-help-tp4979461.html</a><br>
Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</blockquote></div><br></div>