Bart,<br><br>Thanks for the response again, the BBOX seemed to be wrong indeed. There is something with the google baselayers that mess up everything. I now have it working with only my own data!<br><br>I also found out another strange thing: my WFS isn&#39;t working if I go to the site by:<br>
<a href="http://localhost/openlayers/index.php">http://localhost/openlayers/index.php</a><br><br>but I CAN see the WFS through:<br><a href="http://casp-geoserver/openlayers/index.php">http://casp-geoserver/openlayers/index.php</a><br>
<br>Is that another problem with the http security? perhaps because of the hosts file redirecting localhost to 127.0.0.1?<br><br>Anyway, I finally have WFS loaded now! thanks a lot!<br><br>Regards,<br>Casper<br><br><div class="gmail_quote">
On Thu, Jun 9, 2011 at 4:18 PM, Bart van den Eijnden <span dir="ltr">&lt;<a href="mailto:bartvde@osgis.nl" target="_blank">bartvde@osgis.nl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Casper,<div><br></div><div>that does not look like a valid BBOX to me in RD (EPSG:28992). Such no data is coming back.</div>

<div><br></div><div>displayProjection is used by e.g. the MousePosition control, it will display the X and Y in a different projection than the map is in.</div><div><br></div><div>What you want is to set projection to EPSG:28992.</div>

<div><br></div><div>If you can&#39;t figure out the correct map settings for RD, have a look at some existing application in RD such as:</div><div><br></div><div><a href="http://www.rijkswaterstaat.nl/apps/geoservices/mapviewer2i/" target="_blank">http://www.rijkswaterstaat.nl/apps/geoservices/mapviewer2i/</a></div>

<div><br></div><div>or:</div><div><br></div><div><a href="https://www.kademo.nl/" target="_blank">https://www.kademo.nl/</a></div><div><br></div><div>Hope this helps.</div><div><br></div><div>Best regards,</div><div>Bart</div>

<div><div><br><div>
<div style="word-wrap:break-word"><div style="word-wrap:break-word"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div style="word-wrap:break-word">

<div><div>-- </div><div>Looking for flexible support on OpenLayers or GeoExt? Please check out <a href="http://www.osgis.nl/support.html" target="_blank">http://www.osgis.nl/support.html</a></div><div><br></div><div>Bart van den Eijnden</div>

<div>OSGIS</div><div><a href="mailto:bartvde@osgis.nl" target="_blank">bartvde@osgis.nl</a></div></div></div></span></div></div>
</div>
<br></div><div><div></div><div><div><div>On Jun 9, 2011, at 4:12 PM, Casper Span wrote:</div><br><blockquote type="cite">Hi Bart, Mark,<br><br>There is nothing related to WFS on the console, nor on NET&#39;s XHR subtab. Even when everything is checked. It&#39;s like it crashes before it gets there... (with no error, ofcourse...) I&#39;ve also tried your suggestion, Mark. Still the same.<br>


<br>The DescribeFeatureType:<br><br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;xsd:schema xmlns:xsd=&quot;<a href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2001/XMLSchema</a>&quot; xmlns:gml=&quot;<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>&quot; xmlns:gs=&quot;<a href="http://casp-geoserver/" target="_blank">http://casp-geoserver/</a>&quot; elementFormDefault=&quot;qualified&quot; targetNamespace=&quot;<a href="http://casp-geoserver/" target="_blank">http://casp-geoserver/</a>&quot;&gt;<br>


  &lt;xsd:import namespace=&quot;<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>&quot; schemaLocation=&quot;<a href="http://localhost:80/geoserver/schemas/gml/3.1.1/base/gml.xsd" target="_blank">http://localhost:80/geoserver/schemas/gml/3.1.1/base/gml.xsd</a>&quot;/&gt;<br>


  &lt;xsd:complexType name=&quot;locatiedossiersType&quot;&gt;<br>    &lt;xsd:complexContent&gt;<br>      &lt;xsd:extension base=&quot;gml:AbstractFeatureType&quot;&gt;<br>        &lt;xsd:sequence&gt;<br>          &lt;xsd:element maxOccurs=&quot;1&quot; minOccurs=&quot;0&quot; name=&quot;ID&quot; nillable=&quot;true&quot; type=&quot;xsd:decimal&quot;/&gt;<br>


          &lt;xsd:element maxOccurs=&quot;1&quot; minOccurs=&quot;0&quot; name=&quot;GEOMETRY&quot; nillable=&quot;true&quot; type=&quot;gml:GeometryPropertyType&quot;/&gt;<br>        &lt;/xsd:sequence&gt;<br>      &lt;/xsd:extension&gt;<br>


    &lt;/xsd:complexContent&gt;<br>  &lt;/xsd:complexType&gt;<br>  &lt;xsd:element name=&quot;locatiedossiers&quot; substitutionGroup=&quot;gml:_Feature&quot; type=&quot;gs:locatiedossiersType&quot;/&gt;<br>&lt;/xsd:schema&gt;<br>


