I am in the process of rebuilding a 10.1.1 server object extension against the latest 10.2.1 assemblies, but it appears that Geodata Services may no longer be a service type that support SOEs.
Recompiling the SOE project produces the following error:
I traced this error through the ESRI.ArcGIS.AddIns.Server.targets file, into the GenerateServerAddInXml class (in the ESRI.ArcGIS.AddIns.SDK.ServerAddIns namespace), and found the following code in its Execute method:
This validation logic is clearly limiting the "ServerObjectType" attribute values to either "MapServer" or "ImageServer".
Can someone from Esri comment? Is this an oversight in the add-in validation logic, or does ArcGIS Server 10.2+ truly no longer support "GeoDataServer" SOEs?
Recompiling the SOE project produces the following error:
Service Object name GeoDataServer specified in the ServiceObjectExtension element is invalid. The value should be MapServer or ImageServer
I traced this error through the ESRI.ArcGIS.AddIns.Server.targets file, into the GenerateServerAddInXml class (in the ESRI.ArcGIS.AddIns.SDK.ServerAddIns namespace), and found the following code in its Execute method:
Code:
cfg.AddIn.SOType.Name = this.GetProperty(tt, obj2, "ServerObjectType");
if ((cfg.AddIn.SOType.Name != "MapServer") && (cfg.AddIn.SOType.Name != "ImageServer"))
{
throw new Exception(string.Format(Resources.InvalidAddInServerObject, cfg.AddIn.SOType.Name, "MapServer", "ImageServer"));
}
This validation logic is clearly limiting the "ServerObjectType" attribute values to either "MapServer" or "ImageServer".
Can someone from Esri comment? Is this an oversight in the add-in validation logic, or does ArcGIS Server 10.2+ truly no longer support "GeoDataServer" SOEs?