<div dir="ltr"><div style><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">Thank you all guys for your support! :) I've found the answer - it was a slash at the end of wfs:Transaction openning tag(i have no idea how it got there).</span></div>
<div style><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap"><br></span></div><div style><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">Anyways, i'll leave here a working example of insert request just in case:</span></div>
<div><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap"><br></span></div><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap"><wfs:Transaction
  service='WFS'
  version='1.1.0'
  xmlns:wfs='</span><a href="http://www.opengis.net/wfs" class="" title="http://www.opengis.net/wfs" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/wfs</a><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">'
  xmlns:gml='</span><a href="http://www.opengis.net/gml" class="" title="http://www.opengis.net/gml" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/gml</a><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">'
  xmlns:xsi='</span><a href="http://www.w3.org/2001/XMLSchema-instance" class="" title="http://www.w3.org/2001/XMLSchema-instance" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.w3.org/2001/XMLSchema-instance</a><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">'
  xmlns:map='</span><a href="http://www.tinyows.org/map" class="" title="http://www.tinyows.org/map" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.tinyows.org/map</a><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">'
  xsi:schemaLocation='</span><a href="http://schemas.opengis.net/wfs/1.1.0/WFS-transaction.xsd" class="" title="http://schemas.opengis.net/wfs/1.1.0/WFS-transaction.xsd" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://schemas.opengis.net/wfs/1.1.0/WFS-transaction.xsd</a><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">'
  map:schemaLocation='</span><a href="http://127.0.0.1/cgi-bin/tinyows?service=WFS&amp;request=DescribeFeatureType&amp;version=1.1.0" class="" title="http://127.0.0.1/cgi-bin/tinyows?service=WFS&amp;request=DescribeFeatureType&amp;version=1.1.0" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://127.0.0.1/cgi-bin/tinyows?service=WFS&amp;request=DescribeFeatureType&amp;version=1.1.0</a><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">'>
  <wfs:Insert>
    <map:nodes>
      <map:coord>
        <gml:Point srsDimension='2' srsName='urn:x-ogc:def:crs:EPSG:4326'>
          <gml:pos srsDimension='2'>30.454343 50.447954</gml:pos>
        </gml:Point>
      </map:coord>
    </map:nodes>
  </wfs:Insert>
</wfs:Transaction></span><br><div><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap"><br></span></div><div style><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">P.S.</span></div>
<div style><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap"><br></span></div><div style><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">Changes i made:</span></div>
<div style><font color="#000000" face="dejavu sans mono, monospace"><span style="font-size:11px;white-space:pre-wrap">Thanks to Andreas Eichner - escaping character in map:schemaLocation,</span></font></div><div style><font color="#000000" face="dejavu sans mono, monospace"><span style="font-size:11px;white-space:pre-wrap">       to Rahkonen Juka   - gml2 -> gml3 in gml:Point</span></font></div>
<div style><font color="#000000" face="dejavu sans mono, monospace"><span style="font-size:11px;white-space:pre-wrap">                          - </span></font><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">separate schemaLocation for map(don't even know what i was thinking before)</span></div>
<div style><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap"><br></span></div><div style><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">And for Serge Dikiy my config.xml:</span></div>
<div style><span style="font-size:11px;white-space:pre-wrap;color:rgb(0,0,0);font-family:'dejavu sans mono',monospace"><tinyows online_resource="<a href="http://127.0.0.1/cgi-bin/tinyows">http://127.0.0.1/cgi-bin/tinyows</a>"</span><br>
</div><div style><font color="#000000" face="dejavu sans mono, monospace"><span style="font-size:11px;white-space:pre-wrap">         schema_dir="/usr/local/share/tinyows/schema/"
         log="/var/log/tinyows.log"
         log_level="15"
         check_schema="0">

<pg host="127.0.0.1" user="someuser" password="somepassword dbname="somedb" port="2345"/>

<metadata name="TinyOWS Server"
          title="TinyOWS Server - WFS-T Frida Service" />

<contact name="TinyOWS Server"
         site="<a href="http://www.tinyows.org/">http://www.tinyows.org/</a>"
         email="<a href="mailto:tinyows-users@lists.maptools.org">tinyows-users@lists.maptools.org</a>" />

