<html data-lt-installed="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
Hi Walter,<br>
<br>
You have to check the result of DescribeFeatureType WFS Request.<br>
This request has to provide the XSD to validate the GML.<br>
<br>
Regards,<br>
René-Luc<br>
<br>
<div class="moz-cite-prefix">Le 31/05/2023 à 14:59, Walter
Lorenzetti via QGIS-Developer a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:8e77c290-9600-5c17-5b47-02d52dd1f67c@gis3w.it">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hi,</p>
<p>when I try to add a WFS service layer to a GeoServer instance I
get an exception like this:</p>
<p>```</p>
<p>...</p>
<p>Caused by: java.lang.RuntimeException:
org.geotools.data.DataSourceException: No XSDElementDeclaration
found for {<a class="moz-txt-link-freetext"
href="http://www.opengis.net/wfs" moz-do-not-send="true">http://www.opengis.net/wfs</a>}Particelle_terreni_e_fabbricati<br>
at
org.geotools.data.store.ContentFeatureSource.getAbsoluteSchema(ContentFeatureSource.java:329)<br>
at
org.geotools.data.store.ContentFeatureSource.getSchema(ContentFeatureSource.java:296)<br>
at
org.geotools.data.store.ContentFeatureSource.getSchema(ContentFeatureSource.java:105)<br>
at
org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:342)<br>
at
org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:325)<br>
at
org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:409)<br>
</p>
<p>...<br>
</p>
<p>```</p>
<p>Any idea about this issue? It seams a XML error validation..</p>
<p>Thanks in advance.</p>
<p>W<br>
</p>
<p><br>
</p>
<div class="moz-signature">-- <br>
<p style="font-size:12px;"> Walter Lorenzetti phD<br>
email: <a href="mailto:lorenzetti@gis3w.it"
class="moz-txt-link-freetext" moz-do-not-send="true">lorenzetti@gis3w.it</a><br>
site: <a href="https://gis3w.it" moz-do-not-send="true">gis3w.it</a><br>
twitter: w_lorenzetti<br>
Tel/Cell: (+39) 347-6597931<br>
Viale Verdi 24 - 51016 Montecatini Terme (PT)<br>
</p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-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>
<div id="grammalecte_menu_main_button_shadow_host" style="width:
0px; height: 0px;"></div>
</body>
<lt-container></lt-container>
</html>