Hello,
GeoServer 1.6.2 installed on WinXP.
Testing against 3 datastores (default (shp?), MIF plugin, and Oracle
plugin) I get a variety of results.
-- With the sample table tiger_roads, Insert, Update, and Delete
mostly all work. The caveat comes with the Insert operation -- the
fid returned in the TransactionResult is bogus. I suspect that is a
limitation of the datastore, and not GeoServer.
-- With the MIF plugin, only Insert works, with the same limitation as
above -- a bogus fid is returned. For Update and Delete, it appears
nothing happens on the server, but the TransactionResult contains
Status - SUCCESS. That seems to indicate that the TransactionRequest
was well-formed and processed by the server, but the server didn't
find any matching records to Update or Delete. How can I diagnose the
problem with the TransactionRequest? Is there anything in the output
on the GeoServer console that would help?
Or is this maybe a limitation of the MIF plugin? How can I
distinguish between the two (limitation of datastore vs bad request)?
-- On Oracle, only the Delete operation works. For Insert and Update
I get a ServiceException regarding the Geometry. I'll have to compare
the geometry we receive with the geometry we send in a request.
I understand that 'partial commits' are possible. For example, if the
TransactionRequest contains 3 Insert elements, 1 and 3 might succeed,
while 2 does not. If I try to send a request with 2 valid objects and
one invalid object (polygon instead of LineString, for example), I get
a ServiceException, and none of the objects are inserted. Is this
expected?
Thanks for any insight...