<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Andreas,</p>
    <p>QGIS Server segfaults when it try to build the GML for a Feature</p>
    <p>The request works for GeoJSON format
<a class="moz-txt-link-freetext" href="https://services.geo.zg.ch/ows/Gewaessernetz?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&TYPENAME=zg.gewaessernetz&SRSNAME=EPSG:2056&OUTPUTFORMAT=GeoJSON">https://services.geo.zg.ch/ows/Gewaessernetz?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&TYPENAME=zg.gewaessernetz&SRSNAME=EPSG:2056&OUTPUTFORMAT=GeoJSON</a><br>
    </p>
    René-Luc<br>
    <br>
    <div class="moz-cite-prefix">Le 13/11/2018 à 14:32, Andreas Neumann
      a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:38048cd635d3f06aee8bb75dd4643241@carto.net">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <p>Hi,</p>
      <p>I am trying to publish a WFS Service through QGIS Server 2.18.</p>
      <p>However, the result I get back from GetFeature errors out.</p>
      <p>The XML stream starts correctly and after a while there is an
        HTML error snipped and as a result a non-wellformed XML
        response.</p>
      <p>this is my URL:</p>
      <p><a
href="https://services.geo.zg.ch/ows/Gewaessernetz?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&TYPENAME=zg.gewaessernetz&SRSNAME=EPSG:2056&OUTPUTFORMAT=GML3"
          moz-do-not-send="true">https://services.geo.zg.ch/ows/Gewaessernetz?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&TYPENAME=zg.gewaessernetz&SRSNAME=EPSG:2056&OUTPUTFORMAT=GML3</a></p>
      <p>Sometimes it works, but most of the time it fails.</p>
      <p>Any ideas of what might be wrong?</p>
      <p>Is QGIS Server 3.x more reliable regarding serving WFS?</p>
      <p>Thanks,</p>
      <p>Andreas</p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
  </body>
</html>