Hi,<br><br>Ok I now deploy my simple OpenLayers .war archive in the same JBoss instance as the GeoServer .war archive and the WFS layer is now displayed.&nbsp; It currently displays the features as markers, is it possible to display them as point as in a Vector layer ?? I have managed to find a reference to WFS Vector mode in this post
<br><br><a href="http://openlayers.org/pipermail/dev/2007-March/000499.html">http://openlayers.org/pipermail/dev/2007-March/000499.html</a><br><br>What i basically want it to be able to select features that are displayed (i know how to do this in a Vector layer), would it be possible to map the results of WFS requests to points in a GML layer, similar to the below example:
<br><br><a href="http://openlayers.org/dev/examples/gml-layer.html">http://openlayers.org/dev/examples/gml-layer.html</a><br><br>Thanks,<br><br>Andy<br>&nbsp;<br>&nbsp;<br><br><div><span class="gmail_quote">On 08/07/07, 
<b class="gmail_sendername">Christopher Schmidt</b> &lt;<a href="mailto:crschmidt@metacarta.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">crschmidt@metacarta.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


On Fri, Jul 06, 2007 at 10:29:57PM -0700, andydale wrote:<br>&gt;<br>&gt; Hi,<br>&gt;<br>&gt; I am pretty new to using OpenLayers, and am now running into some issues.<br>&gt;<br>&gt; I can use OpenLayers with WMS layers from the GeoServer (war install) with
<br>&gt; out any problem.&nbsp;&nbsp;The issue occurs when trying to use a WFS layer like<br>&gt; below.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;wfs = new OpenLayers.Layer.WFS(&quot;WFS fixpoint&quot;,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;<a href="http://172.16.135.144:8080/geoserver/wfs?" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


http://172.16.135.144:8080/geoserver/wfs?</a>&quot;,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {typename: &quot;topp:fixpoint&quot; ,maxfeatures: &quot;100&quot;},<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {featureClass: OpenLayers.Feature.WFS} );<br>&gt;<br>&gt; This layers in not drawn on the map, but causes no errors.&nbsp;&nbsp;After seaching
<br>&gt; around on the net and forums i have discovered that i must set the<br>&gt; OpenLayers.ProxyHost to get the WFS layer to be displayed, and have seen<br>&gt; many examples such as this:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; OpenLayers.ProxyHost=


&quot;/proxy/?url=&quot;;<br>&gt;<br>&gt; The above will not work for me, how can i set the proxy host within JBoss.<br>&gt; The page i am using openlayers on is a .jsp (using jsf), packed inside a<br>&gt; simple .war archive.&nbsp;&nbsp;Has anybody managed to set up the ProxyHost under
<br>&gt; JBoss before ? Is it just a matter of packing something (python script ??)<br>&gt; into my war archive ?&nbsp;&nbsp;Any advice would be greatly appreciated&nbsp;&nbsp; .<br><br>The best thing for you to do is probably to get the OpenLayers file
<br>served from within GeoServer. So, your OpenLayers HTML should be at<br><a href="http://172.16.135.144:8080/openlayers/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://172.16.135.144:8080/openlayers/
</a> or whatever. Once you do that,<br>you don&#39;t need a proxyhost anymore. Anything else is going to be vastly
<br>more complex.<br><br>Regards,<br>--<br>Christopher Schmidt<br>MetaCarta<br></blockquote></div><br>