<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">i have a pblm when i want to insert
a new feature. my request generated is (in firebug):</font>
<br>
<br><font size=2 face="sans-serif">post</font>
<br>
<br><font size=2 face="sans-serif"><wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs"
service="WFS" </font>
<br><font size=2 face="sans-serif">version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs
</font>
<br><font size=2 face="sans-serif">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></font>
<br>
<br><font size=2 face="sans-serif">and a response:</font>
<br>
<br><font size=2 face="sans-serif"><?xml version="1.0" encoding="UTF-8"?></font>
<br><font size=2 face="sans-serif"><wfs:TransactionResponse version="1.1.0"
xsi:schemaLocation="http://www.opengis.net/wfs http://localhost:8080/geoserver/schemas/wfs/1.1.0/wfs.xsd"
</font>
<br><font size=2 face="sans-serif">xmlns:ogc="http://www.opengis.net/ogc"
xmlns:tiger="http://www.census.gov" xmlns:wfs="http://www.opengis.net/wfs"
xmlns:tuto="http://www.openplans.org/tuto" </font>
<br><font size=2 face="sans-serif">xmlns:topp="http://www.openplans.org/topp"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sf="http://www.openplans.org/spearfish"
</font>
<br><font size=2 face="sans-serif">xmlns:ows="http://www.opengis.net/ows"
xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink"><wfs:TransactionSummary><wfs:totalInserted>0</wfs:totalInserted></font>
<br><font size=2 face="sans-serif"><wfs:totalUpdated>0</wfs:totalUpdated><wfs:totalDeleted>0</wfs:totalDeleted></wfs:TransactionSummary><wfs:TransactionResults/><wfs:InsertResults><wfs:Feature><ogc:FeatureId
fid="none"/></font>
<br><font size=2 face="sans-serif"></wfs:Feature></wfs:InsertResults></wfs:TransactionResponse></font>
<br>
<br><font size=2 face="sans-serif">i compared my request with that of example
(http://openlayers.org/dev/examples/wfs-protocol-transactions.html) and
the request generated in this case is:</font>
<br>
<br><font size=2 face="sans-serif"><wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs"
service="WFS" version="1.1.0" </font>
<br><font size=2 face="sans-serif">xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd </font>
<br><font size=2 face="sans-serif">http://opengeo.org http://demo.opengeo.org/geoserver/wfs/DescribeFeatureType?version=1.1.0&amp;typename=og:restricted"
</font>
<br><font size=2 face="sans-serif">xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wfs:Update
typeName="feature:restricted"</font>
<br><font size=2 face="sans-serif"> xmlns:feature="http://opengeo.org"><wfs:Property><wfs:Name>the_geom</wfs:Name><wfs:Value><gml:MultiSurface</font>
<br><font size=2 face="sans-serif"> xmlns:gml="http://www.opengis.net/gml"
srsName="EPSG:4326"><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing></font>
<br><font size=2 face="sans-serif"><gml:posList>-103.13690185636
44.54350530134 -103.19458007903 44.561120482483 -103.34152221769 44.500423524143
-103.23028564543</font>
<br><font size=2 face="sans-serif"> 44.439663311553 -103.13690185636
44.54350530134</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></font>
<br><font size=2 face="sans-serif"></gml:surfaceMember></gml:MultiSurface></wfs:Value></wfs:Property><ogc:Filter
xmlns:ogc="http://www.opengis.net/ogc"></font>
<br><font size=2 face="sans-serif"><ogc:FeatureId fid="restricted.680"/></ogc:Filter></wfs:Update></wfs:Transaction></font>
<br>
<br><font size=2 face="sans-serif">so, my request is very short and no
description of my url and feature inserted are contained in the post query.</font>
<br>
<br><font size=2 face="sans-serif">this is my script openlayers:</font>
<br>
<br><font size=2 face="sans-serif">//PNT WFS-T</font>
<br><font size=2 face="sans-serif">layer3 = new OpenLayers.Layer.Vector("PNT",</font>
<br><font size=2 face="sans-serif">
{strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],</font>
<br><font size=2 face="sans-serif">
projection: new OpenLayers.Projection("EPSG:27563"),</font>
<br>
<br><font size=2 face="sans-serif">
protocol: new OpenLayers.Protocol.WFS({</font>
<br><font size=2 face="sans-serif">
version: "1.1.0",</font>
<br><font size=2 face="sans-serif">
srsName: "EPSG:27563",</font>
<br><font size=2 face="sans-serif">
url: "http://localhost:8080/geoserver/wfs",</font>
<br><font size=2 face="sans-serif">
featureNS : "http://www.openplans.org/tuto",</font>
<br><font size=2 face="sans-serif">
featureType: "PNT",</font>
<br><font size=2 face="sans-serif">
geometryName:"GEOMETRY1",</font>
<br><font size=2 face="sans-serif">
schema: "http://localhost:8080/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=tuto:PNT"</font>
<br>
<br><font size=2 face="sans-serif">
})},</font>
<br><font size=2 face="sans-serif">
{</font>
<br><font size=2 face="sans-serif">
extractAttributes:true,</font>
<br><font size=2 face="sans-serif">
displayInLayerSwitcher: true
</font>
<br><font size=2 face="sans-serif">
});</font>
<br><font size=2 face="sans-serif">
</font>
<br><font size=2 face="sans-serif">var save = new OpenLayers.Control.Button({</font>
<br><font size=2 face="sans-serif">
title: "Save Changes",</font>
<br><font size=2 face="sans-serif">
trigger: function() {</font>
<br><font size=2 face="sans-serif">
if(edit.feature) {</font>
<br><font size=2 face="sans-serif">
edit.selectControl.unselectAll();</font>
<br><font size=2 face="sans-serif">
}</font>
<br><font size=2 face="sans-serif">
saveStrategy.save();</font>
<br><font size=2 face="sans-serif">
},</font>
<br><font size=2 face="sans-serif">
displayClass: "olControlSaveFeatures"</font>
<br><font size=2 face="sans-serif">
});</font>
<br><font size=2 face="sans-serif">any idea?</font>
<br>
<br><font size=2 face="sans-serif">Best regards,</font>