<br><br>Hmm... I just tried another request from a different pc... now I suddenly DID get some xhhtp on the NET panel:<br><br>REQUEST:<br><div><div><span>&lt;<span>wfs:GetFeature</span><span> <span>xmlns:wfs</span>=&quot;<span><a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a></span>&quot;</span><span> <span>service</span>=&quot;<span>WFS</span>&quot;</span><span> <span>version</span>=&quot;<span>1.1.0</span>&quot;</span><span> <span>xsi:schemaLocation</span>=&quot;<span><a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a>
 <a href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" target="_blank">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</a> <a href="http://casp-geoserver/" target="_blank">http://casp-geoserver/</a> 
<a href="http://casp-geoserver/geoserver/wfs/DescribeFeatureType?version=1.1.0&amp;typename=gs:locatiedossiers" target="_blank">http://casp-geoserver/geoserver/wfs/DescribeFeatureType?version=1.1.0&amp;typename=gs:locatiedossiers</a></span>&quot;</span><span> <span>xmlns:xsi</span>=&quot;<span><a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a></span>&quot;</span><span>&gt;</span></span></div>


<div><div><div><span>&lt;<span>wfs:Query</span><span> <span>typeName</span>=&quot;<span>feature:locatiedossiers</span>&quot;</span><span> <span>srsName</span>=&quot;<span>EPSG:28992</span>&quot;</span><span> <span>xmlns:feature</span>=&quot;<span><a href="http://casp-geoserver/" target="_blank">http://casp-geoserver/</a></span>&quot;</span><span>&gt;</span></span></div>


<div><div><div><span>&lt;<span>ogc:Filter</span><span> <span>xmlns:ogc</span>=&quot;<span><a href="http://www.opengis.net/ogc" target="_blank">http://www.opengis.net/ogc</a></span>&quot;</span><span>&gt;</span></span></div>


<div><div><div><span>&lt;<span>ogc:BBOX</span><span>&gt;</span></span></div><div>
<div><div><span>&lt;<span>ogc:PropertyName</span><span>&gt;</span><span><span>GEOMETRY</span></span>&lt;/<span>ogc:PropertyName</span>&gt;</span></div>
</div><div><div><span>&lt;<span>gml:Envelope</span><span> <span>xmlns:gml</span>=&quot;<span><a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a></span>&quot;</span><span> <span>srsName</span>=&quot;<span>EPSG:28992</span>&quot;</span><span>&gt;</span></span></div>


<div><div><div><span>&lt;<span>gml:lowerCorner</span><span>&gt;</span><span><span>562664.54279097 6811227.9320805</span></span>&lt;/<span>gml:lowerCorner</span>&gt;</span></div>
</div><div><div><span>&lt;<span>gml:upperCorner</span><span>&gt;</span><span><span>574130.09703169 6820515.0310153</span></span>&lt;/<span>gml:upperCorner</span>&gt;</span></div>
</div></div><div>&lt;/<span>gml:Envelope</span>&gt;</div></div></div><div>&lt;/<span>ogc:BBOX</span>&gt;</div></div></div><div>
&lt;/<span>ogc:Filter</span>&gt;</div></div></div><div>&lt;/<span>wfs:Query</span>&gt;</div></div></div><div>&lt;/<span>wfs:GetFeature</span>&gt;<br>
<br>RESPONSE:<br><div selected><div><div><span>&lt;<span>wfs:FeatureCollection</span><span> <span>numberOfFeatures</span>=&quot;<span>0</span>&quot;</span><span> <span>timeStamp</span>=&quot;<span>2011-06-09T16:09:36.265+02:00</span>&quot;</span><span> <span>xsi:schemaLocation</span>=&quot;<span><a href="http://casp-geoserver/" target="_blank">http://casp-geoserver/</a>
 
