<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello to all,<br><br>First of all, I would like to say that I am very new with the Open-Source technologies (Apache especially). I have had experience only in MS technologies, so I am sorry for any mistakes in explaining the problems.<br><br>I installed MS4W with OpenLayers (in port 81) and I think I finally managed to configure also the TinyOWS (which I need for saving the data in PostGIS db). I configured the file config.xml in this way:<br><br><tinyows online_resource="http://127.0.0.1:81/cgi-bin/tinyows.exe"<br> schema_dir="http://127.0.0.1:81/tinyows/schema/"<br> log="http://127.0.0.1:81/tinyows/tinyows.log"><br> <pg host="localhost" user="postgres" password="olives001" dbname="olives_gis1" port="5432"/><br> <metadata name="TinyOWS Server"<br> title="TinyOWS Server - WFS-T Frida Service" /><br><br> <font style="" face="Courier New"><layer retrievable="1"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> writable="1"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> ns_prefix="tows"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> ns_uri="http://127.0.0.1:81/"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> srid="32634"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> prefix="tows"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> server="http://127.0.0.1:81/"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> schema="public"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> name="GLP_Zone"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> title="GLP_Zone" /></font><font style="" face="Courier New"><br></font><font style="" face="Courier New"></tinyows></font><br><br><br>In the html page, I am trying to configure two layers: one WMS layer (raster image) and one WFS layer (the layer for which I want to edit data). The WMS layer works well and is shown in the map viewer. Meanwhile the WFS layer doesn't show any features. The code for configuring the WFS layer is below:<br><br><font style="" face="Courier New"> wfs = new OpenLayers.Layer.Vector("Editable Features", {</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> styleMap: styles,</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> projection: new OpenLayers.Projection("EPSG:32634"),</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> protocol: new OpenLayers.Protocol.WFS({</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> version: "1.1.0",</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> srsName: "EPSG:32634",</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> url: "http://127.0.0.1:81/cgi-bin/tinyows",</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> featureNS: "http://127.0.0.1:81/",</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> featureType: "GLP_Zone",</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> geometryName: "tows:the_geom",</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> schema: "http://127.0.0.1:81/cgi-bin/tinyows?service=wfs&request=DescribeFeatureType&version=1.1.0&typename=tows:GLP_Zone"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> })</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> });</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"> map.addLayer(wfs);</font><font style="" face="Courier New"><br></font><br>If I try the WFS layer with QGIS it shows correctly (by the URL: <font style="" face="Courier New">http://127.0.0.1:81/cgi-bin/tinyows</font>) and I can even edit data from the QGIS. But from the mapviewer it just doesn't show any features. It looks like the code for configuring the wfs layer within the map viewer is not correct, but I just cannot find what error am I doing (I tried to copy the example from the MapServer page but obviously I am doing something wrong).<br><br>I am using MS4W 3.0.4 (with OL included) and tinyows-1.0.0rc3. The database is in PostgreSQL & PostGIS.<br><br>Thanks a lot in advance for any help!<br><br>Ermond<br><br><br><br>                                            </div></body>
</html>