Hi,<br><br>It might be due to the WFS layer definition (namespaces and prefixes). Assuming the rest of the configuration is OK, try this:<br><font style="font-family: arial,helvetica,sans-serif;" size="2"><br></font><code><font style="font-family: arial,helvetica,sans-serif;" size="2">var layer_wea = new OpenLayers.Layer.Vector(&quot;WEA&quot;, {<br>
    strategies: [new OpenLayers.Strategy.Fixed()],<br>    protocol: new OpenLayers.Protocol.WFS({<br>        url: &quot;/geoserver/ows&quot;,<br>        version: &quot;1.1.0&quot;,<br>        <b>featureType: &quot;WEA_wgs84_&quot;,<br>
        featurePrefix: &quot;zgb&quot;</b>,<br><span>        featureNS: &quot;<a href="http://www.zgb.de/" target="_blank">http://www.zgb.de</a>&quot;,</span><br>        srsName: &quot;EPSG:4326&quot;<br>    })<br>});<br>
<br></font><br clear="all"></code>Best regards,<br><br>Xurxo Méndez Pérez<br><br><a href="http://www.sonxurxo.com/" target="_blank">http://www.sonxurxo.com</a><br>
<br><br><div class="gmail_quote">2010/12/14 Robert Buckley <span dir="ltr">&lt;<a href="mailto:robertdbuckley@yahoo.com">robertdbuckley@yahoo.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"><div>Hi,<br><br>I would like to change a wms layer in my project to a wfs so that I can add more functionality to the layer such as tables and mouseclicks etc.<br>
Unfortunately when I do this the layer isn´t shown anymore. Firebut gives an exeption saying...<br><br>&quot;<code><span>Could not locate {<a href="http://www.zgb.de%7Dzgb:WEA_wgs84_" target="_blank">http://www.zgb.de}zgb:WEA_wgs84_</a> in catalog.</span></code><code>&gt;&quot;<br>
<br>can anyone explain why this is?<br><br><br></code><code><br>
/**********************/<br>
</code><code>/**This does not work**/<br></code><code>/**********************/</code><br><code><br>var layer_wea = new OpenLayers.Layer.Vector(&quot;WEA&quot;, {<br>    strategies: [new OpenLayers.Strategy.Fixed()],<br>    protocol: new OpenLayers.Protocol.WFS({<br>
        url: &quot;/geoserver/ows&quot;,<br>        version: &quot;1.1.0&quot;,<br>        featureType: &quot;zgb:WEA_wgs84_&quot;,<br><span>        featureNS: &quot;<a href="http://www.zgb.de" target="_blank">http://www.zgb.de</a>&quot;,</span><br>
        srsName: &quot;EPSG:4326&quot;<br>    })<br>});<br><br><br>/*****************/<br></code><code>/**This
 works ok**/<br></code><code>/*****************/<br>
</code><br><code>var layer_wea = new OpenLayers.Layer.WMS(<br>                &quot;Windenergieanlage&quot;,<br>                &quot;/geoserver/ows&quot;,<br>                {<br>                   layers: &#39;zgb:WEA_wgs84_&#39;,<br>
           group: &quot;Wind&quot;,<br>                   styles: &#39;&#39;,<br>                   srs:
 &#39;EPSG:4326&#39;,<br>                   format: &#39;image/png&#39;,<br>                   tiled: &#39;no&#39;,<br>                   tilesOrigin : &quot;143.60260815000004,-43.851764249999995&quot;,<br>                   transparent: true<br>
                },<br>                {<br>                    &#39;opacity&#39;: 1, &#39;isBaseLayer&#39;: false,
 visibility:false<br>                }<br>            );<br><br><br><br><br><br>yours,<br><br>Robert Buckley<br></code></div>
</div><br></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>