<div>&nbsp;Thank you very much. there are truly some problem with the proxy.&nbsp; make a&nbsp; directory"proxy" under the $CATALINA_HOME/webapps/. And I add one line in to my code " OpenLayers.ProxyHost="/proxy/proxy.cgi?url=". <br>But now I can get several WMS shown, after&nbsp; I changed anyone of them into WFS, it could not be shown. But I can get the GML&nbsp; data using the wfs url through the browser.&nbsp; Is there some thing wrong in my configuration?<br><br></div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div><div></div><br>在2008-08-02,"Arnd Wippermann" &lt;arnd.wippermann@web.de&gt; 写道:<br> <blockquote id="isReplyContent" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">

<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span class="968284016-01082008">Hi,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span class="968284016-01082008"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span class="968284016-01082008">have you considered this:</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><a href="http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost">http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost</a></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"></font>&nbsp;</div>
<div><span class="968284016-01082008"></span><font face="Arial"><font color="#0000ff"><font size="2">Arnd<span class="968284016-01082008"> 
Wippermann</span></font></font></font></div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span class="968284016-01082008"></span></font></font></font><br>&nbsp;</div>
<div class="OutlookMessageHeader" dir="ltr" align="left" lang="de">
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>Von:</b> <a href="mailto:users-bounces@openlayers.org">users-bounces@openlayers.org</a> 
[mailto:<a href="mailto:users-bounces@openlayers.org">users-bounces@openlayers.org</a>] <b>Im Auftrag von 
</b>lorkyo<br><b>Gesendet:</b> Freitag, 1. August 2008 17:00<br><b>An:</b> 
<a href="mailto:users@openlayers.org">users@openlayers.org</a><br><b>Betreff:</b> [OpenLayers-Users] WFS can't be shown. 
Can any one help me?<br></font><br></div>
<div></div>
<div>I wrote a page to show wms and&nbsp; wfs, at the same time, but I can't get 
the WFS data show. the codes are listed below.It can only show the WMS data , I 
exchange the place of "topp:tasmania_water_bodies" and 
"topp:tasmania_state_boundaries", then it can only show the 
"topp:tasmania_state_boundaries"(WMS). I have check&nbsp; the checkbox of the 
layerswitch,and these two layers is the of the same place and have the same SRS, 
I have used udig to open them:<br>&nbsp;<br>var map, layer;<br>map = new 
OpenLayers.Map('map', {controls:[], 'projection': 'EPSG:4326', 
'units':'degrees'}); <br>&nbsp; OpenLayers.IMAGE_RELOAD_ATTEMPTS = 
5;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var bounds = new 
OpenLayers.Bounds(143.60260815000004,-43.851764249999995,148.71135685000002,-39.370182750000005)<br>&nbsp; 
// setup untiled layer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
untiled = new 
OpenLayers.Layer.WMS.Untiled(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"", 
"http://192.168.6.140:8080/geoserver/wms",<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
layers: 
'topp:tasmania_water_bodies',<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
styles: 
'',<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
height: 
'382',<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
width: 
'800',<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
srs: 
'EPSG:4326',<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
format: 
'image/png'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
},<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
{maxExtent: bounds, maxResolution: 0.019956049609374915, projection: 
"EPSG:4326"}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
untiled.ratio=1;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
untiled.setVisibility(false, false);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 
map.addLayer(untiled);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; var roads = new 
OpenLayers.Layer.WFS(<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "Roads (WFS)", <br>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
"http://192.168.6.140:8080/geoserver/wfs?",<br>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {&nbsp;&nbsp; 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
layers: 
'topp:tasmania_state_boundaries',<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
request: 'GetFeature',<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; maxfeatures: 100, 
visibility:true<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
},<br>&nbsp;{maxExtent: bounds, maxResolution: 0.019956049609374915, projection: 
"EPSG:4326"});<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; map.addControl(new 
OpenLayers.ControlPanZoomBar({div:$('nav')}));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
map.addControl(new 
OpenLayers.Control.MouseDefaults());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
map.addControl(new 
OpenLayers.Control.Scale($('scale')));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
map.addControl(new OpenLayers.Control.MousePosition({element: 
$('position')}));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
map.addControl(new 
OpenLayers.Control.LayerSwitcher());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
map.addControl(new 
OpenLayers.Control.OverviewMap());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
map.zoomToExtent(bounds);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
lorkyo<br></div>
<div>&nbsp;</div><br><!-- footer --><br>
<hr>
<font style="font-size: 12px; line-height: 15px;">22元超值饭面,8.5折纯珍比萨,必胜宅急送</font><a style="font-size: 12px; color: blue; line-height: 15px; text-decoration: underline;" href="http://popme.163.com/link/004584_0708_6957.html">网上点餐优惠多</a>
</blockquote>