<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks for help, but the solution is:<br>
<br>
You need to set "readFormat: new OpenLayers.Format.GML.v3()" in new
OpenLayers.Protocol.WFS()<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Am 09.04.2013 19:26, schrieb Gery .:<br>
</div>
<blockquote cite="mid:DUB117-W1339CFCAE478D23842E5466B0C60@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr"><font style="font-size:10pt;" face="Arial" size="2"
color="#366092"><br id="FontBreak">
</font>komisch... perhaps this one can give you some more clues:
<a moz-do-not-send="true"
href="http://stackoverflow.com/questions/9292911/proxying-apache-with-8081-port-to-geoserver-8080-for-wfs"
target="_blank">http://stackoverflow.com/questions/9292911/proxying-apache-with-8081-port-to-geoserver-8080-for-wfs</a><br>
<br>
I use tomcat also but with apache and mapserver, so not sure if
the problems can be related to geoserver itself, I'd say that
geoserver needs some attention when using proxies.<br>
<br>
<font style="font-size:10pt" face="Arial" size="2"
color="#1F497D"><br>
__________________________________________________________________________________________<br>
Piensa en el medio ambie<font style="" face="Arial">nte -
mantenlo en la pantalla. NO lo imprimas si NO es necesario.</font></font><font
style="font-size:10pt" face="Arial" size="2" color="#1F497D"><br>
</font><font style="font-size:10pt" face="Arial" size="2"
color="#1F497D">Think green - keep it on the screen. Do NOT
print if it is NOT necessary.</font><font
style="font-size:10pt" face="Arial" size="2" color="#1F497D"><br>
</font><font style="font-size:10pt" face="Arial" size="2"
color="#1F497D"><span id="ecxresult_box" class="ecxshort_text"
lang="de"><span class="ecxhps">Denken Sie an</span> <span
class="ecxhps">die Umwelt</span></span></font><font
style="font-size:10pt" face="Arial" size="2" color="#1F497D"><span
id="ecxresult_box" lang="de"><span class="ecxhps"></span> <span
class="ecxhps">-</span> <span class="ecxhps">bewahren Sie
es</span> <span class="ecxhps">auf dem Bildschirm.</span>
<span class="ecxhps">Drucken Sie es NICHT</span><span>, wenn</span>
<span class="ecxhps">es NICHT notwendig ist</span><span>.</span></span></font><br>
<br>
<br>
<div>> Date: Tue, 9 Apr 2013 19:11:35 +0200<br>
> From: <a class="moz-txt-link-abbreviated" href="mailto:tobias.kirschke@student.afg.hs-anhalt.de">tobias.kirschke@student.afg.hs-anhalt.de</a><br>
> To: <a class="moz-txt-link-abbreviated" href="mailto:gamejihou@hotmail.com">gamejihou@hotmail.com</a><br>
> CC: <a class="moz-txt-link-abbreviated" href="mailto:openlayers-users@lists.osgeo.org">openlayers-users@lists.osgeo.org</a><br>
> Subject: Re: [OpenLayers-Users] terrestris WFS not
showing in OpenLayers<br>
> <br>
> I have a Tomcat 7 server and use proxy.jsp from
terrestris for <br>
> OpenLayers-Proxy-settings. Firebug says no errors and the
response is <br>
> valid XML (GML) with the geometries. But the geometries
are not showing <br>
> in the map.<br>
> <br>
> <br>
> Am 09.04.2013 18:23, schrieb Gery .:<br>
> > Probably there is a conflict with your server (I'm
guessing here), what firebug says?<br>
> ><br>
> > Sent from my iBath<br>
> ><br>
> > On Apr 9, 2013, at 14:01, "Tobias Kirschke"
<a class="moz-txt-link-rfc2396E" href="mailto:tobias.kirschke@student.afg.hs-anhalt.de"><tobias.kirschke@student.afg.hs-anhalt.de></a> wrote:<br>
> ><br>
> > Hi,<br>
> ><br>
> > I use a WFS from
<a class="moz-txt-link-freetext" href="http://ows.terrestris.de/dienste.html">http://ows.terrestris.de/dienste.html</a> in my OpenLayers
application but the WFS is not showing. The Proxy-settings are
correct. My code:<br>
> ><br>
> > var demo = new OpenLayers.Layer.Vector("WFS", {<br>
> > strategies : [new OpenLayers.Strategy.BBOX()],<br>
> > protocol : new OpenLayers.Protocol.WFS({<br>
> > version:"1.1.0",<br>
> > url :
<a class="moz-txt-link-rfc2396E" href="http://ows.terrestris.de/geoserver/terrestris/wfs">"http://ows.terrestris.de/geoserver/terrestris/wfs"</a>,<br>
> > featureType : "world-countries-shape",<br>
> > featureNS : "terrestris",<br>
> > srsName : "EPSG:900913",<br>
> > geometryName: "the_geom"<br>
> > }),<br>
> > styleMap: myStyles,<br>
> > });<br>
> ><br>
> > With my own WFS from Geoserver I see the Layer in
the OpenLayers map. What is wrong? Thanks.<br>
> ><br>
> > Tobias<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Users mailing list<br>
> > <a class="moz-txt-link-abbreviated" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
> >
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
> <br>
</div>
</div>
</blockquote>
<br>
</body>
</html>