<layer retrievable="1"
       writable="1"
       ns_prefix="map"
       ns_uri="<a href="http://www.tinyows.org/map">http://www.tinyows.org/map</a>"
       name="nodes"
       title="Title" />

</tinyows></span></font><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">
</span></div><div><span style="color:rgb(0,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap"><br></span></div><div style><font color="#000000" face="dejavu sans mono, monospace"><span style="font-size:11px;white-space:pre-wrap">And i forgot to mention before that i use ubuntu 12.10 as an os</span></font></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/22 Rahkonen Jukka <span dir="ltr"><<a href="mailto:jukka.rahkonen@mmmtike.fi" target="_blank">jukka.rahkonen@mmmtike.fi</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
If you are on Windows you may not success. At least the version which is available for MS4W has a bug and it does not do inserts.<br>
One error I can see in your request is that it is using geometry in GML2 style with WFS 1.1.0. I would be at least a good habit to use gml:pos there. This insert works for me on Linux.<br>
<br>
<?xml version='1.0' encoding='ISO-8859-1'?><br>
<wfs:Transaction version='1.1.0' service='WFS'<br>
xmlns:gml='<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>'<br>
xmlns:ogc='<a href="http://www.opengis.net/ogc" target="_blank">http://www.opengis.net/ogc</a>'<br>
xmlns:wfs='<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a>'<br>
xmlns:xsi='<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>'<br>
xsi:schemaLocation='<a href="http://www.opengis.net/wfs/1.1.0/WFS-transaction.xsd" target="_blank">http://www.opengis.net/wfs/1.1.0/WFS-transaction.xsd</a>'<br>
xmlns:lv='<a href="http://latuviitta.fi/" target="_blank">http://latuviitta.fi/</a>'  ><br>
<wfs:Insert handle='insert1' idgen='GenerateNew' ><br>
<lv:editable_points><br>
<lv:geom><br>
<gml:Point xmlns:gml="<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>" srsName="urn:ogc:def:crs:EPSG::3067" srsDimension="2"><br>
<gml:pos srsDimension="2"> -160567.85652445967 5936050.398293516<br>
</gml:pos><br>
</gml:Point><br>
</lv:geom><br>
</lv:editable_points><br>
</wfs:Insert><br>
</wfs:Transaction><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
-Jukka Rahkonen<br>
</font></span><div class="im HOEnZb"><br>
<br>
Eichner, Andreas wrote:<br>
><br>
><br>
> Try escaping the '&' in the schema location URL as '&amp;' as otherwise it<br>
> would be interpreted as an enity. And schemaLocation should be a list of<br>
> pairs of namespace name and location. It's probably a good idea to validate<br>
> the request document before posting it to TinyOWS...<br>
><br>
</div><div class="im HOEnZb">> > The request i send looks like this:<br>
> ><br>
> > <wfs:Transaction<br>
> >   service='WFS'<br>
> >   version='1.1.0'<br>
> >   xmlns:wfs='<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a>'<br>
> >   xmlns:gml='<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>'<br>
> >   xmlns:xsi='<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>'<br>
> >   xmlns:map='<a href="http://www.tinyows.org/map" target="_blank">http://www.tinyows.org/map</a>'<br>
> >   xsi:schemaLocation='<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a><br>
> ><br>
> > <a href="http://schemas.opengis.net/wfs/1.1.0/WFS-transaction.xsd" target="_blank">http://schemas.opengis.net/wfs/1.1.0/WFS-transaction.xsd</a><br>
> ><br>
> > <a href="http://127.0.0.1/cgi-bin/tinyows?service=WFS&request=DescribeF" target="_blank">http://127.0.0.1/cgi-bin/tinyows?service=WFS&request=DescribeF</a><br>
> eatureType&version=1.1.0'/><br>
> >   <wfs:Insert><br>
> >     <map:nodes><br>
> >       <map:coord><br>
> >         <gml:Point srsDimension='2'<br>
> > srsName='urn:x-ogc:def:crs:EPSG:4326'><br>
> >           <gml:coordinates decimal='.' cs=',' ts='<br>
> > '>30.454343,50.447954</gml:coordinates><br>
> >         </gml:Point><br>
> >       </map:coord><br>
> >     </map:nodes><br>
> >   </wfs:Insert><br>
> > </wfs:Transaction><br>
</div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></div></blockquote></div><br></div>