com.esri.arcgis.server
Class ServiceCatalog

java.lang.Object
  extended by com.esri.arcgis.server.ServiceCatalog
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IServiceCatalog, IServiceCatalog2, IServiceCatalogAdmin, IServiceCatalogAdmin2, IRequestHandler, java.io.Serializable

public class ServiceCatalog
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IServiceCatalog, IServiceCatalog2, IServiceCatalogAdmin, IServiceCatalogAdmin2, IRequestHandler

COM Class 'ServiceCatalog'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriServer.olb'

Description 'The ServiceCatalog object, which implements the Service Catalog.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.server.IServiceCatalog2
IID, IID46c52546_7c26_477f_bdc1_b1c254625f81, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServiceCatalog
IID89d60975_fdcf_4cea_b981_73fe406a2d2b
 
Fields inherited from interface com.esri.arcgis.server.IServiceCatalogAdmin2
IID, IID5aba2ef8_dea3_4b86_ae3b_f2f711b85196, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServiceCatalogAdmin
IID34013770_2aef_4a0e_93a3_6c7d1bfc0a6a
 
Fields inherited from interface com.esri.arcgis.system.IRequestHandler
IID, IID46a0e2ea_3b64_4a46_bd78_88a1660f35bb, xxDummy
 
Constructor Summary
ServiceCatalog()
          Constructs a ServiceCatalog using ArcGIS Engine.
