Hi Bart, Mark,<br><br>There is nothing related to WFS on the console, nor on NET's XHR subtab. Even when everything is checked. It's like it crashes before it gets there... (with no error, ofcourse...) I've also tried your suggestion, Mark. Still the same.<br>
<br>The DescribeFeatureType:<br><br><?xml version="1.0" encoding="UTF-8"?><br><xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" xmlns:gml="<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>" xmlns:gs="<a href="http://casp-geoserver/">http://casp-geoserver/</a>" elementFormDefault="qualified" targetNamespace="<a href="http://casp-geoserver/">http://casp-geoserver/</a>"><br>
<xsd:import namespace="<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>" schemaLocation="<a href="http://localhost:80/geoserver/schemas/gml/3.1.1/base/gml.xsd">http://localhost:80/geoserver/schemas/gml/3.1.1/base/gml.xsd</a>"/><br>
<xsd:complexType name="locatiedossiersType"><br> <xsd:complexContent><br> <xsd:extension base="gml:AbstractFeatureType"><br> <xsd:sequence><br> <xsd:element maxOccurs="1" minOccurs="0" name="ID" nillable="true" type="xsd:decimal"/><br>
<xsd:element maxOccurs="1" minOccurs="0" name="GEOMETRY" nillable="true" type="gml:GeometryPropertyType"/><br> </xsd:sequence><br> </xsd:extension><br>
</xsd:complexContent><br> </xsd:complexType><br> <xsd:element name="locatiedossiers" substitutionGroup="gml:_Feature" type="gs:locatiedossiersType"/><br></xsd:schema><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 class="nodeBox open "><div class="nodeLabel "><span class="nodeLabelBox repTarget "><<span class="nodeTag ">wfs:GetFeature</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xmlns:wfs</span>="<span class="nodeValue editable "><a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a></span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">service</span>="<span class="nodeValue editable ">WFS</span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">version</span>="<span class="nodeValue editable ">1.1.0</span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xsi:schemaLocation</span>="<span class="nodeValue editable "><a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>
<a href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</a> <a href="http://casp-geoserver/">http://casp-geoserver/</a>
<a href="http://casp-geoserver/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=gs:locatiedossiers">http://casp-geoserver/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=gs:locatiedossiers</a></span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xmlns:xsi</span>="<span class="nodeValue editable "><a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a></span>"</span><span class="nodeBracket ">></span></span></div>
<div class="nodeChildBox "><div class="nodeBox open "><div class="nodeLabel "><span class="nodeLabelBox repTarget "><<span class="nodeTag ">wfs:Query</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">typeName</span>="<span class="nodeValue editable ">feature:locatiedossiers</span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">srsName</span>="<span class="nodeValue editable ">EPSG:28992</span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xmlns:feature</span>="<span class="nodeValue editable "><a href="http://casp-geoserver/">http://casp-geoserver/</a></span>"</span><span class="nodeBracket ">></span></span></div>
<div class="nodeChildBox "><div class="nodeBox open "><div class="nodeLabel "><span class="nodeLabelBox repTarget "><<span class="nodeTag ">ogc:Filter</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xmlns:ogc</span>="<span class="nodeValue editable "><a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a></span>"</span><span class="nodeBracket ">></span></span></div>
<div class="nodeChildBox "><div class="nodeBox open "><div class="nodeLabel "><span class="nodeLabelBox repTarget "><<span class="nodeTag ">ogc:BBOX</span><span class="nodeBracket ">></span></span></div><div class="nodeChildBox ">
<div class="nodeBox textNodeBox "><div class="nodeLabel "><span class="nodeLabelBox repTarget "><<span class="nodeTag ">ogc:PropertyName</span><span class="nodeBracket editable insertBefore ">></span><span class="nodeText editable "><span class=" ">GEOMETRY</span></span></<span class="nodeTag ">ogc:PropertyName</span>></span></div>
</div><div class="nodeBox open "><div class="nodeLabel "><span class="nodeLabelBox repTarget "><<span class="nodeTag ">gml:Envelope</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xmlns:gml</span>="<span class="nodeValue editable "><a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a></span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">srsName</span>="<span class="nodeValue editable ">EPSG:28992</span>"</span><span class="nodeBracket ">></span></span></div>
<div class="nodeChildBox "><div class="nodeBox textNodeBox "><div class="nodeLabel "><span class="nodeLabelBox repTarget "><<span class="nodeTag ">gml:lowerCorner</span><span class="nodeBracket editable insertBefore ">></span><span class="nodeText editable "><span class=" ">562664.54279097 6811227.9320805</span></span></<span class="nodeTag ">gml:lowerCorner</span>></span></div>
</div><div class="nodeBox textNodeBox "><div class="nodeLabel "><span class="nodeLabelBox repTarget "><<span class="nodeTag ">gml:upperCorner</span><span class="nodeBracket editable insertBefore ">></span><span class="nodeText editable "><span class=" ">574130.09703169 6820515.0310153</span></span></<span class="nodeTag ">gml:upperCorner</span>></span></div>
</div></div><div class="nodeCloseLabel "></<span class="nodeTag ">gml:Envelope</span>></div></div></div><div class="nodeCloseLabel "></<span class="nodeTag ">ogc:BBOX</span>></div></div></div><div class="nodeCloseLabel ">
</<span class="nodeTag ">ogc:Filter</span>></div></div></div><div class="nodeCloseLabel "></<span class="nodeTag ">wfs:Query</span>></div></div></div><div class="nodeCloseLabel "></<span class="nodeTag ">wfs:GetFeature</span>><br>
<br>RESPONSE:<br><div selected class="netInfoXMLText netInfoText "><div class="nodeBox open "><div class="nodeLabel "><span class="nodeLabelBox repTarget "><<span class="nodeTag ">wfs:FeatureCollection</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">numberOfFeatures</span>="<span class="nodeValue editable ">0</span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">timeStamp</span>="<span class="nodeValue editable ">2011-06-09T16:09:36.265+02:00</span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xsi:schemaLocation</span>="<span class="nodeValue editable "><a href="http://casp-geoserver/">http://casp-geoserver/</a>
<a href="http://casp-geoserver:80/geoserver/wfs?service=WFS&version=1.1.0&request=DescribeFeatureType&typeName=gs%3Alocatiedossiers">http://casp-geoserver:80/geoserver/wfs?service=WFS&version=1.1.0&request=DescribeFeatureType&typeName=gs%3Alocatiedossiers</a>
<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>
<a href="http://casp-geoserver:80/geoserver/schemas/wfs/1.1.0/wfs.xsd">http://casp-geoserver:80/geoserver/schemas/wfs/1.1.0/wfs.xsd</a></span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xmlns:gs</span>="<span class="nodeValue editable "><a href="http://casp-geoserver/">http://casp-geoserver/</a></span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xmlns:ogc</span>="<span class="nodeValue editable "><a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a></span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xmlns:gml</span>="<span class="nodeValue editable "><a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a></span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xmlns:xsi</span>="<span class="nodeValue editable "><a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a></span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xmlns:xlink</span>="<span class="nodeValue editable "><a href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</a></span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xmlns:ows</span>="<span class="nodeValue editable "><a href="http://www.opengis.net/ows">http://www.opengis.net/ows</a></span>"</span><span class="nodeAttr editGroup "> <span class="nodeName editable ">xmlns:wfs</span>="<span class="nodeValue editable "><a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a></span>"</span><span class="nodeBracket ">></span></span></div>
<div class="nodeChildBox "><div class="nodeBox textNodeBox "><div class="nodeLabel "><span class="nodeLabelBox repTarget "><<span class="nodeTag ">gml:featureMembers</span><span class="nodeBracket editable insertBefore ">></span><span class="nodeText editable "></span></<span class="nodeTag ">gml:featureMembers</span>></span></div>
</div></div><div class="nodeCloseLabel "></<span class="nodeTag ">wfs:FeatureCollection</span>><br><br><br>So basically, it can'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("EPSG:4326"),<br>displayProjection: new OpenLayers.Projection("EPSG:28992"), <br><br>Could there be a mixup there? I still find the projection/displayProjection really confusing... what'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"><<a href="mailto:mc.prins@gmail.com">mc.prins@gmail.com</a>></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 <<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>>:<br>
<div class="im">> Hi Casper,<br>
> AJAX requests normally show up in the Console tab of Firebug, make you sure<br>
> you have activated the option to show AJAX requests.<br>
> Without a request XML and response XML it's really difficult to help you.<br>
> Otherwise, send us the output of your DescribeFeatureType request, a common<br>
> mistake is that the featureNS does not exactly match the namespace<br>
> 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 : 'gs' to the<br>
options hash (I see you're using that in the schema url).<br>
<br>
Mark<br>
<div><div></div><div class="h5">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">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>