vopenLayers WMS Layer Problem

Hi,

I want to use these two wms-layers with vopenlayers: http://www.geodaten-mv.de/dienste/gdimv_dtk and http://www.geodaten-mv.de/dienste/adv_dop . But what ever I try I just get an empty map. I can open the to layers in qgis and there it works fine, so they seem to not be broke. I’ve tried around with differend projections but it didn’t realy help.
Do I have to set the projection in the map and every layer?

Here is the code I added to the vopenlayers demo, which produces an empty map.


map.setApiProjection("EPSG:4326");

WebMapServiceLayer wms = new WebMapServiceLayer();
		wms.setUri("http://www.geodaten-mv.de/dienste/gdimv_dtk?");
		wms.setLayers("gdimv_dtk");
		wms.setServiceType("wms");
		wms.setDisplayName("Toplogische Karten Mecklenburg-Vorpommern");
		wms.setProjection("EPSG:4326");
		wms.setBaseLayer(true);

If tried it with openlayers directly, and here it works:


OpenLayers.Layer.WMS('MV-Topo', 'http://www.geodaten-mv.de/dienste/gdimv_dtk', {layers: 'gdimv_dtk'}, {'sphericalMercator': true});

Regards

Daniel

This works:


WebMapServiceLayer wms_top = new WebMapServiceLayer();
		wms_top.setBaseLayer(true);
		wms_top.setUri("http://www.geodaten-mv.de/dienste/gdimv_dtk");
		wms_top.setFormat("image/png");
		wms_top.setLayers("gdimv_dtk");
		wms_top.setProjection("EPSG:4326");
		map.addLayer(wms_top);

The problem was zoom levels not supported by the wms, and coordiante transformations I made wrong.