<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">Thanks Olivier. It doesn't work anyway. I can see the layer "base" but not my tinyows layer...</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">
I post for you:</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">
1) my config.xml file:</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">
<div class="im" style="color:rgb(80,0,80)"><tinyows online_resource="<a href="http://127.0.0.1:8080/cgi-bin/tinyows.exe" target="_blank" style="color:rgb(17,85,204)">http://127.0.0.1:8080/cgi-bin/tinyows.exe</a>"</div>
<div>schema_dir="C:\PostgreSQL\EnterpriseDB-ApachePHP\tinyows\schema\" log="C:\PostgreSQL\EnterpriseDB-ApachePHP\apache\logs\tinyows.log" log_level="7"></div><div class="im" style="color:rgb(80,0,80)">
<div><br></div><div><span style="white-space:pre-wrap"> </span><pg host="localhost" user="***" password="***" dbname="***" port="5432"/></div><div><span style="white-space:pre-wrap">        </span><metadata name="TinyOWS Server" title="TinyOWS Server - Demo Service" /></div>
<div><span style="white-space:pre-wrap">  </span></div><div><span style="white-space:pre-wrap"> </span><layer retrievable="1"</div></div><div>       ns_prefix="tows"</div><div>       ns_uri="<a href="http://www.tinyows.org/" target="_blank" style="color:rgb(17,85,204)">http://www.tinyows.org</a>"</div>
<div>       name="france"</div><div>       title="France Departments Boundaries" /></div><div><br></div><div></tinyows></div></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">2) the tinyows.log error:</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)"><div>[ERROR] Element '{<a href="http://www.w3.org/2001/XMLSchema%7Dimport" target="_blank" style="color:rgb(17,85,204)">http://www.w3.org/2001/XMLSchema}import</a>': Failed to locate a schema at location '<a href="http://127.0.0.1:8080/cgi-bin/tinyows.exe?service=WFS&request=DescribeFeatureType&version=1.0.0" target="_blank" style="color:rgb(17,85,204)">http://127.0.0.1:8080/cgi-bin/tinyows.exe?service=WFS&request=DescribeFeatureType&version=1.0.0</a>'. Skipping the import.</div>
<div class="im" style="color:rgb(80,0,80)"><div><br></div><div>[ERROR] Element '{<a href="http://www.opengis.net/wfs%7DGetFeature" target="_blank" style="color:rgb(17,85,204)">http://www.opengis.net/wfs}GetFeature</a>': No matching global declaration available for the validation root.</div>
</div></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">
3) the result of the call '<a href="http://127.0.0.1:8080/cgi-bin/tinyows.exe?service=WFS&request=DescribeFeatureType&version=1.0.0" target="_blank" style="color:rgb(17,85,204)">http://127.0.0.1:8080/cgi-bin/tinyows.exe?service=WFS&request=DescribeFeatureType&version=1.0.0</a>' seems to work. I get:</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">
<div style="font-family:monospace;font-size:13.333333015441895px"><xs:schema xmlns:tows="<a href="http://www.tinyows.org/" target="_blank" style="color:rgb(17,85,204)">http://www.tinyows.org</a>" xmlns:ogc="<a href="http://www.opengis.net/ogc" target="_blank" style="color:rgb(17,85,204)">http://www.opengis.net/ogc</a>"xmlns:xs="<a href="http://www.w3.org/2001/XMLSchema" target="_blank" style="color:rgb(17,85,204)">http://www.w3.org/2001/XMLSchema</a>" xmlns="<a href="http://www.w3.org/2001/XMLSchema" target="_blank" style="color:rgb(17,85,204)">http://www.w3.org/2001/XMLSchema</a>" xmlns:gml="<a href="http://www.opengis.net/gml" target="_blank" style="color:rgb(17,85,204)">http://www.opengis.net/gml</a>"targetNamespace="<a href="http://www.tinyows.org/" target="_blank" style="color:rgb(17,85,204)">http://www.tinyows.org</a>" elementFormDefault="qualified" version="1.0"></div>
<div style="margin-left:1em;font-family:monospace;font-size:13.333333015441895px"><div><xs:import namespace="<a href="http://www.opengis.net/gml" target="_blank" style="color:rgb(17,85,204)">http://www.opengis.net/gml</a>" schemaLocation="<a href="http://schemas.opengis.net/gml/2.1.2/feature.xsd" target="_blank" style="color:rgb(17,85,204)">http://schemas.opengis.net/gml/2.1.2/feature.xsd</a>"/></div>
<div><xs:element name="france" type="tows:franceType" substitutionGroup="gml:_Feature"/></div><div><div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat no-repeat"></span><xs:complexType name="franceType"></div>
<div style="margin-left:1em"><div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat no-repeat"></span><xs:complexContent></div><div style="margin-left:1em">
<div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat no-repeat"></span><xs:extension base="gml:AbstractFeatureType"></div><div style="margin-left:1em">
<div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat no-repeat"></span><xs:sequence></div><div style="margin-left:1em"><div><xs:element name="id_geofla" type="decimal" nillable="true" minOccurs="0" maxOccurs="1"/></div>
<div><xs:element name="code_chf_l" type="string" nillable="true" minOccurs="0" maxOccurs="1"/></div><div><xs:element name="nom_chf_l" type="string" nillable="true" minOccurs="0" maxOccurs="1"/></div>
<div><xs:element name="x_chf_lieu" type="int" nillable="true" minOccurs="0" maxOccurs="1"/></div><div><xs:element name="y_chf_lieu" type="int" nillable="true" minOccurs="0" maxOccurs="1"/></div>
<div><xs:element name="x_centroid" type="int" nillable="true" minOccurs="0" maxOccurs="1"/></div><div><xs:element name="y_centroid" type="int" nillable="true" minOccurs="0" maxOccurs="1"/></div>
<div><xs:element name="nom_dept" type="string" nillable="true" minOccurs="0" maxOccurs="1"/></div><div><xs:element name="code_reg" type="string" nillable="true" minOccurs="0" maxOccurs="1"/></div>
<div><xs:element name="nom_region" type="string" nillable="true" minOccurs="0" maxOccurs="1"/></div><div><xs:element name="code_dept" type="string" nillable="true" minOccurs="0" maxOccurs="1"/></div>
<div><xs:element name="geom" type="gml:MultiPolygonPropertyType" nillable="true" minOccurs="0" maxOccurs="1"/></div></div><div></xs:sequence></div></div><div></xs:extension></div>
</div><div></xs:complexContent></div></div><div></xs:complexType></div></div></div><div style="font-family:monospace;font-size:13.333333015441895px"></xs:schema></div><div style="font-family:monospace;font-size:13.333333015441895px">
<br></div><div style="font-family:monospace;font-size:13.333333015441895px">4) Finally the error on apache error.log:</div><div><font face="monospace"><div>[client 127.0.0.1] error : No such file or directory\r, referer:<a href="http://localhost:8080/tinyows.html" target="_blank" style="color:rgb(17,85,204)">http://localhost:8080/tinyows.html</a></div>
<div>[error] [client 127.0.0.1] I/O warning : failed to load external entity "<a href="http://127.0.0.1:8080/cgi-bin/tinyows.exe?service=WFS&request=DescribeFeatureType&version=1.0.0" target="_blank" style="color:rgb(17,85,204)">http://127.0.0.1:8080/cgi-bin/tinyows.exe?service=WFS&request=DescribeFeatureType&version=1.0.0</a>"\r, referer: <a href="http://localhost:8080/tinyows.html" target="_blank" style="color:rgb(17,85,204)">http://localhost:8080/tinyows.html</a></div>
<div><br></div></font></div><div style="font-family:monospace;font-size:13.333333015441895px">On QGIS I'm able to load the layer without problem, as before.</div><div style="font-family:monospace;font-size:13.333333015441895px">
<br></div><div style="font-family:monospace;font-size:13.333333015441895px">Thanks again,</div><div style="font-family:monospace;font-size:13.333333015441895px">Riccardo</div><div style="font-family:monospace;font-size:13.333333015441895px">
<br></div><div style="font-family:monospace;font-size:13.333333015441895px"><br></div><div style="font-family:monospace;font-size:13.333333015441895px">P.S.:sorry Olivier maybe before I've answered just to you...</div>
</div><div><br></div><br><div class="gmail_quote">2012/10/16 Olivier Courtin <span dir="ltr"><<a href="mailto:olivier.courtin@gmail.com" target="_blank">olivier.courtin@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi Riccardo,
</div><div><br></div><div>Well if everything work's fine except OpenLayers,</div><div>maybe it's an OpenLayers configuration issue...</div><div><br></div><div>TinyOWS debug tools are really unix based,</div><div>

so could be a bit painfull under Win32...</div><div><br></div><div>I suggest you to begin to follow step by step</div><div>this tutorial, to check that everything work as expected:</div><div><a href="http://mapserver.org/trunk/tinyows/openlayershowtobasic.html" target="_blank">http://mapserver.org/trunk/tinyows/openlayershowtobasic.html</a></div>

<div><br></div><div><br></div><div>Nota: With OpenLayers client retrieving data as GeoJson</div><div>is a better idea than as GML.</div><div><br></div><div>HTH,</div><div><br></div><div>--</div><div>Olivier</div>
<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>
<br></blockquote></div><br>