<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-text-html" lang="x-western"> Hi,<br>
<br>
with the following code I can't get a WFS-Layer into my map
(Proxy-Settings are correct). <br>
<br>
...<br>
var demo = new OpenLayers.Layer.Vector("WFS", {<br>
strategies : [new OpenLayers.Strategy.BBOX()],<br>
protocol : new OpenLayers.Protocol.WFS({<br>
version:"1.1.0",<br>
url : <a class="moz-txt-link-rfc2396E"
href="http://www.gfds.sachsen-anhalt.de/ows/ws/wfs/GDI-LSA_LEP_2010_LSA/">"http://www.gfds.sachsen-anhalt.de/ows/ws/wfs/GDI-LSA_LEP_2010_LSA/"</a>,<br>
featureType : "lsa_mlv_lep_vrg_hws_feature",<br>
featureNS : "lep",<br>
srsName : "EPSG:900913",<br>
geometryName: "geom"<br>
}),<br>
styleMap: myStyles,<br>
});<br>
...<br>
<br>
<br>
In Firebug I get the following informaton:<br>
<br>
<pre role="list"><code class="wrappedText focusRow" role="listitem"><?xml version="1.0" encoding="UTF-8"?>
</code><code class="wrappedText focusRow" role="listitem"><ExceptionReport xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/ows/1.1">"http://www.opengis.net/ows/1.1"</a> xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a></code><code class="wrappedText focusRow" role="listitem"> xsi:schemaLocation=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/ows/1.1owsExceptionReport.xsd">"http://www.opengis.net/ows/1.1owsExceptionReport.xsd"</a> version="1.0.0" xml:lang="en"</code><code class="wrappedText focusRow" role="listitem">>
</code><code class="wrappedText focusRow" role="listitem"><Exception exceptionCode="NoApplicableCode">
</code><code class="wrappedText focusRow" role="listitem"><![CDATA[invalid WFS Query-Element]]>
</code><code class="wrappedText focusRow" role="listitem"></Exception>
</code><code class="wrappedText focusRow" role="listitem"></ExceptionReport></code></pre>
<br>
With my own WFS-URL from Geoserver it runs without problems. Also
in QGIS it runs without problems. Any ideas? Thanks.<br>
<br>
Tobias<br>
<br>
<br>
<br>
</div>
</body>
</html>