<div>Bart,</div>
<div> </div>
<div>Thanks for that your first suggestion seems to have resolved the problem and I can now see the requests in Fiddler :)</div>
<div> </div>
<div>Is there a way to force the WFS layer to use HTTP Get rather than Post for requests?</div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div>Andrew<br><br></div>
<div class="gmail_quote">On 10 March 2010 10:29, <span dir="ltr">&lt;<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>don&#39;t use the namespace prefix in the featuretype.<br><br>   {<br>       url:  &quot;/MyApp/Proxy.ashx&quot;,<br>
       featureType: &quot;boundary&quot;,<br>       featurePrefix: &quot;mystore&quot;,<br>       version: &quot;1.1.0&quot;<br>   })<br><br>If this does not work, try specifying the featureNS (so the corresponding<br>URI) explicityl.<br>
<br>Best regards,<br>Bart<br>
<div>
<div></div>
<div class="h5"><br>&gt; All,<br>&gt;<br>&gt; I&#39;m relatively new to OpenLayers and I have downloaded version 2.8 from<br>&gt; the<br>&gt; website (Revision 9492) and I am attempting to use it with GeoServer<br>&gt; 2.0.1.<br>
&gt;<br>&gt; I have successfully added an OpenLayers.Layer.WFS layer using the<br>&gt; following:<br>&gt;<br>&gt; var wfsLayer = new OpenLayers.Layer.WFS( &quot;WFS&quot;, &quot;/MyApp/Proxy.ashx&quot;,<br>&gt; { typeName: &quot;mystore:boundary&quot; },<br>
&gt; {projection: new OpenLayers.Projection(&quot;EPSG:27700&quot;), maxExtent: new<br>&gt; OpenLayers.Bounds(0, 0, 13000000, 13000000)}<br>&gt; );<br>&gt;<br>&gt;<br>&gt; However, I understand that OpenLayers.Layer.WFS is depreciated (from the<br>
&gt; documentation) and that I should use a vector layer, as such I have<br>&gt; written<br>&gt; the following to add as a vector layer:<br>&gt;<br>&gt; var wfsLayer = new OpenLayers.Layer.Vector( &quot;WFS&quot;, {<br>&gt;   strategies: [new OpenLayers.Strategy.BBOX()],<br>
&gt;   projection: new OpenLayers.Projection(&quot;EPSG:27700&quot;),<br>&gt;   maxExtent: new OpenLayers.Bounds(0, 0, 13000000, 13000000),<br>&gt;   protocol: new OpenLayers.Protocol.WFS(<br>&gt;    {<br>&gt;        url:  &quot;/MyApp/Proxy.ashx&quot;,<br>
&gt;        featureType: &quot;mystore:boundary&quot;,<br>&gt;        version: &quot;1.1.0&quot;<br>&gt;    })<br>&gt; });<br>&gt;<br>&gt; My problem is that the first method works fine but the second method<br>&gt; doesn&#39;t<br>
&gt; seem to do anything. I have tested using IE7 and Firefox and fiddler<br>&gt; doesn&#39;t<br>&gt; report any traffic or requests to the Proxy URL.<br>&gt;<br>&gt; Any ideas?<br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt; Andrew<br>
</div></div>
<div>
<div></div>
<div class="h5">&gt; _______________________________________________<br>&gt; Users mailing list<br>&gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
&gt;<br><br><br></div></div></blockquote></div><br>