I am not able to edit using SOAP API in ArcGIS server 10.3.1 while I am able to edit in the earlier versions of the ArcGIS. The server is giving error "Error processing server request". The editing is failing for both SQL and Oracle database.
Can you edit at REST? You can add the feature service to ArcGIS Online as a quick test. Do the Server logs show any errors other than the error processing server request message?
Rest editing is working properly. Even I am able to delete the features using SOAP API.
I am not able to add feature and edit attributes of the feature using SOAP.
SOAP Request: Add feature
<?xml version="1.0"encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><Add
xmlns="http://www.esri.com/schemas/ArcGIS/10.3"><LayerOrTableID
xmlns="">0</LayerOrTableID><DataObjects
xmlns=""><DataObjectArray><DataObject
xmlns:q1="http://www.esri.com/schemas/ArcGIS/10.3"
xsi:type="q1:GraphicFeature"><Properties><PropertyArray
/></Properties><Geometry
xsi:type="q1:PointN"><X>537804.03974440356</X><Y>4817959.3768005269</Y></Geo
metry></DataObject></DataObjectArray></DataObjects><GdbVersionxmlns=""
/><RollbackOnFailure
xmlns="">true</RollbackOnFailure></Add></soap:Body></soap:Envelope>
I have attached the AGS log file for ADD and EDIT request for SOAP and Add request for REST.
Hi,
I have similar issue, do we have any resolution to this problem?
Farooq helped me to solve this issue. I just had to add TimeReference property. Here is the code:
dObjects.TimeReference = new TimeReference();
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.