You may also want to explicitly set your SRS on your WFS layer. Eg:<br><br>var geoserver = new OpenLayers.Layer.Vector( "GeoServer WFS:<br>
Itasca Lakes", {<br>
strategies: [new OpenLayers.Strategy.BBOX()],<br>
protocol: new OpenLayers.Protocol.WFS({<br>
url: "<a href="http://172.16.172.129:8080/geoserver/wfs" target="_blank">http://172.16.172.129:8080/geoserver/wfs</a>",<br>
featureType: "prco303:itasca",<br>
featureNS: "<a href="http://172.16.172.129/" target="_blank">http://172.16.172.129</a>",<br> srs: "EPSG:26915"<br>
})<br>
});<br><br>PS: You have a trailing comma after your featureNS in the code you posted.<br><br>HTH,<br>Brian<br><br><div class="gmail_quote">On Fri, Feb 12, 2010 at 10:15 AM, Christopher Schmidt <span dir="ltr"><<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Fri, Feb 12, 2010 at 02:58:29PM +0000, Lewis Oaten wrote:<br>
> Hi all,<br>
><br>
> I am very sorry if this is a duplicate post but I believe my last message<br>
> didn't appear as I wasn't signed up to the mailing list.<br>
><br>
> I would be very grateful if you could read through my message and pass on<br>
> your thoughts.<br>
<br>
</div><a href="http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost" target="_blank">http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost</a><br>
<div><div></div><div class="h5"><br>
> Many thanks,<br>
><br>
> Lewis Oaten<br>
> web: <a href="http://lewisoaten.com" target="_blank">lewisoaten.com</a><br>
> twit: <a href="http://twitter.com/lewisoaten" target="_blank">twitter.com/lewisoaten</a><br>
> key: <a href="http://pk.caecus.co.uk" target="_blank">pk.caecus.co.uk</a><br>
> cal: <a href="http://tgl.me/LewisOaten" target="_blank">tgl.me/LewisOaten</a><br>
><br>
> ---------- Forwarded message ----------<br>
> From: "Lewis Oaten" <<a href="mailto:sphyrz@gmail.com">sphyrz@gmail.com</a>><br>
> Date: 9 Feb 2010 17:09<br>
> Subject: WFS Not loading<br>
> To: <<a href="mailto:users@openlayers.org">users@openlayers.org</a>><br>
><br>
> Hi All,<br>
><br>
> Excuse me if my etiquette isn't up-to-scratch, this is my first time<br>
> posting on this mailing list.<br>
><br>
> I have been fighting with a bug for some time when working with<br>
> GeoServer, GeoExt and OpenLayers. When I try to load a WFS layer,<br>
> nothing happens. No connection attempt is made to the server and no<br>
> errors are displayed. If, however, I try to load the same data as WMS,<br>
> from the same server with similar parameters, the layer loads<br>
> correctly.<br>
><br>
> Examples of my code are:<br>
><br>
> var geoserverWMS = new OpenLayers.Layer.WMS(<br>
> "Geoserver WMS: Itasca Lakes",<br>
> "<a href="http://172.16.172.129:8080/geoserver/wms" target="_blank">http://172.16.172.129:8080/geoserver/wms</a>",<br>
> {layers: "prco303:itasca", transparent: "true"},<br>
> {isBaseLayer: false, projection: "EPSG:26915"}<br>
> );<br>
><br>
> var geoserver = new OpenLayers.Layer.Vector( "GeoServer WFS:<br>
> Itasca Lakes", {<br>
> strategies: [new OpenLayers.Strategy.BBOX()],<br>
> protocol: new OpenLayers.Protocol.WFS({<br>
> url: "<a href="http://172.16.172.129:8080/geoserver/wfs" target="_blank">http://172.16.172.129:8080/geoserver/wfs</a>",<br>
> featureType: "prco303:itasca",<br>
> featureNS: "<a href="http://172.16.172.129" target="_blank">http://172.16.172.129</a>",<br>
> })<br>
> });<br>
><br>
> I have whittled away at the parts of the system until I am attempting<br>
> to run the WFS example<br>
> (<a href="http://openlayers.org/dev/examples/wfs-states.html" target="_blank">http://openlayers.org/dev/examples/wfs-states.html</a>) on my own server<br>
> and am faced with the same problem.<br>
><br>
> Unfortunately, I have run out of ideas to test next. I would be very<br>
> grateful if someone could give me some idea of what I am doing wrong<br>
> or at least a suggestion for how to continue debugging.<br>
><br>
> Thanks in advanced for your help.<br>
><br>
> Yours sincerely,<br>
><br>
> Lewis Oaten<br>
> web: <a href="http://lewisoaten.com" target="_blank">lewisoaten.com</a><br>
> twit: <a href="http://twitter.com/lewisoaten" target="_blank">twitter.com/lewisoaten</a><br>
> pk: <a href="http://pk.caecus.co.uk" target="_blank">pk.caecus.co.uk</a><br>
> cal: <a href="http://tgl.me/LewisOaten" target="_blank">tgl.me/LewisOaten</a><br>
<br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
> <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<font color="#888888"><br>
<br>
--<br>
Christopher Schmidt<br>
MetaCarta<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
</font></blockquote></div><br>