Catalog server GetMessageVersion method

Gets the ArcGIS Server version supported by ArcGIS Server web services on the site referenced by the Catalog proxy.

GetServerVersion()

Return Value

An enumeration of type esriArcGISVersion.

Remarks

The ArcGIS Server version provides metadata to be used when generating SOAP requests and processing SOAP responses.

Examples

C#

Catalog catalog = new Catalog();

catalog.Url = "http://localhost:6080/arcgis/services";

esriArcGISVersion arcgisversion = catalog.GetMessageVersion();

VB.NET

Dim catalog As Catalog = New Catalog()

catalog.Url = "http://localhost:6080/arcgis/services"

 

Dim arcgisversion As esriArcGISVersion = catalog.GetMessageVersion()

Java

String serviceURL = "http://localhost:6080/arcgis/services";

ServiceCatalogBindingStub serviceCatalog = new ServiceCatalogBindingStub(serviceURL);

System.out.println("Message Version: " + serviceCatalog.getMessageVersion());

11/8/2016