<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Maybe your feauture namespace is wrong, without the http?</div>

<div>url: &#39;/geoserver/namespace/wfs&#39;,</div>

<div>layers : layername,</div>

<div>&nbsp;</div>

<div>&nbsp;(on localhost)</div>

<div>&nbsp;</div>

<div>&nbsp;
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b>&nbsp;Montag, 08. Juli 2013 um 17:31 Uhr<br/>
<b>Von:</b>&nbsp;&quot;Pablo P&eacute;rez Diez&quot; &lt;pablo.fnk.foncas@gmail.com&gt;<br/>
<b>An:</b>&nbsp;users@geoext.org<br/>
<b>Betreff:</b>&nbsp;[Users] Changing feature attributes through WFS-T</div>

<div name="quoted-content">
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi,<br/>
&nbsp;</div>
I&#39;ve a map generated through OpenLayers. I&#39;m using GeoExt to generate a tree of layers loaded from Geoserver that at the same time is loaded from a PostGIS database. I&#39;ve developed that when the user click over the layer in the map a popup is displayed with the feature information, then I&#39;ve added a button to the popup because of the user change some value of the feature to save it in the database.<br/>
<br/>
However, it isn&#39;t working:<br/>
&nbsp;</div>
To show the feature information in the popup I call to the function OpenLayers.Control.WMSGetFeatureInfo and It wait the event &quot;getfeatureinfo&quot;. So, once the user click in the layer the popup is displayed with the save button. The user click in the button and the handler event is triggered with the next code:<br/>
<br/>
var capa = new OpenLayers.Protocol.WFS({<br/>
&nbsp;&nbsp;&nbsp; url: &quot;/geoserver/ows&quot;,<br/>
&nbsp;&nbsp;&nbsp; version: &quot;1.1.0&quot;,<br/>
&nbsp;&nbsp;&nbsp; featureType: &quot;aicp&quot;,<br/>
&nbsp;&nbsp;&nbsp; featureNS: &quot;<a href="http://OceanliderRestricciones" target="_blank">http://OceanliderRestricciones</a>&quot;,<br/>
&nbsp;&nbsp;&nbsp; srsName: &quot;EPSG:4326&quot;<br/>
});<br/>
<br/>
capa.commit(e.features);<br/>
&nbsp;</div>
&quot;aicp&quot; is the name of the layer I&#39;m using to test it.</div>
&quot;<a href="http://OceanliderRestricciones" target="_blank">http://OceanliderRestricciones</a>&quot; is the URI of the workspace.</div>
&quot;e&quot; is the variable received as parameter when &quot;getfeatureinfo&quot; event is triggered.<br/>
&nbsp;</div>
A post request is send with the next content:<br/>
&nbsp;
<div>
<div><span>&lt;<span>wfs:Transaction</span><span>&nbsp;<span>xmlns:wfs</span>=&quot;<span><a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a></span>&quot;</span><span>&nbsp;<span>service</span>=&quot;<span>WFS</span>&quot;</span><span>&nbsp;<span>version</span>=&quot;<span>1.1.0</span>&quot;</span><span>&nbsp;<span>xsi:schemaLocation</span>=&quot;<span><a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a> <a href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" target="_blank">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</a></span>&quot;</span><span>&nbsp;<span>xmlns:xsi</span>=&quot;<span><a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a></span>&quot;</span><span>&gt;</span></span></div>

<div>&lt;/<span>wfs:Transaction</span>&gt;<br/>
&nbsp;</div>

<div>This is wrong because it hasn&#39;t what to do, I mean, It isn&#39;t saying what to do (update, insert, delete).<br/>
<br/>
I would appreciate your help.<br/>
&nbsp;</div>

<div>Thanks,<br/>
<br/>
FNK.<br/>
&nbsp;</div>

<div>PD: I&#39;ve used this tutorial: <b><a href="http://workshops.opengeo.org/geoext/wfs/wfst.html" target="_blank">http://workshops.opengeo.org/geoext/wfs/wfst.html</a></b><br/>
It works but I don&#39;t know how to adapt it to my code.</div>
</div>
</div>
</div>
</div>
</div>
</div></div></body></html>