<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div><span>Thank you very much for the hint Bart!!! - loadin the legacy.sql definitions solved the problem ... regarding the wfs-t from gistutor.com</span></div><div><span>.</span></div><div><span>Unfortunately, the openlayers demo "wfs-t.html" still won't work. Same picture as before I get the "Success" message but after reloading all changes are gone. The data for both wfs-t services are saved in the same database. this was installed automatically with the postgis v2.0 extension and is called "postgis20". maybe apart from legacy.sql which I just loaded, there are some more definitions missing?</span></div><div> </div><div>kindly,</div><div>pedro</div><div></div><div><font size="3"><span style="BACKGROUND:white;COLOR:black;FONT-SIZE:10pt;"><br></span></font></div><div><font size="3"><span style="font-family:
 'lucida console', sans-serif; background-color: rgb(0, 0, 127); color: rgb(255, 255, 191); background-position: initial initial; background-repeat: initial initial; "></span><span style="BACKGROUND:white;COLOR:black;FONT-SIZE:10pt;"><br></span></font></div><div style="TEXT-ALIGN:center;" class="MsoNormal" align="center"><font size="3"><span style="FONT-SIZE:10pt;"><hr align="center" size="2" width="100%"></span></font></div><div style="font-family: tahoma, 'new york', times, serif; " class="MsoNormal"><font size="2"><span style="FONT-SIZE:10pt;">peter lanz</span></font></div><div><font size="2"><span style="font-family: tahoma, 'new york', times, serif; background-color: rgb(185, 185, 185); font-size: 10pt; background-position: initial initial; background-repeat: initial initial; "> <span style="BACKGROUND-COLOR:rgb(255,255,191);COLOR:rgb(255,255,255);"></span></span><span style="font-family: tahoma, 'new york', times, serif; background-color:
 white; color: black; font-size: 10pt; background-position: initial initial; background-repeat: initial initial; "> 00491632465592</span><span style="font-family: tahoma, 'new york', times, serif; background-color: rgb(185, 185, 185); font-size: 10pt; background-position: initial initial; background-repeat: initial initial; "><br><span style="BACKGROUND-COLOR:rgb(230,230,230);"> </span><span style="BACKGROUND-COLOR:rgb(255,255,191);COLOR:rgb(255,255,255);"></span></span><span style="font-family: tahoma, 'new york', times, serif; background-color: white; color: black; font-size: 10pt; background-position: initial initial; background-repeat: initial initial; "> berlin</span></font></div><div style="font-family: tahoma, 'new york', times, serif; "><font size="2"><span style="BACKGROUND:rgb(208,208,208);COLOR:black;"> </span></font></div><div><font size="2"><span style="font-family: tahoma, 'new york', times, serif; background-color: rgb(0, 0,
 127); color: rgb(255, 255, 191); background-position: initial initial; background-repeat: initial initial; "> f</span><span style="font-family: tahoma, 'new york', times, serif; background-color: rgb(128, 192, 255); color: rgb(255, 255, 191); background-position: initial initial; background-repeat: initial initial; ">l</span><span style="font-family: tahoma, 'new york', times, serif; background-color: rgb(96, 154, 159); color: rgb(255, 255, 191); background-position: initial initial; background-repeat: initial initial; ">a</span><span style="font-family: tahoma, 'new york', times, serif; background-color: rgb(150, 189, 196); color: rgb(255, 255, 191); background-position: initial initial; background-repeat: initial initial; ">s</span><span style="font-family: tahoma, 'new york', times, serif; background-color: rgb(255, 159, 64); color: rgb(255, 255, 191); background-position: initial initial; background-repeat: initial initial; "><span
 style="BACKGROUND-COLOR:rgb(191,223,255);">h</span><span style="BACKGROUND-COLOR:rgb(255,255,255);COLOR:rgb(150,189,196);">erei.n<span style="BACKGROUND-COLOR:rgb(191,255,255);">e<span style="BACKGROUND-COLOR:rgb(128,192,255);COLOR:rgb(191,255,255);">t</span></span></span></span><span style="BACKGROUND:white;COLOR:black;FONT-SIZE:10pt;"><br></span></font></div><div><font size="2"><span style="FONT-SIZE:10pt;"></span></font></div><div style="COLOR:rgb(45,45,45);"><font size="2"><span style="font-family: tahoma, 'new york', times, serif; background-color: rgb(185, 185, 185); background-position: initial initial; background-repeat: initial initial; "> </span></font></div><div style="COLOR:rgb(45,45,45);"> </div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "> <div
 style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Bart van den Eijnden <bartvde@opengeo.org><br> <b><span style="font-weight: bold;">To:</span></b> Peter Lanz <peterlanz@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "openlayers-users@lists.osgeo.org" <openlayers-users@lists.osgeo.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, August 16, 2012 11:59 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenLayers-Users] WFS-T: Delete Feature works, edit or create Feature does not work<br> </font> </div> <br><div id="yiv404651783"><div>My best guess is that you need to load the legacy.sql into PostGIS, see also:<div><br></div><div><a rel="nofollow" target="_blank"
 href="https://getsatisfaction.com/opengeo/topics/unable_to_edit_the_geometry_of_postgis_layers">https://getsatisfaction.com/opengeo/topics/unable_to_edit_the_geometry_of_postgis_layers</a></div><div><br></div><div>Best regards,</div><div>Bart</div><div><br></div><div><div>
