<div>Bart,</div>
<div> </div>
<div>No I can't think of a good reason to use Get over Post, I just wondered if it was possible.</div>
<div> </div>
<div>Thanks for your assistance</div>
<div> </div>
<div>Andrew<br><br></div>
<div class="gmail_quote">On 10 March 2010 11:52, <span dir="ltr"><<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Andrew,<br><br>nope, only POST is supported. Why would you want GET? I had this<br>discussion with Tim Schaub in the past and I could not think of a good<br>
reason why I wanted GET if POST also works for the WFS product. Maybe you<br>have a good reason though?<br><br>Best regards,<br>Bart<br>
<div>
<div></div>
<div class="h5"><br>> Bart,<br>><br>> Thanks for that your first suggestion seems to have resolved the problem<br>> and<br>> I can now see the requests in Fiddler :)<br>><br>> Is there a way to force the WFS layer to use HTTP Get rather than Post for<br>
> requests?<br>><br>> Thanks<br>><br>> Andrew<br>><br>> On 10 March 2010 10:29, <<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>> wrote:<br>><br>>> Hi,<br>>><br>>> don't use the namespace prefix in the featuretype.<br>
>><br>>> {<br>>> url: "/MyApp/Proxy.ashx",<br>>> featureType: "boundary",<br>>> featurePrefix: "mystore",<br>>> version: "1.1.0"<br>
>> })<br>>><br>>> If this does not work, try specifying the featureNS (so the<br>>> corresponding<br>>> URI) explicityl.<br>>><br>>> Best regards,<br>>> Bart<br>>><br>
>> > All,<br>>> ><br>>> > I'm relatively new to OpenLayers and I have downloaded version 2.8<br>>> from<br>>> > the<br>>> > website (Revision 9492) and I am attempting to use it with GeoServer<br>
>> > 2.0.1.<br>>> ><br>>> > I have successfully added an OpenLayers.Layer.WFS layer using the<br>>> > following:<br>>> ><br>>> > var wfsLayer = new OpenLayers.Layer.WFS( "WFS", "/MyApp/Proxy.ashx",<br>
>> > { typeName: "mystore:boundary" },<br>>> > {projection: new OpenLayers.Projection("EPSG:27700"), maxExtent: new<br>>> > OpenLayers.Bounds(0, 0, 13000000, 13000000)}<br>>> > );<br>
>> ><br>>> ><br>>> > However, I understand that OpenLayers.Layer.WFS is depreciated (from<br>>> the<br>>> > documentation) and that I should use a vector layer, as such I have<br>
>> > written<br>>> > the following to add as a vector layer:<br>>> ><br>>> > var wfsLayer = new OpenLayers.Layer.Vector( "WFS", {<br>>> > strategies: [new OpenLayers.Strategy.BBOX()],<br>
>> > projection: new OpenLayers.Projection("EPSG:27700"),<br>>> > maxExtent: new OpenLayers.Bounds(0, 0, 13000000, 13000000),<br>>> > protocol: new OpenLayers.Protocol.WFS(<br>>> > {<br>
>> > url: "/MyApp/Proxy.ashx",<br>>> > featureType: "mystore:boundary",<br>>> > version: "1.1.0"<br>>> > })<br>>> > });<br>
>> ><br>>> > My problem is that the first method works fine but the second method<br>>> > doesn't<br>>> > seem to do anything. I have tested using IE7 and Firefox and fiddler<br>>> > doesn't<br>
>> > report any traffic or requests to the Proxy URL.<br>>> ><br>>> > Any ideas?<br>>> ><br>>> > Thanks<br>>> ><br>>> > Andrew<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>
>> ><br>>><br>>><br>>><br>><br><br><br></div></div></blockquote></div><br>