Bug: Java Connector: getConfigContents() returns null


When attempting to retrieve the .AXL file content for an existing service using the getConfigContents() method in the com.esri.aims.mtier.model.admin.Service class, a null object is returned.


The getConfigContents() method will only return information for services that have been added using the setConfigContents() method during the same JVM session.


In general, to retrieve the content of an axl file associated with an map service, you must have file system access. The getConfigFile() method will return the path to the .AXL file. Use the standard Java API to read the file and process/parse as needed.