Victor,<br><br>Can you test your URL with the ogrinfo utility?<br>It is showing some detailed error.<br>Invalid &quot;TYPENAME&quot; parameter. No binding for prefix &quot;ideewfs&quot;.<br><br><div class="gmail_quote">On Fri, May 27, 2011 at 2:06 PM, vickarasu <span dir="ltr">&lt;<a href="mailto:victor.aparicio@hotmail.com">victor.aparicio@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello, this is my first post in the mail list and this is the very first time<br>
I develope with GDAL/OGR libraries...<br>
<br>
My problem is that I want to connect to a WFS server in C# and read all the<br>
features of a layer. I can read the WFS DataSource and the layer definition<br>
but when I want to read the layer´s features I get a server error (&quot;Error<br>
returned by server : Received problem 2 in the chunky parser (56)&quot;). This is<br>
the code:<br>
<br>
OSGeo.OGR.Driver wfsDriver = Ogr.GetDriverByName(&quot;WFS&quot;);<br>
OSGeo.OGR.DataSource wfs =<br>
wfsDriver.Open(&quot;<a href="http://www.idee.es/IDEE-WFS/ogcwebservice?SERVICE=WFS" target="_blank">http://www.idee.es/IDEE-WFS/ogcwebservice?SERVICE=WFS</a>&quot;, 0);<br>
OSGeo.OGR.Layer layer = wfs.GetLayerByIndex(1);<br>
layer.ResetReading();<br>
OSGeo.OGR.Feature feature = layer.GetNextFeature();<br>
<br>
Any help would be appreciate. Thank you very much in advance.<br>
<br>
Víctor<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Read-WFS-Features-tp6410186p6410186.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Read-WFS-Features-tp6410186p6410186.html</a><br>

Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>