Hi,

with the following code I can't get a WFS-Layer into my map (Proxy-Settings are correct).

...
var demo = new OpenLayers.Layer.Vector("WFS", {
          strategies : [new OpenLayers.Strategy.BBOX()],
          protocol : new OpenLayers.Protocol.WFS({
              version:"1.1.0",
url : "http://www.gfds.sachsen-anhalt.de/ows/ws/wfs/GDI-LSA_LEP_2010_LSA/";,
              featureType : "lsa_mlv_lep_vrg_hws_feature",
              featureNS : "lep",
              srsName : "EPSG:900913",
              geometryName: "geom"
          }),
          styleMap: myStyles,
      });
...


In Firebug I get the following informaton:

|<?xml version="1.0" encoding="UTF-8"?>
||<ExceptionReport xmlns="http://www.opengis.net/ows/1.1";  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";||  
xsi:schemaLocation="http://www.opengis.net/ows/1.1owsExceptionReport.xsd";  version="1.0.0" 
xml:lang="en"||>
||<Exception exceptionCode="NoApplicableCode">
||<![CDATA[invalid WFS Query-Element]]>
||</Exception>
||</ExceptionReport>|


With my own WFS-URL from Geoserver it runs without problems. Also in QGIS it runs without problems. Any ideas? Thanks.

Tobias



_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to