[Geoserver-users] wfs:delete

Hi all,

and already again an issue in understanding the wfs paramenters. . .
getting a feature with the following xml works fine :

<wfs:GetFeature service="WFS" version="1.0.0"
  outputFormat="GML2"
  xmlns:topp="http://www.openplans.org/topp&quot;
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:ogc="http://www.opengis.net/ogc&quot;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/wfs
                      http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd&quot;&gt;
  <wfs:Query typeName="topp:VORMIPA">
    <ogc:Filter>
       <ogc:FeatureId fid="VORMIPA.3"/>
    </ogc:Filter>
    </wfs:Query>
</wfs:GetFeature>

deleting the same feature with this xml does not work :

<wfs:Transaction version="1.0.0" service="WFS"
xmlns:gml="http://www.opengis.net/gml&quot;
xmlns:topp="http://www.openplans.org/topp&quot;
xmlns:wfs="http://www.opengis.net/wfs&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xmlns:ogc="http://www.opengis.net/ogc&quot;
xsi:schemaLocation="http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd&quot;&gt;
<wfs:Delete typeName="topp:VORMIPA">
  <ogc:Filter>
    <ogc:FeatureId fid="VORMIPA.3"/>
  </ogc:Filter>
</wfs:Delete>
</wfs:Transaction>

error message : '. . . WfsTransactionException: Feature type could not be found for topp:VORMIPA . . . '
(for complete message see the attachment)
any hints welcome

- GS 1.5.2/Oracle DB

regards

Ronald

--
Ronald Woita
http://geoportal.rostock.de
Hansestadt Rostock
Kataster-, Vermessungs- und Liegenschaftsamt
Holbeinplatz 14, 18069 Rostock
email: ronald.woita@anonymised.com
phone: +49 (0)381 - 381 6256

GS_152_wfs_delete.txt (3.28 KB)

Ronald Woita ha scritto:

Hi all,

and already again an issue in understanding the wfs paramenters. . . getting a feature with the following xml works fine :

<wfs:GetFeature service="WFS" version="1.0.0"
  outputFormat="GML2"
  xmlns:topp="http://www.openplans.org/topp&quot;
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:ogc="http://www.opengis.net/ogc&quot;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/wfs
                      http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd&quot;&gt;
  <wfs:Query typeName="topp:VORMIPA">
    <ogc:Filter>
       <ogc:FeatureId fid="VORMIPA.3"/>
    </ogc:Filter>
    </wfs:Query>
</wfs:GetFeature>

deleting the same feature with this xml does not work :

<wfs:Transaction version="1.0.0" service="WFS" xmlns:gml="http://www.opengis.net/gml&quot; xmlns:topp="http://www.openplans.org/topp&quot; xmlns:wfs="http://www.opengis.net/wfs&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:ogc="http://www.opengis.net/ogc&quot; xsi:schemaLocation="http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd&quot;&gt;
<wfs:Delete typeName="topp:VORMIPA">
  <ogc:Filter>
    <ogc:FeatureId fid="VORMIPA.3"/>
  </ogc:Filter>
</wfs:Delete>
</wfs:Transaction>

error message : '. . . WfsTransactionException: Feature type could not be found for topp:VORMIPA . . . '
(for complete message see the attachment)
any hints welcome

- GS 1.5.2/Oracle DB

Yeah, it's http://jira.codehaus.org/browse/GEOS-1278.
Can you try out the wfs-1.5.2-new.jar file attached to that
jira issue and report back?

Cheers
Andrea