Hi list,<br><br>I know this question has been asked before (many times I guess), but somehow I just can't get this thing to work. Unfortunately, Google isn't my friend either.<br><br>So, I have this setup:<br>- Oracle Spatial database<br>
- Geoserver serving WFS and WMS and setup with a single layer<br>- OpenLayers<br><br>So nothing fancy there.<br><br>I created a layer using the samples and docs. It came down to this:<br> var locdos = new OpenLayers.Layer.Vector("Locatiedossiers", {<br>
strategies: [new OpenLayers.Strategy.BBOX()],<br> projection: new OpenLayers.Projection("EPSG:28992"),<br> protocol: new OpenLayers.Protocol.WFS({<br> version: "1.1.0",<br>
url: "<a href="http://roxit-geoserver:8080/geoserver/wfs">http://roxit-geoserver:8080/geoserver/wfs</a>", <br> featureType: "Locatiedossiers",<br> geometryName: "GEOMETRIE",<br>
featureNS: "<a href="http://www.roxit.nl">http://www.roxit.nl</a>",<br> srsName: "EPSG:28992",<br> schema: "<a href="http://roxit-geoserver:8080/geoserver/wfs/DescribeFeatureType?version=1.1.0&featuretype=Locatiedossiers">http://roxit-geoserver:8080/geoserver/wfs/DescribeFeatureType?version=1.1.0&featuretype=Locatiedossiers</a>"<br>
}),<br><br> });<br><br>So I added that to my map and booted firefox. Nothing is being loaded. Looking at firebug: OL does a request to /wfs and gets an empty response. The geoserver setup works like a charm when I use it with, for example uDig and Gaia.<br>
<br>I've tried adding the prefix with the featureType, but removed that after reading a post from Bart vd Eijnden saying it should be removed. <br><br><br>I'm most likely missing something trivial, but I just can't find it. Any suggestions?<br>
<br><br>Regards,<br>Casper Span<br>