Catalog service GetMessageFormats method
Gets the message types supported by ArcGIS Server SOAP services. The two available types are SOAP and binary.
GetMessageFormats()
Return Value
An enumeration of type esriServiceCatalogMessageFormat.
Remarks
ArcGIS Server SOAP services can utilize two message formats: SOAP and Binary. SOAP messages are designed for general public use. Binary messages are designed to support ArcGIS Desktop products and are not designed for public use. An ArcGIS Server site must have SOAP messaging enabled to be publicly consumable.
Examples
C#
Catalog catalog = new Catalog();
catalog.Url = "http://localhost:6080/arcgis/services";
esriServiceCatalogMessageFormat messageformat = catalog.GetMessageFormats();
VB.NET
Dim catalog As Catalog = New Catalog()
catalog.Url = "http://localhost:6080/arcgis/services"
Dim messageformat As esriServiceCatalogMessageFormat = catalog.GetMessageFormats()
Java
String serviceURL = "http://localhost:6080/arcgis/services";
ServiceCatalogBindingStub serviceCatalog = new ServiceCatalogBindingStub(serviceURL);
System.out.println("Message Formats: " + serviceCatalog.getMessageFormats());
2/28/2020