<P>I thought I would include a couple of other examples of what I tried, neither of which worked.</P>
<PRE>
<BLOCKQUOTE>
var wfs = new OpenLayers.Layer.Vector( "MyFeatures", {
strategies: [new OpenLayers.Strategy.BBOX()],
protocol: new OpenLayers.Protocol.WFS({
url: "http://localhost:8081//geoserver/wfs",
featureType: "MyLayer",
featureNS: "http://localhost:8081/geoserver/wfs",
featurePrefix: "MyMap",
schema: "http://localhost:8081/geoserver/wfs?service=wfs&version=1.1.0&request=DescribeFeatureType&typename=MyMap:MyLayer"
})
});
</BLOCKQUOTE>
</PRE>
<P>Also, I tried:</P>
<PRE>
<BLOCKQUOTE>
var wfs = new OpenLayers.Layer.Vector( "MyFeatures", {
strategies: [new OpenLayers.Strategy.BBOX()],
projection: new OpenLayers.Projection( "EPSG:68156405" ),
protocol: new OpenLayers.Protocol.WFS({
url: "http://localhost:8081//geoserver/wfs",
version: "1.1.0",
srsName: "EPSG:68156405",
featureType: "MyLayer",
featureNS: "http://localhost:8081/geoserver",
featurePrefix: "MyMap",
schema: "http://localhost:8081/geoserver/wfs?service=wfs&version=1.1.0&request=DescribeFeatureType&typename=MyMap:MyLayer"
})
});
</BLOCKQUOTE>
</PRE>
<P>Both of these were trial-and-error (my last and only resort) from some Googling.</P>
        <div class="signature">Up the Irons!!!</div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Get-Features-from-a-WMS-Layer-tp6396039p6397022.html">Re: Get Features from a WMS Layer</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Users-f1822463.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>