<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19154">
</head>
<body>
<div><font size="2" face="Arial">Gis Mage <gismage@...> writes:</font></div>
<div> </div>
<div><font size="2" face="Arial">> <br>
> Hi list!<br>
> <br>
> I would like to know if anyone has any luck editing wfs layers<br>
> published with geoserver?<br>
> <br>
> I have the following situation:<br>
> First I connect to a geoserver wfs service and get a list of layers.<br>
> Then I add a layer topp:states to the map (this is one of the<br>
> shapefiles, which comes by default with geoserver)<br>
> I turn on editing and add one polygon to the layer. The poly is added<br>
> ok and the attributes are filled ok to.<br>
> When I hit Save edits QGIS freezes forever with 100% processor load<br>
> and nothing happens.<br>
> <br>
> Looking through geoserver log I don't see any request for wfs<br>
> transaction. So I assume it's a qgis bug.<br>
> When I'm editing the same layer with uDig, transactions work ok and I<br>
> see the corresponding messages in the geoserver log.</font></div>
<div> </div>
<div><font size="2" face="Arial">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.</font></div>
<div> </div>
<div><font size="2" face="Arial">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 <span class="437294714-12122011">attached
</span>request and <span class="437294714-12122011">if </span>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.</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><span class="437294714-12122011"><font size="2" face="Arial">I would quess the trouble has something to do with namespaces and schema validation.
</font></span><span class="437294714-12122011"><font size="2" face="Arial">The other file "geoserver_demo_update.txt" is a WFS-T example that comes with Geoserver installation and it works OK.</font></span></div>
<div><span class="437294714-12122011"><font size="2" face="Arial"></font></span> </div>
<div><span class="437294714-12122011"><font size="2" face="Arial">-Jukka Rahkonen-</font></span></div>
<div><span class="437294714-12122011"><font size="2" face="Arial"></font></span> </div>
<div><span class="437294714-12122011"><font size="2" face="Arial"></font></span> </div>
</body>
</html>