Boa noite,<div><br></div><div>Obrigado pela dica Duarte.</div><div><br></div><div>Em anexo o GetCapabilities do WFS. Os warnings emitidos não devem afetar o problema...</div><div><br></div><div><b>Este é o pedido WFS 1.0.0 do OpenLayers (funciona):</b></div>
<div><wfs:GetFeature xmlns:wfs="<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>" service="WFS" version="1.0.0" xsi:schemaLocation="<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a> <a href="http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd">http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"></div>
<div><wfs:Query typeName="feature:layer1"></div><div>    <ogc:Filter xmlns:ogc="<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>"></div><div>        <ogc:BBOX></div>
<div>            <ogc:PropertyName>the_geom</ogc:PropertyName></div><div>            <gml:Box xmlns:gml="<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>" srsName="EPSG:900913"></div>
<div>                <gml:coordinates decimal="." cs="," ts=" ">-908768.18639262,4528699.1266543 -884308.33734476,4553158.9757021</gml:coordinates></div><div>            </gml:Box></div>
<div>        </ogc:BBOX></div><div>    </ogc:Filter></div><div></wfs:Query></div><div></wfs:GetFeature></div><div><br></div><div><b>Este é o pedido WFS 1.1.0 (não funciona):</b></div><wfs:GetFeature xmlns:wfs="<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>" service="WFS" version="1.1.0" xsi:schemaLocation="<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a> <a href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"><div>
<wfs:Query typeName="feature:layer1" srsName="EPSG:900913"></div><div>    <ogc:Filter xmlns:ogc="<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>"></div><div>        <ogc:BBOX></div>
<div>            <gml:Envelope xmlns:gml="<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>" srsName="EPSG:900913"></div><div>                <gml:lowerCorner>-971140.80146464 4500570.3002492</gml:lowerCorner></div>
<div>                <gml:upperCorner>-946680.95241679 4525030.1492971</gml:upperCorner></div><div>            </gml:Envelope></div><div>        </ogc:BBOX></div><div>    </ogc:Filter></div><div>
</wfs:Query></div><div></wfs:GetFeature></div><div><br></div><div>Coloquei aqui na lista porque pensei que pudessem confirmar este problema...</div><div><br></div><div>Marco<br><div><br><div class="gmail_quote">
2012/6/12 duartecarreira <span dir="ltr"><<a href="mailto:dncarreira@gmail.com" target="_blank">dncarreira@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Podes obter o capsdoc e verificar se não há errors ou warnings emitidos pelo<br>
mapserver:<br>
<br>
<url>?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetCapabilities<br>
<br>
boa sorte,<br>
duarte<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/MapServer-6-OpenLayers-2-11-WFS-error-tp4980386p4980700.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/MapServer-6-OpenLayers-2-11-WFS-error-tp4980386p4980700.html</a><br>

Sent from the OSGeo Portuguese Local Chapter mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Portugal mailing list<br>
<a href="mailto:Portugal@lists.osgeo.org">Portugal@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/portugal" target="_blank">http://lists.osgeo.org/mailman/listinfo/portugal</a><br>
</blockquote></div><br></div></div>