Hi! <br>I'm using WFSTFeatureEditing.js with Tinyows and i got some problem on transaction.<br><br>with this XML : <br>"<wfs:Transaction xmlns:wfs=\"<a href="http://www.opengis.net/wfs\">http://www.opengis.net/wfs\</a>" service=\"WFS\" version=\"1.0.0\" xsi:schemaLocation=\"<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a> <a href="http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd\">http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd\</a>" xmlns:xsi=\"<a href="http://www.w3.org/2001/XMLSchema-instance\">http://www.w3.org/2001/XMLSchema-instance\</a>">"+<br>
"<wfs:Insert>"+<br>"<feature:CASERNE_VIEW_MODIF xmlns:feature=\"<a href="http://balblabla.qc.ca/\">http://balblabla.qc.ca/\</a>">"+<br>"<feature:geom_p>"+<br>"<gml:Point xmlns:gml=\"<a href="http://www.opengis.net/gml\">http://www.opengis.net/gml\</a>" srsName=\"EPSG:900913\">"+<br>
"<gml:coordinates decimal=\".\" cs=\",\" ts=\" \">-8026012.4235639,5923239.9348854</gml:coordinates>"+<br>"</gml:Point>"+<br>"</feature:geom_p>"+<br>
"<feature:nom_muncp>fff</feature:nom_muncp>"+<br>"<feature:role>test_marc</feature:role>"+<br>"<feature:nom_rue>ééé</feature:nom_rue>"+<br>"</feature:CASERNE_VIEW_MODIF>"+<br>
"</wfs:Insert>"+<br>"</wfs:Transaction>"<br><br>everything is OK when Content-type = text/xml but when Content-type=application/xml nothing works.<br>so i tried to set the content-type.<br>
i set my manager like this :<br><br> manager = new GeoExt.ux.WFSTFeatureEditingManager({<br> "map": oMap,<br> "toolbar": oToolbar,<br> "url": tinyURL,<br> "toggleGroup": "map",<br>
"actionGroup": "map",<br> "mainPanelContainer": WFSextWindow,<br> "ignoredAttributes": {name:["the_geom", "geom_p", "geom_s", "geom_l", "ogc_fid"]},<br>
"geomProperty": {name:["geom_p","geom_s","geom_l", "the_geom"]},<br> "DEFAULT_PROTOCOL_OPTIONS": {featureNS: Host.obtenir(), srsName: "EPSG:900913", headers: {<br>
"CONTENT-TYPE": "text/xml"}},<br> "featureEditorGridContainerOptions": {"width": 400}<br> });<br> <br>the GetFeature is OK (content-type=text/xml) but any transactions (INSERT, UPDATE) had content-type=application/xml<br>
<br>transaction use Openlayers.Strategy.Save() so i can't see how to set the headers of the request<br><br>Marc-andré Trottier<br><br><br><br> <br>