<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
I have installed Geoserver on my local computer. I cannot display a WFS layer while the WMS is displaying. What am I doing wrong?<br>
<br>
The following WMS is shown on the map:<br>
WMS_Layer = new OpenLayers.Layer.WMS( "WMS Layer",<br>
"http://localhost:8080/geoserver/wms",<br>
{layers: 'topp:tasmania_roads', transparent: 'true'}, {opacity: .2});<br>
<br>
The following WFS is not shown whereas it is the same layer as the WMS:<br>
WFS_Layer = new OpenLayers.Layer.Vector("WFS Layer", {<br>
    strategies: [new OpenLayers.Strategy.BBOX()],<br>
    protocol: new OpenLayers.Protocol.WFS({<br>
        url:"http://localhost:8080/geoserver/wfs",<br>
        featureType: "tasmania_roads",<br>
        featureNS: "http://www.openplans.org/topp"<br>
        })             <br>
    });<br>
<br>
Thanks for your reply.<br>
<br>
<div>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><span>---------<br>
<a name="_MailAutoSig" target="1"><span style=""></span></a>With best regards - Avec mes meilleures salutations,<br>
Pierre Lacroix, PhD.<br>
<span style="font-style:italic">Scientific Collaborator</span> - University of Geneva - Pole in Environmental Sciences<br>
<span style="font-style:italic">GIS Analyst </span>- United Nations Environment Programme - UNEP/DEWA/GRID-Geneva<br>
<a href="http://www.unige.ch/envirospace" target="_blank">http://www.unige.ch/envirospace</a>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>