<a href="http://casp-geoserver:80/geoserver/wfs?service=WFS&amp;version=1.1.0&amp;request=DescribeFeatureType&amp;typeName=gs%3Alocatiedossiers" target="_blank">http://casp-geoserver:80/geoserver/wfs?service=WFS&amp;version=1.1.0&amp;request=DescribeFeatureType&amp;typeName=gs%3Alocatiedossiers</a>
 <a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a> 
<a href="http://casp-geoserver:80/geoserver/schemas/wfs/1.1.0/wfs.xsd" target="_blank">http://casp-geoserver:80/geoserver/schemas/wfs/1.1.0/wfs.xsd</a></span>&quot;</span><span> <span>xmlns:gs</span>=&quot;<span><a href="http://casp-geoserver/" target="_blank">http://casp-geoserver/</a></span>&quot;</span><span> <span>xmlns:ogc</span>=&quot;<span><a href="http://www.opengis.net/ogc" target="_blank">http://www.opengis.net/ogc</a></span>&quot;</span><span> <span>xmlns:gml</span>=&quot;<span><a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a></span>&quot;</span><span> <span>xmlns:xsi</span>=&quot;<span><a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a></span>&quot;</span><span> <span>xmlns:xlink</span>=&quot;<span><a href="http://www.w3.org/1999/xlink" target="_blank">http://www.w3.org/1999/xlink</a></span>&quot;</span><span> <span>xmlns:ows</span>=&quot;<span><a href="http://www.opengis.net/ows" target="_blank">http://www.opengis.net/ows</a></span>&quot;</span><span> <span>xmlns:wfs</span>=&quot;<span><a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a></span>&quot;</span><span>&gt;</span></span></div>


<div><div><div><span>&lt;<span>gml:featureMembers</span><span>&gt;</span><span></span>&lt;/<span>gml:featureMembers</span>&gt;</span></div>
</div></div><div>&lt;/<span>wfs:FeatureCollection</span>&gt;<br><br><br>So basically, it can&#39;t find anything... Maybe this is a projection related issue then... The data is EPSG:28992, <br>
</div></div></div><br></div></div>My Map options hash have:<br>projection: new OpenLayers.Projection(&quot;EPSG:4326&quot;),<br>displayProjection: new OpenLayers.Projection(&quot;EPSG:28992&quot;),     <br><br>Could there be a mixup there? I still find the projection/displayProjection really confusing... what&#39;s the real difference between the two?<br>


<br>regards,<br>Casper<br><br><div class="gmail_quote">On Thu, Jun 9, 2011 at 2:33 PM, Mª®k <span dir="ltr">&lt;<a href="mailto:mc.prins@gmail.com" target="_blank">mc.prins@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


2011/6/9 Bart van den Eijnden &lt;<a href="mailto:bartvde@osgis.nl" target="_blank">bartvde@osgis.nl</a>&gt;:<br>
<div>&gt; Hi Casper,<br>
&gt; AJAX requests normally show up in the Console tab of Firebug, make you sure<br>
&gt; you have activated the option to show AJAX requests.<br>
&gt; Without a request XML and response XML it&#39;s really difficult to help you.<br>
&gt; Otherwise, send us the output of your DescribeFeatureType request, a common<br>
&gt; mistake is that the featureNS does not exactly match the namespace<br>
&gt; advertized on the WFS.<br>
<br>
</div>my most common mistake here is a trailing slash on the namespace,<br>
always gets me...<br>
You might also want to try adding the featurePrefix : &#39;gs&#39;  to the<br>
options hash (I see you&#39;re using that in the schema url).<br>
<br>
Mark<br>
<div><div></div><div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</div></div></blockquote></div><br>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>

</blockquote></div><br></div></div></div></div></blockquote></div><br>