Hi,
I’m french, so sorry for my bad english
I’ve developped a wfs client in c++ and i’m testing it on geoserver.
The server is v1.4.0 Win32, datas are on a PostGIS Server, the user used for the postgis database have admin right (so he can insert, delete, etc…).
WFS Server if on “Complete” Service Level.
I’m currently working on “wfs:Update”, my client send an update request using the POST Method.
It seems alright because i get the “SUCCESS” answer, but when i check the feature member I just updated, all the properties are the same as before. Like there was no update request at all.
Thanks for your help !!
Here is a part of my request (Removed a lot of wfs:Property)
<wfs:Transaction
xmlns:wfs=“http://www.opengis.net/wfs”
service=“WFS”
version=“1.1.0”
xmlns:gml=" http://www.opengis.net/gml"
xmlns:ogc=“http://www.opengis.net/ogc”
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance">
<wfs:Update wfs:typeName=“topp:states”>
wfs:Property
wfs:Namestate_fips</wfs:Name>
wfs:Value08</wfs:Value>
</wfs:Property>
ogc:Filter
<ogc:FeatureId fid=“states.6”/>
</ogc:Filter>
</wfs:Update>
</wfs:Transaction>
And what the server is answering me:
<wfs:WFS_TransactionResponse
version=“1.0.0”
xmlns:wfs=" http://www.opengis.net/wfs"
xmlns:ogc=“http://www.opengis.net/ogc”
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=“http://www.opengis.net/wfs http://xxx.xxx.xxx.xxx:xxxx/geoserver/schemas/wfs/1.0.0/WFS-transaction.xsd”>
wfs:TransactionResult
wfs:Status
wfs:SUCCESS/
</wfs:Status>
</wfs:TransactionResult>
</wfs:WFS_TransactionResponse>