ServiceCatalog(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ServiceCatalog theServiceCatalog = (ServiceCatalog) obj;
 
Method Summary
 IServiceDescription createServiceDescription()
          Creates a new web service description.
 IServiceDescriptionArray createServiceDescriptionArray()
          Creates a new array of web service descriptions.
 IStringArray createServiceFolderArray()
          Creates a new array of web service folders.
 boolean equals(java.lang.Object o)
          Compare this object with another
 byte[] getCatalogDescriptionDocument(java.lang.String catalogName, java.lang.String catalogUrl)
          The WSDL for the Service Catalog.
static java.lang.String getClsid()
          getClsid.
 byte[] getDescriptionDocument(java.lang.String serviceName, java.lang.String serviceType, java.lang.String serviceURL)
          The WSDL for a specified service.
 IStringArray getFolders(java.lang.String folderName)
          Gets an IStringArray of service folder names.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getMessageFormats()
          The message formats supported by the web services in the catalog.
 int getMessageVersion()
          The message version this server version supports.
 IServiceDescriptionArray getServiceDescriptions()
          An array of the web service descriptions in the web service catalog.
 IServiceDescriptionArray getServiceDescriptionsEx(java.lang.String folderName)
          An array of the web service descriptions in the web service catalog.
 byte[] handleBinaryRequest(byte[] request)
          Handles a binary request.
 java.lang.String handleStringRequest(java.lang.String capabilities, java.lang.String request)
          Handles a SOAP string request.
 int hashCode()
          the hashcode for this object
 void release()
          Release a ServiceCatalog.
 void setMessageFormats(int rhs1)
          The message formats supported by the web services in the catalog.
 void setMessageVersion(int rhs1)
          The message version supported by the server.
 void setServiceDescriptionsByRef(IServiceDescriptionArray rhs1)
          The array of the web service descriptions for the web service catalog.
 void setServiceFoldersByRef(IStringArray rhs1)
          The array of the web service folders for the web service catalog.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceCatalog

public ServiceCatalog()
               throws java.io.IOException,
                      java.net.UnknownHostException
Constructs a ServiceCatalog using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ServiceCatalog

public ServiceCatalog(java.lang.Object obj)
               throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ServiceCatalog theServiceCatalog = (ServiceCatalog) obj;

Construct a ServiceCatalog using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ServiceCatalog.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ServiceCatalog.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getServiceDescriptions

public IServiceDescriptionArray getServiceDescriptions()
                                                throws java.io.IOException,
                                                       AutomationException
An array of the web service descriptions in the web service catalog.

Specified by:
getServiceDescriptions in interface IServiceCatalog
Returns:
A reference to a com.esri.arcgis.server.IServiceDescriptionArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessageVersion

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

Specified by:
getMessageVersion in interface IServiceCatalog2
Returns:
A com.esri.arcgis.system.esriArcGISVersion constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessageFormats

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

Specified by:
getMessageFormats in interface IServiceCatalog2
Returns:
A com.esri.arcgis.server.esriServiceCatalogMessageFormat constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServiceDescriptionsEx

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

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

getFolders

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

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

createServiceDescription

public IServiceDescription createServiceDescription()
                                             throws java.io.IOException,
                                                    AutomationException
Creates a new web service description.

Specified by:
createServiceDescription in interface IServiceCatalogAdmin
Returns:
A reference to a com.esri.arcgis.server.IServiceDescription
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createServiceDescriptionArray

public IServiceDescriptionArray createServiceDescriptionArray()
                                                       throws java.io.IOException,
                                                              AutomationException
Creates a new array of web service descriptions.

Specified by:
createServiceDescriptionArray in interface IServiceCatalogAdmin
Returns:
A reference to a com.esri.arcgis.server.IServiceDescriptionArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setServiceDescriptionsByRef

public void setServiceDescriptionsByRef(IServiceDescriptionArray rhs1)
                                 throws java.io.IOException,
                                        AutomationException
The array of the web service descriptions for the web service catalog.

Specified by:
setServiceDescriptionsByRef in interface IServiceCatalogAdmin
Parameters:
rhs1 - A reference to a com.esri.arcgis.server.IServiceDescriptionArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescriptionDocument

public byte[] getDescriptionDocument(java.lang.String serviceName,
                                     java.lang.String serviceType,
                                     java.lang.String serviceURL)
                              throws java.io.IOException,
                                     AutomationException
The WSDL for a specified service.

Specified by:
getDescriptionDocument in interface IServiceCatalogAdmin
Parameters:
serviceName - The serviceName (in)
serviceType - The serviceType (in)
serviceURL - The serviceURL (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCatalogDescriptionDocument

public byte[] getCatalogDescriptionDocument(java.lang.String catalogName,
                                            java.lang.String catalogUrl)
                                     throws java.io.IOException,
                                            AutomationException
The WSDL for the Service Catalog.

Specified by:
getCatalogDescriptionDocument in interface IServiceCatalogAdmin
Parameters:
catalogName - The catalogName (in)
catalogUrl - The catalogUrl (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMessageFormats

public void setMessageFormats(int rhs1)
                       throws java.io.IOException,
                              AutomationException
The message formats supported by the web services in the catalog.

Specified by:
setMessageFormats in interface IServiceCatalogAdmin2
Parameters:
rhs1 - A com.esri.arcgis.server.esriServiceCatalogMessageFormat constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMessageVersion

public void setMessageVersion(int rhs1)
                       throws java.io.IOException,
                              AutomationException
The message version supported by the server.

Specified by:
setMessageVersion in interface IServiceCatalogAdmin2
Parameters:
rhs1 - A com.esri.arcgis.system.esriArcGISVersion constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createServiceFolderArray

public IStringArray createServiceFolderArray()
                                      throws java.io.IOException,
                                             AutomationException
Creates a new array of web service folders.

Specified by:
createServiceFolderArray in interface IServiceCatalogAdmin2
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setServiceFoldersByRef

public void setServiceFoldersByRef(IStringArray rhs1)
                            throws java.io.IOException,
                                   AutomationException
The array of the web service folders for the web service catalog.

Specified by:
setServiceFoldersByRef in interface IServiceCatalogAdmin2
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.IStringArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

handleBinaryRequest

public byte[] handleBinaryRequest(byte[] request)
                           throws java.io.IOException,
                                  AutomationException
Handles a binary request.

Specified by:
handleBinaryRequest in interface IRequestHandler
Parameters:
request - An unsigned byte (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

handleStringRequest

public java.lang.String handleStringRequest(java.lang.String capabilities,
                                            java.lang.String request)
                                     throws java.io.IOException,
                                            AutomationException
Handles a SOAP string request.

Specified by:
handleStringRequest in interface IRequestHandler
Parameters:
capabilities - The capabilities (in)
request - The request (in)
Returns:
The response
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.