Select to view content in your preferred language

.NET SOAP Proxy Library 10.2 - esriArcGISVersion missing esriArcGISVersion102

2694
2
03-25-2014 01:42 PM
ScottSugden
Deactivated User
I have downloaded the latest ESRI.ArcGIS.SOAP.dll (version 10.3.0.4030) from http://resources.arcgis.com/en/help/soap/10.2/index.html#/NET/01vp00000090000000/ but it does not include the enumerator value esriArcGISVersion102 in the enum esriArcGISVersion.

This makes it impossible to determine the ArcGIS Server version using the ServiceProxyCatalogProxy.GetMessageVersion method as it returns 10.1 for a 10.2 site.


Am I missing something? If not, can you please release another version of ESRI.ArcGIS.SOAP.dll with the correct enum values?


Thankyou.
Tags (2)
0 Kudos
2 Replies
ErinBrimhall
Deactivated User
Hi Scott,

I also noticed that "esriArcGISVersion102" is missing from ServiceCatalog.wsdl / SOAP.dll. 

I double-checked this against the "esriArcGISVersion" enumeration in ESRI.ArcGIS.System.dll and it is not defined there either:

[ATTACH=CONFIG]32530[/ATTACH]

So even if the WSDL / SOAP.dll were updated, the enumeration within the ArcObjects library would still be out of sync.


All that aside, it is possible to query for the version using the ArcGIS Server Administrator Directory REST API.  See the link below:

http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Info/02r3000001z8000000/
0 Kudos
ScottSugden
Deactivated User
Hi Erin,

Thank you for the post. At least it shows that I have not gone mad and that there is indeed an issue with the enum in 10.2.

Using REST may be an option for some but as the ADMIN REST service requires an Admin token (ie admin user name and password) and I need all end users to be able to see the ArcGIS Server version, this unfortunately is not an option in my case.

Thanks again.

Scott
0 Kudos