Hi, two things to check:
1) Does your map projection match your WFS projection? If not, use verion 1.1.0 instead of 1.0.0, and set the srsName config option on the protocol to match your map projection. 2) Is your application javascript file hosted on http://www.geoidee.ch:8081? If not, you will need a proxy. See http://trac.osgeo.org/openlayers/wiki/FrequentlyAskedQuestions#ProxyHost Regards, Andreas. On Dec 15, 2010, at 13:17 , Yvo Weidmann wrote: > Dear List > > I try to include several WFS layers into a OpenLayer map. Unfortunately > without success. > > In qGIS, or other clients, the services are working perfectly. The connection > parameters in qGIS are the following: > http://www.geoidee.ch:8081/geoserver/ows?service=wfs&version=1.0.0&request=GetCapabilities&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=Tajikistan:PM500kIndex > > In the JavaScript I am using the following statement: > var wfs = new OpenLayers.Layer.Vector("PK500 Index", { > strategies: [new OpenLayers.Strategy.BBOX()], > protocol: new OpenLayers.Protocol.WFS({ > version: "1.0.0", > url: "http://www.geoidee.ch:8081/geoserver/ows?service=wfs", > featureType: "PM500kIndex", > featureNS: "Tajikistan" > }) > }); > > Does anyone has an idea? I am looking forward to any hint. > > Best regards, > Yvo > > --------------------------------------------------------- > Yvo Weidmann > 734003, 4 Farkhad Str. > Dushanbe > Republic of Tajikistan > Mobile +992 98 53 11 090 > Skype yvo.weidmann > > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
