[Qgis-user] Re: WFS Transactions to GeoServer freeze QGIS

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Mon Dec 12 07:03:34 PST 2011


Gis Mage <gismage at ...> writes:

>
> Hi list!
>
> I would like to know if anyone has any luck editing wfs layers
> published with geoserver?
>
> I have the following situation:
> First I connect to a geoserver wfs service and get a list of layers.
> Then I add a layer topp:states to the map (this is one of the
> shapefiles, which comes by default with geoserver)
> I turn on editing and add one polygon to the layer. The poly is added
> ok and the attributes are filled ok to.
> When I hit Save edits QGIS freezes forever with 100% processor load
> and nothing happens.
>
> Looking through geoserver log I don't see any request for wfs
> transaction. So I assume it's a qgis bug.
> When I'm editing the same layer with uDig, transactions work ok and I
> see the corresponding messages in the geoserver log.

I can repeat your error exactly. I made a fresh Geoserver 2.1.2 install on Windows and tried to edit the States layer. QGis is sending the POST GetFeature request but it is never coming to the Geoserver side and Jetty server does not show a new line in the request log. Qgis process is taking 100% of the processor time.

I cannot say if the POST request created by QGIS is OK or not but it looks strongly that there is something in the request that makes it to fail. I tried to send the same request with Poster and with the demo application that comes with Geoserver installation and the result is the same with these two methods as well. Nothing appears into Geoserver and Jetty logs. Perhaps QGIS WSF developers could have a look at the attached request and if it seems to be a valid WFS 1.0.0 POST request, forward it to Geoserver users list. The request is what QGIS 1.7.0 is sending and it is captured by using Fiddler2 software as a local proxy between QGIS and Geoserver.

I would quess the trouble has something to do with namespaces and schema validation. The other file "geoserver_demo_update.txt" is a WFS-T example that comes with Geoserver installation and it works OK.

-Jukka Rahkonen-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20111212/9af8978b/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qgis_geoserver_update.txt
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20111212/9af8978b/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: geoserver_demo_update.txt
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20111212/9af8978b/attachment-0001.txt>


More information about the Qgis-user mailing list