ebrimhall

Arc 10.2.1 -- Geodata Service SOEs no longer supported?

Discussion created by ebrimhall on Jan 22, 2014
Latest reply on Aug 31, 2015 by mkohistani
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:


[INDENT]Service Object name GeoDataServer specified in the ServiceObjectExtension element is invalid. The value should be MapServer or ImageServer[/INDENT]


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:

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?

Outcomes