<span class="yiv404651783Apple-style-span" style="border-collapse:separate;border-spacing:0px;"><div>-- <br>Bart van den Eijnden<br>OpenGeo - <a rel="nofollow" target="_blank" href="http://opengeo.org/">http://opengeo.org</a><br>Expert service straight from the developers.</div><div><br></div></span><br class="yiv404651783Apple-interchange-newline">

</div>
<br><div><div>On Aug 16, 2012, at 11:54 AM, Peter Lanz <<a rel="nofollow" ymailto="mailto:peterlanz@yahoo.com" target="_blank" href="mailto:peterlanz@yahoo.com">peterlanz@yahoo.com</a>> wrote:</div><br class="yiv404651783Apple-interchange-newline"><blockquote type="cite"><div><div style="background-color: rgb(255, 255, 255); font-family: courier, monaco, monospace, sans-serif; font-size: 10pt; "><div><span><div style="font-family: Tahoma; font-size: 16px; ">Dear OpenLayer Users!</div><div style="font-family: Tahoma; font-size: 16px; "><br></div><div style="font-family: Tahoma; font-size: 16px; ">I tried to set up a WFS-T using the tutorial at <a rel="nofollow" target="_blank"
 href="https://post.beuth-hochschule.de/owa/redir.aspx?C=cG5plV97T0CK-0dUlHotvSyjR4zITc8IX_N6UnWSBo4z6eGcaGKKCAiL3Y4R9AuIesecI5Yq5wg.&URL=http%3a%2f%2fwww.gistutor.com%2fopenlayers%2f22-advanced-openlayers-tutorials%2f47-openlayers-wfs-t-using-a-geoserver-hosted-postgis-layer.html">http://www.gistutor.com/openlayers/22-advanced-openlayers-tutorials/47-openlayers-wfs-t-using-a-geoserver-hosted-postgis-layer.html</a>. Doing so, I imported the shape files to postgresql (9.1). I work with GeoServer 2.1.4. </div><div style="font-family: Tahoma; font-size: 16px; ">Deleting features works well, but adding or editing doesn't! Same with the Openlayers demo "wfs-t.html" with the tassi datasets. When I use shapefiles instead of postgresql all works well!</div><div style="font-family: Tahoma; font-size: 16px; "><br></div><div style="font-family: Tahoma; font-size: 16px; ">I would very much appreciate some hints how to solve this. I tried to install and run
 GeoServer on Jetty, Tomcat6 and Tomcat on top of Apache HTTP but in all 3 cases the same error so maybe something went wrong while importing the shapefiles to the database!?</div><div style="font-family: Tahoma; font-size: 16px; "><br></div><div style="font-family: Tahoma; font-size: 16px; ">I get this "Success" message:</div><div style="font-family: Tahoma; font-size: 16px; "><div>WFS-Transaction: Success </div><div><?xml version0"1.0" encoding="UTF-8"?></div><div><wfs:WFS_TransactionResponse version="1.0.0."</div><div><span class="yiv404651783Apple-tab-span" style="white-space:pre;"></span>xmlns="<a rel="nofollow" target="_blank" href="http://opengis.net/wfs">http://opengis.net/wfs</a>"</div><div><span class="yiv404651783Apple-tab-span" style="white-space:pre;"></span>xmlns="<a rel="nofollow" target="_blank" href="http://opengis.net/ogc">http://opengis.net/ogc</a>§</div><div><span class="yiv404651783Apple-tab-span"
 style="white-space:pre;"></span>xmlns:xsi="<a rel="nofollow" target="_blank" href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"</div><div><span class="yiv404651783Apple-tab-span" style="white-space:pre;"></span>xsi:schemaLocation="<a rel="nofollow" target="_blank" href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a> <a rel="nofollow" target="_blank"  href="http://localhost:8090/geoserver/schemas/wfs/1.0.0/WFS-transaction.xsd">http://localhost:8090/geoserver/schemas/wfs/1.0.0/WFS-transaction.xsd</a>"></div><div><span class="yiv404651783Apple-tab-span" style="white-space:pre;"></span><wfs:InsertResult></div><div><span class="yiv404651783Apple-tab-span" style="white-space:pre;"></span><ogc:FeatureID fid="new0"/><ogc:FeatureID fid="new1"/><ogc:FeatureID fid="new2"/></div><div><span class="yiv404651783Apple-tab-span"
 style="white-space:pre;"></span></wfs:InsertResult></div><div><span class="yiv404651783Apple-tab-span" style="white-space:pre;"></span><wfs:TransactionResult></div><div><span class="yiv404651783Apple-tab-span" style="white-space:pre;"></span><wfs:Status></div><div><span class="yiv404651783Apple-tab-span" style="white-space:pre;"></span><wfs:SUCESS/></div><div><span class="yiv404651783Apple-tab-span" style="white-space:pre;"></span></wfs:Status></div><div><span class="yiv404651783Apple-tab-span" style="white-space:pre;"></span></wfs:TransactionResult></div><div></wfs:WFS_TransactionResponse></div></div><div style="font-family: Tahoma; font-size: 16px; ">...but after reloading the new features are gone.</div><div style="font-family: Tahoma; font-size: 16px; "><br></div><div style="font-family: Tahoma; font-size: 16px; ">Please let me know if any log data would help you to help me!</div><div style="font-family:
 Tahoma; font-size: 16px; ">cheers</div><div style="font-family: Tahoma; font-size: 16px; ">pedro</div><div style="font-family: Tahoma; font-size: 16px; "><div style="font-size:13px;"><br class="yiv404651783Apple-interchange-newline"></div></div></span></div><div> </div><div><font size="3"><span style="background-color:white;font-size:10pt;"><br></span></font></div><div><font size="3"><span style="font-family: sans-serif; background-color: rgb(0, 0, 127); color: rgb(255, 255, 191); "></span><span style="background-color:white;font-size:10pt;"><br></span></font></div><div style="TEXT-ALIGN:center;" class="yiv404651783MsoNormal" align="center"><font size="3"><span style="FONT-SIZE:10pt;"><hr align="center" size="2" width="100%"></span></font></div><div style="font-family: tahoma, times, serif; " class="yiv404651783MsoNormal"><font size="2"><span style="FONT-SIZE:10pt;">peter lanz</span></font></div><div><font size="2"><span style="font-family: tahoma,
 times, serif; background-color: rgb(185, 185, 185); font-size: 10pt; "> <span style="BACKGROUND-COLOR:rgb(255,255,191);COLOR:rgb(255,255,255);"></span></span><span style="font-family: tahoma, times, serif; background-color: white; font-size: 10pt; "> 00491632465592</span><span style="font-family: tahoma, times, serif; background-color: rgb(185, 185, 185); font-size: 10pt; "><br><span style="BACKGROUND-COLOR:rgb(230,230,230);"> </span><span style="BACKGROUND-COLOR:rgb(255,255,191);COLOR:rgb(255,255,255);"></span></span><span style="font-family: tahoma, times, serif; background-color: white; font-size: 10pt; "> berlin</span></font></div><div style="font-family: tahoma, times, serif; "><font size="2"><span style="background-color:rgb(208, 208, 208);"> </span></font></div><div><font size="2"><span style="font-family: tahoma, times, serif; background-color: rgb(0, 0, 127); color: rgb(255, 255, 191); "> f</span><span style="font-family:
 tahoma, times, serif; background-color: rgb(128, 192, 255); color: rgb(255, 255, 191); ">l</span><span style="font-family: tahoma, times, serif; background-color: rgb(96, 154, 159); color: rgb(255, 255, 191); ">a</span><span style="font-family: tahoma, times, serif; background-color: rgb(150, 189, 196); color: rgb(255, 255, 191); ">s</span><span style="font-family: tahoma, times, serif; background-color: rgb(255, 159, 64); color: rgb(255, 255, 191); "><span style="BACKGROUND-COLOR:rgb(191,223,255);">h</span><span style="BACKGROUND-COLOR:rgb(255,255,255);COLOR:rgb(150,189,196);">erei.n<span style="BACKGROUND-COLOR:rgb(191,255,255);">e<span style="BACKGROUND-COLOR:rgb(128,192,255);COLOR:rgb(191,255,255);">t</span></span></span></span><span style="background-color:white;font-size:10pt;"><br></span></font></div><div><font size="2"><span style="FONT-SIZE:10pt;"></span></font></div><div style="COLOR:rgb(45,45,45);"><font size="2"><span style="font-family:
 tahoma, times, serif; background-color: rgb(185, 185, 185); "> </span></font></div><div style="COLOR:rgb(45,45,45);"> </div></div></div>_______________________________________________<br>Users mailing list<br><a rel="nofollow" ymailto="mailto:Users@lists.osgeo.org" target="_blank" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/openlayers-users<br></blockquote></div><br></div></div></div><br><br> </div> </div> </blockquote></div>   </div></body></html>