Problem: Unable to add features with date fields to a feature service and edit the service using the SOAP API
【相关信息】
Article ID: 45591
Bug Id: N/A
Software:
ArcGIS for Server 10.3.1
ArcObjects SDK for Java Windows 10.2, 10.3.1, 10.2.1, 10.2.2
ArcObjects SDK for the Microsoft .NET Framework 10.2, 10.3.1, 10.2.2, 10.3, 10.2.1
Platforms: N/A
【问题描述】
Using the SOAP application programming interface (API), the Add method fails to add features with date fields to a feature service while consuming ArcGIS 10.3.1 for Server feature services. Similarly, using the ApplyEdits method to edit the feature service containing date fields returns a SOAPException error.
【原因】
In the SOAP API, if features contain the date field, the TimeReference tag must be included in the XML schema of the SOAP API. Not including the TimeReference tag causes the SOAP request to fail.
In older versions of ArcGIS for Server, adding the TimeReference tag is optional.
Article ID: 45591
Bug Id: N/A
Software:
ArcGIS for Server 10.3.1
ArcObjects SDK for Java Windows 10.2, 10.3.1, 10.2.1, 10.2.2
ArcObjects SDK for the Microsoft .NET Framework 10.2, 10.3.1, 10.2.2, 10.3, 10.2.1
Platforms: N/A
【问题描述】
Using the SOAP application programming interface (API), the Add method fails to add features with date fields to a feature service while consuming ArcGIS 10.3.1 for Server feature services. Similarly, using the ApplyEdits method to edit the feature service containing date fields returns a SOAPException error.
【原因】
In the SOAP API, if features contain the date field, the TimeReference tag must be included in the XML schema of the SOAP API. Not including the TimeReference tag causes the SOAP request to fail.
In older versions of ArcGIS for Server, adding the TimeReference tag is optional.
1 个回复
EsriSupport
赞同来自:
Include the TimeReference tag in the SOAP API XML schema as shown below:
ArcGIS Resources: TimeReference.
【其它相关参考】
【创建及修改时间】
Created: 10/1/2015 Last Modified: 12/4/2015
【原文链接】
http://support.esri.com/en/kno ... 45591
要回复问题请先登录或注册