<p class="MsoNormal"><span style lang="EN-US">Hi, <br>
<br>
First of all: sorry for my english!<br>
<br>
I want to visualize a vector layer that i have imported in my geoserver (new
version, 2.2.1) from a .shp file.<br>
My space name is "WMS_GetFeatureInfo" (space name by default) and
services WMS, WFS and WCS are enabled.<br>
The problem is that i don't visualize the WFS layer above the WMS layer (base
layer) but i don't have an error message from firebug and the WFS layer appears in
the controlayer Switcher.<br>
What is my error?<br>
Thanks a lot</span>,</p>

<br>Pascal.<br><br>This is my script:<br><br><html><br>    <head><br>        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><br>        <title>GetFeatureInfo</title><br>
        <script type="text/javascript" src="OpenLayers.js"></script><br>        <script type="text/javascript"><br>        <br>       var map_element;<br>       //var info;<br>
            <br>function init()<br>{<br>    map_element = new OpenLayers.Map("map_element");<br>    // Add controls to the map_element:<br>    map_element.addControl(new OpenLayers.Control.LayerSwitcher());<br>    <br>
    // Add base layer:    <br>    var baselayer = new OpenLayers.Layer.WMS<br>    (<br>    "C'est la base Layer",<br>    '<a href="http://vmap0.tiles.osgeo.org/wms/vmap0">http://vmap0.tiles.osgeo.org/wms/vmap0</a>',<br>
    {layers: 'basic'},<br>    {isBaseLayer: true, opacity: 0.8}<br>    );<br>    map_element.addLayer(baselayer); // important de separer add.layers/ wms and wfs ? <br>            <br>        // ----- Create Vector layer (geoserver, localhost):<br>
        var limite_monde_wfs= new OpenLayers.Layer.Vector<br>                    (<br>                "Limite_monde_WFS",<br>                    {<br>                    strategies: [new OpenLayers.Strategy.Fixed()],<br>
                    projection: new OpenLayers.Projection("EPSG:4326"), // necesary to precise?<br>                    protocol: new OpenLayers.Protocol.WFS<br>                        ({<br>                            version: "1.1.0", //necesary to precise?<br>
                            url: "<a href="http://localhost:8080/geoserver/WMS_GetFeatureInfo/wfs">http://localhost:8080/geoserver/WMS_GetFeatureInfo/wfs</a>", // adresse correcte ?<br>                            featurePrefix: "WMS_GetFeatureInfo", // = nom workspace<br>
                            featureType: "ne_110m_admin_0_countries", // = nom couche.<br>                            featureNS: "<a href="http://localhost/WMS_GetFeatureInfo">http://localhost/WMS_GetFeatureInfo</a>", // = name space uri.<br>
                            })    <br>                    }<br>                );             <br>        //Add layers:<br>        map_element.addLayer(limite_monde_wfs);<br><br>        if(!map_element.getCenter())<br>        {<br>
        map_element.zoomToMaxExtent();<br>        }<br>}<br></script><br><br>    </head><br>    <body onload="init()"><br>        <div id="map_element"></div><br>    </body><br>
</html><br>            <br><br><span><a href="http://localhost:8080/geoserver/web/?wicket:bookmarkablePage=:org.geoserver.web.data.workspace.WorkspaceEditPage&name=WMS_GetFeatureInfo"><span></span></a></span>