<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>I am having an issue configuring my Vector strategy, I use:<br><br>function getVectorLayerWithBounds(bounds) {<br>&nbsp;&nbsp;&nbsp; var filter = getBBOXFilter(bounds);<br>&nbsp;&nbsp;&nbsp; return new OpenLayers.Layer.Vector(layerName, {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; strategies : [ <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; new OpenLayers.Strategy.Fixed() <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ],<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; protocol :new OpenLayers.Protocol.HTTP( {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; url :geoserverUrlWfs,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; params : {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; format :SERVICE_WFS,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; service :SERVICE_WFS,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; request :REQUEST_WFS,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; srs :defaultProjection,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; VERSION :VERSION,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; typename :Layer,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<font style="" color="#c00000"> namespace=xmlns(topp=http://www.openplans.org/topp)</font><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; filter: filter<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; },<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; format :new OpenLayers.Format.GML()<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; })<br>&nbsp;&nbsp;&nbsp; });<br>}<br><br>If I add the namespace parameters my Layer won't be displayed, I still have the WFS flux but no feature is displayed on the map.<br>If I don't add namespace everything is ok.<br><br>I need the namespace parameter in order to use deegree owsproxy.<br><br>Do you know what could be the problem ? I only got warnings<br><br>4 déc. 2009 18:14:41 org.apache.tomcat.util.http.Parameters processParameters<br>ATTENTION: Parameters: Invalid chunk ignored.<br>04 déc. 18:14:42 WARN [geotools.xml] - org.geoserver.security.decorators.ReadOnlyFeatureCollection@1997837 (org.geoserver.security.decorators.ReadOnlyFeatureCollection)&nbsp; is not of type [Lorg.opengis.feature.simple.SimpleFeature;<br><br>But I read it was not an important warning ?<br>Best regards<br>Sylvie<br><br>                                               <br /><hr />PC, téléphones portables, souris hi-tech. à gagner grâce à Hotmail ! <a href='http://www.hotmailmagicmoment.com' target='_new'>C'est ici !</a></body>
</html>