Solved I was using wrong Openlayers version. I downloaded the latest version and nowe everything is working just fine :) -- View this message in context: http://n2.nabble.com/WFS-Error-OpenLayers-Layer-WFS-is-not-a-constructor-tp4343721p4347986.html Sent from the OpenLayers Users mailing list archive at Nabble.com.