[OpenLayers-Users] WFS_T help
Tobias Reinicke
ramotswa at gmail.com
Wed Jun 6 03:43:12 PDT 2012
Hi Gary,
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.
Another good thing to check is to see if that request evaluates correctly
in your "demo request" area in geoserver.
http://gislidar.serveftp.com/geoserver/web --> "Demos" --> Demo requests
--> WFS_transactionInsert.xml
Change the text in that Body to what you are sending through the app and
see what error you're getting there...
Let us know how you get on.
Toby
On 6 June 2012 11:33, Gary Duckers <coffi at hotmail.co.uk> wrote:
> I am new to OpenLayers and I am trying to create a map that allows a user
> to
> edit a WFS layer. It allows me to delete or save unmodifed, however, when I
> try to save a new feature I get the following error in Firebug.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <ows:ExceptionReport version="1.0.0"
> xsi:schemaLocation="http://www.opengis.net/ows
>
> http://gislidar.serveftp.com:80/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>Error performing insert: Error inserting
> features</ows:ExceptionText>
> </ows:Exception>
> </ows:ExceptionReport>
>
> The layer is serverd via PostGIS and Geoserver with a native and declared
> SRID of 27700 and the code is shown below
>
>
>
>
> Any help or tips would be greatly appreciated
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/WFS-T-help-tp4979461.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120606/22492d91/attachment.html>
More information about the Users
mailing list