com.esri.arcgis.server
Interface IServiceCatalog2

All Superinterfaces:
IServiceCatalog, Serializable
All Known Subinterfaces:
IServiceCatalog3
All Known Implementing Classes:
IServiceCatalog2Proxy, IServiceCatalog3Proxy, ServiceCatalog

public interface IServiceCatalog2
extends IServiceCatalog, Serializable

Provides access to properties of an ArcGIS Server web service catalog.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 IStringArray getFolders(String folderName)
          Gets an IStringArray of service folder names.
 int getMessageFormats()
          The message formats supported by the web services in the catalog.
 int getMessageVersion()
          The message version this server version supports.
 IServiceDescriptionArray getServiceDescriptionsEx(String folderName)
          An array of the web service descriptions in the web service catalog.
 
Methods inherited from interface com.esri.arcgis.server.IServiceCatalog
getServiceDescriptions
 

Method Detail

getMessageVersion

int getMessageVersion()
                      throws IOException,
                             AutomationException
The message version this server version supports.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A com.esri.arcgis.system.esriArcGISVersion constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessageFormats

int getMessageFormats()
                      throws IOException,
                             AutomationException
The message formats supported by the web services in the catalog.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A com.esri.arcgis.server.esriServiceCatalogMessageFormat constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServiceDescriptionsEx

IServiceDescriptionArray getServiceDescriptionsEx(String folderName)
                                                  throws IOException,
                                                         AutomationException
An array of the web service descriptions in the web service catalog.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
folderName - The folderName (in)
Returns:
A reference to a com.esri.arcgis.server.IServiceDescriptionArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFolders

IStringArray getFolders(String folderName)
                        throws IOException,
                               AutomationException
Gets an IStringArray of service folder names.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
folderName - The folderName (in)
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.