<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>&lt;tinyows online_resource="http://127.0.0.1:81/cgi-bin/tinyows.exe"<br>&nbsp; schema_dir="http://127.0.0.1:81/tinyows/schema/"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log="http://127.0.0.1:81/tinyows/tinyows.log"&gt;<br>&nbsp; &lt;pg host="localhost" user="postgres" password="olives001" dbname="olives_gis1" port="5432"/&gt;<br>&nbsp; &lt;metadata name="TinyOWS Server"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; title="TinyOWS Server - WFS-T Frida Service" /&gt;<br><br>&nbsp; <font style="" face="Courier New">&lt;layer retrievable="1"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; writable="1"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ns_prefix="tows"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ns_uri="http://127.0.0.1:81/"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; srid="32634"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prefix="tows"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server="http://127.0.0.1:81/"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; schema="public"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name="GLP_Zone"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; title="GLP_Zone" /&gt;</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&lt;/tinyows&gt;</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">&nbsp;&nbsp;&nbsp; wfs = new OpenLayers.Layer.Vector("Editable Features", {</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; styleMap: styles,</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; projection: new OpenLayers.Projection("EPSG:32634"),</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; protocol: new OpenLayers.Protocol.WFS({</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; version: "1.1.0",</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; srsName: "EPSG:32634",</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; url: "http://127.0.0.1:81/cgi-bin/tinyows",</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; featureNS: "http://127.0.0.1:81/",</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; featureType: "GLP_Zone",</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; geometryName: "tows:the_geom",</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; schema: "http://127.0.0.1:81/cgi-bin/tinyows?service=wfs&amp;request=DescribeFeatureType&amp;version=1.1.0&amp;typename=tows:GLP_Zone"</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp; });</font><font style="" face="Courier New"><br></font><font style="" face="Courier New">&nbsp;&nbsp;&nbsp; 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 &amp; PostGIS.<br><br>Thanks a lot in advance for any help!<br><br>Ermond<br><br><br><br>                                               </div></body>
</html>