<div dir="ltr"><p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US">Hello,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US">I’m trying
to connect Openlayers and geoserver ,i have a problem to get feature from wfs
,so when I request wfs with http request I get the response in gml 3.1.1 format
so the request is executed successfully ,but when I use openlayers to get wfs
layers as vector layers <span style="mso-spacerun:yes"> </span>:</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US">var Index1v
= new OpenLayers.Layer.Vector("Index1 v", {</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span>strategies: [new
OpenLayers.Strategy.BBOX()],</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span>protocol: new OpenLayers.Protocol.WFS({</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span>version: "1.0.0",</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span>url:
"<a href="http://localhost:8080/geoserver/wfs">http://localhost:8080/geoserver/wfs</a>",</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span>featureType: "cite:fir",</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"><span style="mso-tab-count:3"> </span>geometryName
: "the_geom",</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span>featureNS:
"<a href="http://www.opengeospatial.net/cite">http://www.opengeospatial.net/cite</a>"</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"><span style="mso-tab-count:2"> </span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span>}),</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"><span style="mso-tab-count:2"> </span>projection : new
OpenLayers.Projection("EPSG:4326")</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US">});</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US">I’m trying
to use the proxy file <span style="mso-spacerun:yes"> </span>given with openlayers
but nothing is happened.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US">So I ‘m
trying to change all the parameters in OpenLayers.Protocol.WFS and anything happened
so </span><span class="hps"><span lang="EN" style="mso-ansi-language:EN">I</span></span><span title="Cliquer ici pour voir d'autres traductions"></span><span class="shorttext"><span lang="EN" style="mso-ansi-language:EN">'m</span> <span title="Cliquer ici pour voir d'autres traductions"></span></span><span class="hps"><span lang="EN" style="mso-ansi-language:EN">stuck</span></span><span class="shorttext"><span lang="EN" style="mso-ansi-language:EN"> <span title="Cliquer ici pour voir d'autres traductions"></span></span><span class="hps"><span lang="EN" style="mso-ansi-language:EN">at this</span></span></span><span class="shorttext"><span lang="EN" style="mso-ansi-language:EN"> <span title="Cliquer ici pour voir d'autres traductions"></span></span><span class="hps"><span lang="EN" style="mso-ansi-language:EN">level</span></span>.</span></p>
<p class="MsoNormal"><span class="hps"><span lang="EN" style="mso-ansi-language:EN"> </span></span></p>
<p class="MsoNormal"><span class="apple-style-span"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#333333;
mso-ansi-language:EN-US">I can't figure out why it fails. Any idea?</span> many
thanks for replying.</span><span lang="EN-US" style="mso-ansi-language:
EN-US"></span></p></div>