Select to view content in your preferred language

Unable to edit in ArcGIS 10.3.1 using SOAP API

3365
4
08-03-2015 03:43 AM
mohmmadfarooq
Deactivated User

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.

0 Kudos
4 Replies
JonathanQuinn
Esri Notable Contributor

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?

0 Kudos
MohmmadBhat
Deactivated User

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><GdbVersion
xmlns=""

/><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.

0 Kudos
KhurramShahzad
Deactivated User

Hi,

I have similar issue, do we have any resolution to this problem?

0 Kudos
KhurramShahzad
Deactivated User

Farooq helped me to solve this issue. I just had to add TimeReference property. Here is the code:

dObjects.TimeReference = new TimeReference();

0 Kudos