[OpenLayers-Users] WFS XML issue

Indika Tantrigoda indika85 at gmail.com
Mon Nov 17 01:45:58 EST 2008


Hello to all,
I've been working with wfs-t and i seem to have an issue with wfs-t
modifications.

The commit response I get from the server is

<?xml version="1.0" ?>
<ServiceExceptionReport version="1.2.0" xmlns="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://www.opengis.net/ogc
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd">

   <ServiceException>Feature type &apos;features&apos; is not available:
</ServiceException>

</ServiceExceptionReport>

After going through the xml request I noticed typeName="features" was in the
request.

<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" version="1.0.0"
service="WFS">
<wfs:Update* typeName="features*">
<wfs:Property>
    <wfs:Name>the_geom</wfs:Name>
    <wfs:Value>
        <gml:Point xmlns:gml="http://www.opengis.net/gml"
srsName="EPSG:55555"><gml:coordinates decimal="." cs="," ts="
">119826.01248545875,195188.42304989288
        </gml:coordinates></gml:Point>
    </wfs:Value></wfs:Property>

    <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
        <ogc:FeatureId fid="cities.24"/>
    </ogc:Filter>
</wfs:Update>
</wfs:Transaction>

While looking at the insert xml request noticed that "feature : cities" was
present in the request.

Should this be the same in the modify request as well ?

Any way I can get around this ?

Thanks in advance,

Indika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081117/c6a6e3cf/attachment.html


More information about the Users mailing list