ActiveVOS Server User’s Guide

Understanding the Resource Catalog

When you use ActiveVOS Designer to create a .bpr file, the .bpr wizard automatically generates a Resource Catalog. Information from the catalog is displayed in the Administration Console.

The Resource Catalog provides a way for the ActiveVOS engine to find WSDL files, schemas, and other resources within a .bpr deployment archive.

The following example shows the syntax for an entry in catalog.xml.

<catalog>
 <resourceEntry location="string" classpath="slash/separated/
    classpath/filename.wsdl"/>
</catalog>

The location attribute maps to a resource file in one of two ways. Its value is either the location attribute of a <resource> in the resourceReferences section of a .pdd file or the location attribute of an <import> element in a WSDL file.

When loading a resource file at deployment time, the ActiveVOS engine reads the resource references from the .pdd file and uses the location attribute of the <resource> element as a key into the Resource Catalog. If the catalog contains a matching location, the engine loads the resource from the corresponding classpath. If no mapping exists in the catalog, the engine assumes the location is an absolute URL and attempts to load the resource from that location.

The classpath attribute indicates where the resource file resides in the .bpr file, relative to the root of the .bpr file’s contents.

Deployed resources include: