WFS insert/update: use geotools
At the moment transaction-XML is constructed by hand and the result is not parsed (see CommandEditFeatures).
Thus a potential error has to be searched for in the returned string:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:WFS_TransactionResponse
xmlns:ogc="http://www.opengis.net/ogc" xmlns:wfs="http://www.opengis.net/wfs"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/wfs https://geoservices6.civis.bz.it/geoserver/schemas/wfs/1.0.0/WFS-transaction.xsd">
<wfs:InsertResult>
<ogc:FeatureId fid="none"/>
</wfs:InsertResult>
<wfs:TransactionResult>
<wfs:Status>
<wfs:FAILED/>
</wfs:Status>
<wfs:Message>Update error: java.sql.SQLException: ORA-29877: failed in the execution of the ODCIINDEXUPDATE routine
ORA-13375: the layer is of type [2007] while geometry inserted has type [2004]
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 523
ORA-06512: at "AF_FRUIT_ADM.TRG_II_CULT_VW", line 142
ORA-04088: error during execution of trigger 'AF_FRUIT_ADM.TRG_II_CULT_VW'
</wfs:Message>
</wfs:TransactionResult>
</wfs:WFS_TransactionResponse>
The client should use geotools to create the request and parse the response.