<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> var filter = getBBOXFilter(bounds);<br> return new OpenLayers.Layer.Vector(layerName, {<br> strategies : [ <br> new OpenLayers.Strategy.Fixed() <br> ],<br> protocol :new OpenLayers.Protocol.HTTP( {<br> url :geoserverUrlWfs,<br> params : {<br> format :SERVICE_WFS,<br> service :SERVICE_WFS,<br> request :REQUEST_WFS,<br> srs :defaultProjection,<br> VERSION :VERSION,<br> typename :Layer,<br> <font style="" color="#c00000"> namespace=xmlns(topp=http://www.openplans.org/topp)</font><br> filter: filter<br> },<br> format :new OpenLayers.Format.GML()<br> })<br> });<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) 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>