Version 9.6
 —  Using the Asset Catalog  —

Publishing a New Asset into the Catalog

Details on how to publish an asset are described in the following sections.


Ways in Which You Can Publish an Asset

You can publish an asset (i.e., add an asset) to the catalog in one of the following ways:

Top of page

Who Can Publish Assets to the Catalog?

To add assets to an organization's asset catalog, you must belong to a role that has the "Create Assets" or "Manage Assets" permission for that organization. To see a list of the predefined roles that include the "Create Assets" or "Manage Assets" permission, see the section About Roles and Permissions in the document Users, Groups, Roles and Permissions.

Top of page

Who Can Access the Assets that You Publish?

By default, everyone in your organization is permitted to view the assets that you publish to your organization's catalog. However, only you (as the asset owner) and users that belong to a role that has the "Manage Assets" permission for your organization can view, edit and delete the assets that you add to the catalog.

To enable other users to view, edit and/or delete an asset that you have published, you must modify the asset's instance-level permission settings. For more information about allowing other users to access an asset, see Setting Permissions on an Asset.

Top of page

Adding an Asset to the Catalog Using an Importer

Overview

An importer generates a catalog entry for an asset from a particular type of input file. For example, the Web service importer installed with CentraSite reads a WSDL file and from it, generates a catalog entry for the service that the WSDL describes. In most cases, the importer also uploads the input file to the CentraSite repository and links the file to the catalog entry. When you import a Web service from a WSDL file, for example, the importer copies the WSDL file into the repository and then links the file to the catalog entry for the Web service.

If during import of a service or schema the importer detects that the asset with the given identification already exists in the catalog, you can either overwrite the existing version or create a new version. If you decide to create a new version, the imported file will be applied to the new version.

You can also choose the option Interactive resolution of Import/Includes, which will allow you to specify how an already existing imported/included file (further WSDL or schema) is handled. For each of the imported/included files you have one of these options:

The following table lists the importers installed with CentraSite and identifies the types of files they require as input.

To import this asset... You must supply this type of file...
Web Service (including Abstract Service) Web Service Definition Language (WSDL) file.
XML Schema XML Schema Definition (XSD) file.
XML Service XML Schema Definition (XSD) file.
REST Service XML Schema Definition (XSD) file.
BPEL Business Process Execution Language for Web Services (BPEL) file.
Process XML Process Definition Language (XPDL) file.
Archive A file that was previously exported from CentraSite Control.

Note:
The following sections describe how to use CentraSite's predefined importers from the CentraSite Control user interface. You can also call these importers using the Java-based import API, the SOAP API, or a command-line utility. For information, see the document Importing Objects Using the API.

An administrator can add custom asset types to CentraSite and install custom importers for those types. If your CentraSite is equipped with custom importers, consult your administrator to determine which types of files those importers expect as input.

Importing Web Services (including Abstract Services)

General

A Web service is represented in CentraSite by a set of related entries in the registry and in the repository. When a Web service is imported, the appropriate entries are created. Some of the entries are visible in the detail pages of the Web service asset, others are not displayed in the detail pages but are displayed when you use the impact analysis feature.

If you import a Web service for which registry entries already exist (for example, from a previous import), the existing set of entries is extended as appropriate. Thus, for example, if you had previously imported a Web service, and now you import the web service again with an additional web service operation in the WSDL file, a new Operation object will be added to the existing set of entries for the Web service in the registry.

Registry and repository entries for a web service

The registry entries created are summarized in the following diagram:

graphics/wsimport.png

The registry entries are as follows:

The repository entries are as follows:

A WSDL definition can be spread across several physical files that contain IMPORT statements to refer to each other. Also, a WSDL definition can contain an XML schema definition, which can also be spread across several physical files. In such cases, each of the WSDL and schema files is stored in the repository, and appropriate references are created in the registry as follows:

If the importer detects an equivalent service within CentraSite during the import of a Web service, the import dialog will prompt you to specify either Overwrite latest version or Create new version. If you decide to create a new version, the importing WSDL will be applied to the new version.

Importing Abstract Services

You can use abstract services to support a top-down service development. An abstract service asset just contains abstract definitions like interface, operation or message definitions. But, in contrast to a normal service asset, it does not contain the complete information that is necessary to call the web service that it represents. This means the required definitions are missing or not complete. You can supply the concrete definitions of an abstract service at a later time in order to turn the abstract service into a normal service. An abstract service is represented in the CentraSite registry by a normal service asset.

You can define abstract services by creating them from scratch or by importing WSDLs that comply with the WSDL 1.1 specification.

According to the WSDL 1.1 specification, a WSDL file does not need to contain any service or binding element. This kind of WSDL is called an abstract WSDL. Importing an abstract WSDL to CentraSite results in an abstract service. The name and the targetNamespace of the abstract service are taken from the name and the targetNamespace attributes of the WSDL's definition element. If the attributes are missing, the import is rejected.

To enable the import of name-less abstract WSDLs, the import dialog in CentraSite Control allows you to specify a name.

The minimal abstract WSDL that is supported just contains a definitions element with a name and a targetNamespace attribute.

An abstract service does not contain concrete definitions that refer to the registry objects for the abstract definitions. Instead the abstract service is linked to the abstract definitions via a HasParent relationship attribute. The relationship attribute points from the Interface objects to the Service object. Operation objects are not referred to directly since they are always part of an Interface. Types or messages do not need to be considered, since they are not represented in the registry. The HasParent relationship is classified as an aggregation relationship to ensure that the abstract definitions are considered properly when deleting, moving or exporting the abstract service. The abstract WSDL is linked to the abstract service via an externalLink.

You can update an abstract service's definitions by attaching a WSDL to it. Attaching a WSDL overwrites all the registry objects that can be defined via a WSDL. This ensures that the attached WSDL reflects correctly the registry objects representing the service and its components. This also affects the service object itself. Objects that cannot be added by attaching a WSDL are not overwritten. The service object's name is not overwritten automatically when you attach a WSDL. This makes the name provided by the WSDL a technical name of a service. By default, the technical name is reflected by the local-name classification of the service object. You can align the service name with the technical name by marking the appropriate checkbox in the Attach WSDL dialog. For more information about attaching a WSDL to an abstract service, see the section Editing an Asset in the Catalog.

To show the technical name in the CentraSite Control, a computed read-only attribute is needed.

Permissions required for performing the import

When importing a web service that refers to XML Schema, keep the following points in mind:

How to Import a Web Service

Start of instruction setTo import a Web Service asset to the catalog

Before you begin, you must have the WSDL file that you want to import. This file can reside on the file system of the computer where your browser is running, or it can reside anywhere on the network, as long as its location is addressable via a URL.

  1. In CentraSite Control, go to Asset Catalog > Browse.

  2. Click the Import icon.

  3. In the Import dialog, specify the following attributes:

    In this field... Do the following...
    Organization Choose the organization to which the asset will be added. (The drop-down list will contain the list of organizations to which you are permitted to add assets.) If you select an organization other than your own organization, you will nevertheless be the owner of the asset.

    Note:
    Choose the organization with care. You cannot change the organization assignment after the asset is added to the catalog. You can, however, export an asset from one organization and import it to another.

    Import as Choose Web Service.
    Initial Version

    Enter an identifier for the initial version of the asset. This is the user-defined version, as opposed to the automatically assigned system version. You can enter any string in this field, i.e. the version identifier does not need to be numeric. You can also leave the field blank. You can later create new versions of the asset (see Optional.Versioning an Asset).

    If the versioning feature is disabled for this asset type, the field is nevertheless displayed, thus allowing you to assign an identifier for this first version.

    If the import of the asset also causes other related objects to be imported (for example, if the WSDL definition for a Web service includes references to other WSDL or schema definition files), the initial version is only assigned to the main asset identified in this dialog, and the initial version of the other imported objects is not assigned.

    Name

    Optional. Enter a the name for the service.

    If you do not specify a name, the name is set automatically to the value of the name attribute in the definitions element of the WSDL. If the name attribute is not specified in the WSDL, a dialog opens in which you can specify the name.

    Import from Specify whether the input file will be read from a URL-addressable location on the network (the URL option) or from your local file system (the File option).
    URL or File

    If the file you are importing resides on the network, specify its URL.

    If the file resides in your local file system, specify the file name. You can use the Browse button to navigate to the required folder.

    URL Authentication

    If you have specified a URL, and the site you want to access via the URL requires user authentication, check this box. This opens an Authentication sub-dialog in which you can enter a username and password for authentication at the URL site.

    Interactive resolution of Import/Includes

    This option determines how referenced WSDLs/schemas are handled when the WSDL/schema that is referred to already exists in the registry. When this option is enabled, you will be prompted during import to specify whether you want to reuse any WSDL/schema files referred to in the main file or upload new files.

  4. Click Finish.

    CentraSite retrieves the specified file and generates the catalog entry. The Web service asset’s details page is displayed.

    What Happens When You Import a New WSDL File?

    CentraSite retrieves the specified file and generates the catalog entry. If you have specified Interactive resolution of Import/Includes, you will be prompted to specify whether you wish to reuse any of the WSDL/schema files referred to in the main WSDL file or upload new files.

    What Happens When You Import an Existing WSDL File?

    If the importer detects that the service you are trying to import already exists within CentraSite, the import dialog will prompt you to specify whether you want to Overwrite latest version or Create new version. If you have specified Interactive resolution of Import/Includes, you will be prompted to specify whether you wish to reuse any of the WSDL/schema files referred to in the main WSDL file via IMPORT or INCLUDE statements or upload new files.

  5. During import of a Web Service asset, CentraSite will not allow you to add the service to the asset catalog unless you have specified all "required" attributes in the Web Service type definition and all referenced objects to which the WSDL file has an association. The value for the "required" attribute must be specified in the Web service’s profile. Additionally, if the Web service asset has internally referenced objects, the value for the "required" attributes of all such referenced objects should be specified by choosing the Next button at the top right side of the details page in order to add the Web Service asset to the asset catalog. Thus, for example, if the WSDL/XML schema files that are referenced in the main WSDL file have "required" attributes, then you will be prompted to specify a value for the required attributes in order to save the asset.

  6. After you specify the value for all of the required attributes, click Save to save the Web Service asset.

  7. Review the import log that CentraSite displays after the import process. If errors occur while reading and processing the file, they will be reported in this log.

  8. Configure the asset's extended attributes as described in Editing an Asset in the Catalog.

Note:

Tip:
If you have previously imported a WSDL that has an associated schema file, and you now re-import the same WSDL with a modified schema file, your browser might not display the updated contents of the schema file when you click on the external link for the schema file. This can happen if the browser cache is not being updated automatically. To rectify the problem, you can change your browser settings so that pages are always updated on every visit.

Restrictions for abstract services

The following restrictions apply for abstract services:

Importing XML Schemas

When an XML Schema is imported, the schema file is copied to the repository, and an XML Schema asset is created in the registry. The asset contains an External Link to the schema file in the repository.

The entries created are summarized in the following diagram:

graphics/xsdimport.png

A schema definition can consist of several physical files that refer to each other using IMPORT or INCLUDE statements. In such cases, each of the schema files is stored in the repository, and appropriate references are created in the registry as follows:

Each schema file in the repository that is referred to by a higher-level schema file in the repository has an XML Schema object in the registry that is referred to by the XML Schema object of the higher-level schema file. The reference is implemented as an association of the type uses. The XML Schema object in the registry contains an External Link to the schema file in the repository.

If the importer detects an equivalent schema within CentraSite during the import of a schema, the import dialog will prompt you to specify either Overwrite latest version or Create new version.

You can also choose the option Interactive resolution of Import/Includes, which will allow you to specify how an already existing imported/included file is handled. For each of the imported/included files you have one of these options:

Additionally, when importing an XML Schema that refers to other XML Schemas, keep the following points in mind:

Start of instruction setTo import a new XML Schema asset to the catalog

Before you begin, you must have the XML schema file that you want to import. This file can reside on the file system of the computer where your browser is running, or it can reside anywhere on the network, as long as its location is addressable via a URL.

  1. In CentraSite Control, go to Asset Catalog > Browse.

  2. Click the Import icon.

  3. In the Import dialog, specify the following attributes:

    In this field... Do the following...
    Organization Choose the organization to which the asset will be added. (The drop-down list will contain the list of organizations to which you are permitted to add assets.) If you select an organization other than your own organization, you will nevertheless be the owner of the asset.

    Note:
    Choose the organization with care. You cannot change the organization assignment after the asset is added to the catalog. You can, however, export an asset from one organization and import it to another.

    Import as Choose Schema.
    Initial Version

    Optional. Enter an identifier for the initial version of the asset. See the description of the import dialog for Web service described above in the section Importing Web Services for details of usage.

    Name

    Optional. Enter a the name for the asset. If you do not specify a name for the asset, it is set automatically to the schema's file name.

    Import from Specify whether the input file will be read from your local file system (the File option) or from a URL-addressable location on the network (the URL option).
    URL or File

    If the file you are importing resides on the network, specify its URL.

    If the file resides in your local file system, specify the file name. You can use the Browse button to navigate to the required folder.

    URL Authentication

    If you have specified a URL, and the site you want to access via the URL requires user authentication, check this box. This opens an Authentication sub-dialog in which you can enter a username and password for authentication at the URL site.

    Interactive resolution of Import/Includes

    This option determines how referenced schemas are handled when the schema that is referred to already exists in the registry. When this option is enabled, you will be prompted during import to specify whether you want to reuse any schema files referred to in the main file or upload new files.

  4. Click Finish.

    CentraSite retrieves the specified file and generates the catalog entry. The XML schema asset’s details page is displayed.

    What Happens When You Import a New Schema File?

    CentraSite retrieves the specified file and generates the catalog entry. If you have specified Interactive resolution of Import/Includes, you will also be prompted to specify whether you wish to reuse any of the schema files that might be referred to in the main schema file via IMPORT or INCLUDE statements or upload new files.

    What Happens When You Import an Existing Schema File?

    If the importer detects that the schema you are trying to import already exists within CentraSite, the import dialog will prompt you to specify whether you want to Overwrite latest version or Create new version. If you have specified Interactive resolution of Import/Includes, you will be prompted to specify whether you wish to reuse any of the schema files referred to in the main schema file via IMPORT or INCLUDE statements or upload new files.

  5. Click OK.

    CentraSite retrieves the specified file and generates the catalog entry.

  6. During import of an XML Schema asset, CentraSite will not allow you to add the schema to the asset catalog unless you have specified all "required" attributes in the Schema type definition and all referenced objects to which the XML file has an association. The value for the "required" attribute must be specified in the schema's profile. Additionally, if the schema asset has internally referenced objects, the value for the "required" attributes of all such referenced objects should be specified by choosing the Next button at the top right side of the details page in order to add the XML schema asset to the asset catalog. Thus, for example, if the XML schema file that is referenced in the main XML file have "required" attributes, then you will be prompted to specify a value for the required attributes in order to save the asset.

  7. After you specify the value for all of the required attributes, click Save to save the XML Schema asset.

  8. Review the import log that CentraSite generates for the import process. If errors occur while reading and processing the file, they will be reported in this log.

  9. Configure the asset's extended attributes as described in Editing an Asset in the Catalog.

Tip:
If you had previously imported a WSDL that has an associated schema file, and you now re-import just the schema file with modifications, your browser might not display the updated contents of the schema file. This can happen if the browser cache is not being updated automatically. To rectify the problem, you can change your browser settings so that pages are always updated on every visit.

Restriction

XML Schema files can contain references to DTD (Document Type Definition) files. If you import such an XML schema file, the referenced DTD files are not imported to CentraSite.

Importing XML Services

An XML service is represented in CentraSite by a set of related entries in the registry and in the repository. When an XML service is imported, the schema file is copied to the repository, and a set of entries (for example, the XML service asset with links) is created in the registry representing the schema definition. Some of the entries are visible in the detail pages of the XML service asset, others are not displayed in the detail pages but are displayed when you use the impact analysis feature.

If you import an XML service for which registry entries already exist (for example, from a previous import), the existing set of entries is extended as appropriate. Thus, for example, if you had previously imported an XML service, and now you import the service again with an additional schema file, a new link to the XML service's additional schema will be added to the existing set of entries for the XML service in the registry.

The entries created are summarized in the following diagram:

graphics/XMLServiceImportObjects.png

The registry entries are as follows:

The repository entries are as follows:

A schema file can be spread across several physical files that contain IMPORT statements to refer to each other. Also, a schema file can contain a WSDL 2.0 representation, which can also be spread across several physical files. In such cases, each of the schema and WSDL files is stored in the repository, and appropriate references are created in the registry as follows:

When you import an XML service, the import dialog offers you the option Overwrite existing imported schema files. This option is of particular relevance if you are importing a schema that you have already previously imported, and it allows you to import just the main schema file without any of the schema files referred to by the main schema file via IMPORT or INCLUDE statements. If only the main schema file has changed since the previous import, but none of the referenced schema files, do not select this option; this avoids creating new versions of objects that have not changed.

Additionally, when importing an XML Schema that refers to other XML Schemas, keep the following points in mind:

Start of instruction setTo import an XML Service asset to the catalog

Before you begin, you must have the file that you want to import and the service's endpoint. This file can reside on the file system of the computer where your browser is running, or it can reside anywhere on the network, as long as its location is addressable via a URL.

  1. In CentraSite Control, go to Asset Catalog > Browse.

  2. Click the Import icon to open the Import dialog.

  3. In panel 1, specify the following attributes:

    In this field... Do the following...
    Organization Choose the organization to which the asset will be added. (The drop-down list will contain the list of organizations to which you are permitted to add assets.) If you select an organization other than your own organization, you will nevertheless be the owner of the asset.

    Note:
    Choose the organization with care. You cannot change the organization assignment after the asset is added to the catalog. You can, however, export an asset from one organization and import it to another.

    Import as Choose XML Service.
    Name Optional. Enter a name for the asset. An asset name can contain any character (including spaces).
    Initial Version

    Optional. Enter an identifier for the initial version of the asset. This is the user-defined version, as opposed to the automatically assigned system version. You can enter any string in this field, i.e. the version identifier does not need to be numeric. You can also leave the field blank. You can later create new versions of the asset (see Versioning an Asset).

    If the versioning feature is disabled for this asset type, the field is nevertheless displayed, thus allowing you to assign an identifier for this first version.

    If the import of the asset also causes other related objects to be imported (for example, if the schema definition for an XML service includes references to other schema definition files), the initial version is only assigned to the main asset identified in this dialog, and the initial version of the other imported objects is not assigned.

    Endpoint Enter the service endpoint URL in a valid format.
    HTTP Method Choose the HTTP request method(s) for bridging the protocols (e.g., GET, POST, PUT, DELETE).
  4. Click Next.

  5. In panel 2, specify the following attributes to associate schema(s) for this service.

    In this field... Do the following...
    Import from Specify whether the input file will be read from a URL-addressable location on the network (the URL option) or from your local file system (the File option).
    URL or File

    If the file you are importing resides on the network, specify its URL.

    If the file resides in your local file system, specify the file name. You can use the Browse button to navigate to the required folder.

    If you want to specify multiple schemas, use the plus button to add additional rows.

    URL Authentication

    If you have specified a URL, and the site you want to access via the URL requires user authentication, check this box. This opens an Authentication sub-dialog in which you can enter a username and password for authentication at the URL site.

    Overwrite existing imported schema files This option determines how referenced schemas are handled when the schema that is referred to already exists in the registry. When this option is enabled, the existing schemas in the registry are replaced with the new ones specified by the input schema file(s). When this option is disabled, the importer simply references the schema that already exists in the registry.
  6. Click Finish.

    Be aware that if the XML file references another asset, CentraSite will automatically check whether the referenced asset exists in the catalog. If not, CentraSite will attempt to locate the required file and add it to the catalog. If CentraSite cannot locate the file, it will prompt you for the file's location.

    CentraSite retrieves the specified file and generates the catalog entry. The XML Service asset’s details page is displayed.

  7. During import of an XML Service asset, CentraSite will not allow you to add the service to the asset catalog unless you have specified all "required" attributes in the XML Service type definition and all referenced objects to which the XML file has an association. The value for the "required" attribute must be specified in the XML service's profile. Additionally, if the XML Service asset has internally referenced objects, the value for the "required" attributes of all such referenced objects should be specified by choosing the Next button at the top right side of the details page in order to add the XML service to the asset catalog. Thus, for example, if the schema file that is referenced in the main XML file have "required" attributes, then you will be prompted to specify a value for the required attributes in order to save the asset.

  8. After you specify the value for all of the required attributes, click Save to save the XML Service asset.

  9. Review the import log that CentraSite generates for the import process. If errors occur while reading and processing the file, they will be reported in this log.

  10. Configure the asset's extended attributes as described in Editing an Asset in the Catalog.

    Restriction

    XML Schema files can contain references to DTD (Document Type Definition) files. If you import such an XML Schema file, the referenced DTD files are not imported to CentraSite.

    An imported XML service cannot contain any of the custom profiles that were included in the "Service" type.

Tip:
If you have previously imported a schema that has an associated schema file, and you now re-import the same schema with a modified schema file, your browser might not display the updated contents of the schema file when you click on the external link for the schema file. This can happen if the browser cache is not being updated automatically. To rectify the problem, you can change your browser settings so that pages are always updated on every visit.

Importing REST Services

General

A REST service is represented in CentraSite by a set of related entries in the registry and in the repository. When a REST service is imported, the appropriate entries are created. Some of the entries are visible in the detail pages of the REST service asset, others are not displayed in the detail pages but are displayed when you use the impact analysis feature.

If you import a REST service for which registry entries already exist (for example, from a previous import), the existing set of entries is extended as appropriate. Thus, for example, if you had previously imported a REST service, and now you import the REST service again with an additional REST service operation in the XML Schema file, a new Operation object will be added to the existing set of entries for the REST service in the registry.

Registry and Repository Entries for a REST Service

The registry entries created are summarized in the following diagram:

graphics/RESTServiceImportObjects.png

The registry entries are as follows:

The repository entries are as follows:

A schema file can be spread across several physical files that contain IMPORT statements to refer to each other. Also, a schema file can contain a WSDL 2.0 representation, which can also be spread across several physical files. In such cases, each of the schema and WSDL files is stored in the repository, and appropriate references are created in the registry as follows:

If the importer detects an equivalent service within CentraSite during the import of a REST service, the import dialog will prompt you to specify either Overwrite latest version or Create new version.

You can also choose the option Interactive resolution of Import/Includes, which will allow you to specify how an already existing imported/included file is handled. For each of the imported/included files you have one of these options:

webMethods IS REST Services

You can define webMethods Integration Server (IS) REST services in CentraSite by using the webM REST Publish action. You use this action in the pre-defined webM REST Publish policy to automatically create a webMethods IS REST Service in CentraSite. The service is created using the webMethods IS Service Interface object that is published by the webMethods Designer during any of the following events:

Important:
To implement the capability to create webMethods IS REST Services in CentraSite, you must activate the webM REST Publish policy manually.

For more information about using the webM REST Publish action, see the document Built-In Actions for Design/Change-Time Policies.

Permissions required for performing the import

Additionally, when importing an XML Schema that refers to other XML Schemas, keep the following points in mind:

How to Import a REST Service

Before you begin, you must have the XML Schema file that you want to import. This file can reside on the file system of the computer where your browser is running, or it can reside anywhere on the network, as long as its location is addressable via a URL.

Start of instruction setTo import a REST service asset to the catalog

  1. In CentraSite Control, go to Asset Catalog > Browse.

  2. Click the Import icon to open the Import dialog.

  3. In panel 1, specify the following attributes:

    In this field... Do the following...
    Organization Choose the organization to which the asset will be added. (The drop-down list will contain the list of organizations to which you are permitted to add assets.) If you select an organization other than your own organization, you will nevertheless be the owner of the asset.

    Note:
    Choose the organization with care. You cannot change the organization assignment after the asset is added to the catalog. You can, however, export an asset from one organization and import it to another.

    Import as Choose REST Service.
    Name Enter a name for the asset. An asset name can contain any character (including spaces).
    Initial Version

    Optional. Enter an identifier for the initial version of the asset. This is the user-defined version, as opposed to the automatically assigned system version. You can enter any string in this field, i.e. the version identifier does not need to be numeric. You can also leave the field blank. You can later create new versions of the asset (see Versioning an Asset).

    If the versioning feature is disabled for this asset type, the field is nevertheless displayed, thus allowing you to assign an identifier for this first version.

    If the import of the asset also causes other related objects to be imported (for example, if the schema definition for a REST service includes references to other schema definition files), the initial version is only assigned to the main asset identified in this dialog, and the initial version of the other imported objects is not assigned.

    Endpoint Enter the service endpoint URL in a valid format.
    HTTP Method Choose the HTTP request method(s) for bridging the protocols (e.g., GET, POST, PUT, DELETE).
  4. Click Next.

  5. In panel 2, specify the following attributes to associate schema(s) for this service.

    In this field... Do the following...
    Import from Specify whether the input file will be read from a URL-addressable location on the network (the URL option) or from your local file system (the File option).
    URL or File

    If the file you are importing resides on the network, specify its URL.

    If the file resides in your local file system, specify the file name. You can use the Browse button to navigate to the required folder.

    If you want to specify multiple schemas, use the plus button to add additional rows.

    URL Authentication

    If you have specified a URL, and the site you want to access via the URL requires user authentication, check this box. This opens an Authentication sub-dialog in which you can enter a username and password for authentication at the URL site.

    Overwrite existing imported schema files This option determines how referenced schemas are handled when the schema that is referred to already exists in the registry. When this option is enabled, the existing schemas in the registry are replaced with the new ones specified by the input schema file(s). When this option is disabled, the importer simply refers to the schema that already exists in the registry.
  6. Click Finish.

    Be aware that if the XML schema file references another asset, CentraSite will automatically check whether the referenced asset exists in the catalog. If not, CentraSite will attempt to locate the required file and add it to the catalog. If CentraSite cannot locate the file, it will prompt you for the file's location.

    CentraSite retrieves the specified file and generates the catalog entry. The REST service asset’s details page is displayed.

  7. During import of a REST service asset, CentraSite will not allow you to add the service to the asset catalog unless you have specified all "required" attributes in the REST Service type definition and all referenced objects to which the XML file has an association. The value for the "required" attribute must be specified in the REST service's profile. Additionally, if the REST service asset has internally referenced objects, the value for the "required" attributes of all such referenced objects should be specified by choosing the Next button at the top right side of the details page in order to add the REST service to the asset catalog. Thus, for example, if the XML schema file that is referenced in the main XML file have "required" attributes, then you will be prompted to specify a value for the required attributes in order to save the asset.

  8. After you specify the value for all of the required attributes, click Save to save the REST Service asset.

  9. Review the import log that CentraSite generates for the import process. If errors occur while reading and processing the file, they will be reported in this log.

  10. Configure the asset's extended attributes as described in Editing an Asset in the Catalog.

Restrictions for REST Services

The following restrictions apply for REST services:

Importing BPEL Files

The BPEL Process importer copies a BPEL file to the repository, and creates a set of objects in the registry that represent the BPEL process definition.

The entries created are summarized in the following diagram:

graphics/bpelimport.png

The registry objects are as follows:

The Service, Interface and BPEL Partner Link Type objects are objects that already exist from a previous import of a Web service.

Additionally, when importing a BPEL asset that refers to other XML Schemas, keep the following points in mind:

Start of instruction setTo import a new BPEL asset to the catalog

Before you begin, you must have the BPEL file that you want to import. This file must reside on the file system of the computer where your browser is running.

  1. In CentraSite Control, go to Asset Catalog > Browse.

  2. Click the Import icon.

  3. In the Import dialog, specify the following attributes:

    In this field... Do the following...
    Organization Choose the organization to which the asset will be added. (The drop-down list will contain the list of organizations to which you are permitted to add assets.) If you select an organization other than your own organization, you will nevertheless be the owner of the asset.

    Note:
    Choose the organization with care. You cannot change the organization assignment after the asset is added to the catalog. You can, however, export an asset from one organization and import it to another.

    Import as Choose BPEL.
    Initial Version

    Optional. Enter an identifier for the initial version of the asset. See the description of the import dialog for Web service described above in the section Importing Web Services for details of usage.

    File The input file's fully qualified name.
    Product

    Optional. This option allows the user to assign a category from the Products taxonomy to the BPEL asset.

  4. Click Finish.

    Be aware that if the BPEL file references another asset, CentraSite will automatically check whether the referenced asset exists in the catalog. If not, CentraSite will attempt to locate the required file and add it to the catalog. If CentraSite cannot locate the file, it will prompt you for the file's location.

    CentraSite retrieves the specified file and generates the catalog entry. The BPEL asset’s details page is displayed.

  5. During import of a BPEL process asset, CentraSite will not allow you to add the asset to the asset catalog unless you have specified all "required" attributes in the BPEL process type definition and all referenced objects to which the BPEL file has an association. The value for the "required" attribute must be specified in the BPEL asset's profile. Additionally, if the BPEL asset has internally referenced objects, the value for the "required" attributes of all such referenced objects should be specified by choosing the Next button at the top right side of the details page in order to add the BPEL process asset to the asset catalog. Thus, for example, if the XML schema file that is referenced in the main XML file have "required" attributes, then you will be prompted to specify a value for the required attributes in order to save the asset.

  6. After you specify the value for all of the required attributes, click Save to save the BPEL asset.

  7. Review the import log that CentraSite generates for the import process. If errors occur while reading and processing the file, they will be reported in this log.

  8. Configure the asset's extended attributes as described in Editing an Asset in the Catalog.

Importing XPDL Files

The XML Process Definition Language (XPDL) is a standard language that is used to represent workflow and business processes. It is generally used to exchange process definitions between different business processing systems. CentraSite provides an importer for XPDL files. This importer reads an XPDL 2.x file and adds the process that it defines to the registry as a Process object. It stores the XPDL file itself in CentraSite's repository.

What Happens When You Import an XPDL File?

The following diagram illustrates the registry and repository items that the importer generates when it imports an XPDL file.

graphics/fig_XPDLImportObjects.png

The following registry objects and repository items are created by the import of an XPDL file:

If the process in the XPDL file has a workflow Id that matches the UniqueID attribute of a Process object that already exists in the registry, the importer will handle the import in the following way:

The Lifecycle Model for a Process Object

CentraSite is installed with a predefined lifecycle model for Process objects. If you want to apply lifecycle governance to the Process objects in your registry, you can use the predefined lifecycle provided by CentraSite or you can define a custom lifecycle. If you want to use the predefined lifecycle model, you must activate it first. (It is installed in the inactive state.) You may customize the predefined lifecycle as you choose.

For more information about working with lifecycle models, see the document Customizing Lifecycle Management.

How to Import an XPDL File

Use the following procedure to import an XPDL file into CentraSite.

Note:
If you are using ARIS Architect to create process definitions to share with webMethods BPMS, do not use this procedure to add them to the registry. Use the publishing tools provided with ARIS Architect instead. Using the ARIS Architect ensures that the appropriate metadata is included in the Process object.

Start of instruction setTo import an XPDL File

Before you begin, you must have the XPDL file that you want to import. This file must reside on the file system of the computer where your browser is running.

  1. In CentraSite Control, go to Asset Catalog > Browse.

  2. Click the Import icon.

  3. In the Import dialog, specify the following attributes:

    In this field... Do the following...
    Organization Choose the organization to which the asset will be added. (The drop-down list will contain the list of organizations to which you are permitted to add assets.) If you select an organization other than your own organization, you will nevertheless be the owner of the asset.

    Note:
    Choose the organization with care. You cannot easily change the organization assignment after the asset is added to the catalog. Only an administrator can do this.

    Import as Choose XPDL.
    Initial Version

    Optional. Enter an identifier for the initial version of the asset. For information about version identifiers, see the description of the Initial Version field provided in the Importing Web Services section.

    File The fully qualified name of the XPDL file that you want to import.
    Product Optional. The product with which this XPDL file is associated.
  4. Click Finish.

    Be aware that if the XPDL file references another asset, CentraSite will automatically check whether the referenced asset exists in the catalog. If not, CentraSite will attempt to locate the required file and add it to the catalog. If CentraSite cannot locate the file, it will prompt you for the file's location.

    CentraSite retrieves the specified file and generates the catalog entry. The XPDL asset’s details page is displayed.

  5. During import of an XPDL asset, CentraSite will not allow you to add the asset to the asset catalog unless you have specified all "required" attributes in the XPDL type definition and all referenced objects to which the XPDL file has an association. The value for the "required" attribute must be specified in the XPDL asset's profile. Additionally, if the XPDL asset has internally referenced objects, the value for the "required" attributes of all such referenced objects should be specified by choosing the Next button at the top right side of the details page in order to add the XPDL asset to the asset catalog. Thus, for example, if the XML schema file that is referenced in the main XML file have "required" attributes, then you will be prompted to specify a value for the required attributes in order to save the asset.

  6. After you specify the value for all of the required attributes, click Save to save the XPDL asset.

  7. Review the import log that CentraSite generates for the import process. If errors occur while reading and processing the XPDL file, they will be reported in this log.

  8. Configure the process model's additional attributes as necessary. For information about setting attributes for an asset, see Editing an Asset in the Catalog.

Importing Archived Assets

The Export and Import features of CentraSite allow you to export a set of assets and other objects from a source CentraSite registry to an archive file on the file system, then to import the contents of the archive file to a target CentraSite registry. The target registry can be the same registry as the source registry.

The Export and Import features are described in detail in the document Importing/Exporting Registry Objects.

Top of page

Adding an Asset to the Catalog From Scratch

Some asset types, such as Application Servers, do not have importers. To add this type of asset to the catalog, you must define it from scratch, meaning that you must create the asset and set its attributes manually.

Note that CentraSite allows you to add any type of asset to the catalog manually, even those that you can create using importers. Be aware, however, that you might not be able to manually set all of the attributes for these types of assets. Certain attributes can only be set by an importer. For example, CentraSite allows you to add a Web service to the catalog from scratch, but attributes such as the list of operations and the service endpoints cannot be specified manually. To set these attributes, you must attach the WSDL file to the catalog entry using the Attach WSDL command in the asset's Actions menu. Similarly, CentraSite allows you to add a REST service or an XML service to the catalog from scratch, but attributes such as the HTTP methods, content type and service endpoints cannot be specified manually. To set these attributes, you must specify the HTTP methods, content type and schema files to the catalog entry using the Add resource command in the asset's Technical Details profile.

Start of instruction setTo add a new asset to the catalog from scratch

  1. In CentraSite Control, go to Asset Catalog > Browse.

  2. Click the Add Asset button.

  3. In the Add Asset dialog, specify the following attributes:

    In this field... Do the following...
    Type

    Choose the type of asset that you want to add to the catalog. All top-level asset types are shown in the drop-down list. The asset types that are supported out-of-the-box are: Application, Web service, REST service, XML Service, BPEL Process, XML Schema, Virtualized Services etc.).

    (For information about creating and managing virtual services, see the document Working with Virtualized Services.)

    Name

    Enter a name for the asset. An asset name can contain any character (including spaces).

    An asset name does not need to be unique within the catalog. However, to reduce ambiguity, you should avoid giving multiple assets of the same type the same name. As a best practice, we recommend that you adopt appropriate naming conventions to ensure that assets are distinctly named within an organization.

    Description Optional. Enter a comment or descriptive information about the new asset.
    Organization Choose the organization to which the asset will be added. (The drop-down list will contain the list of organizations to which you are permitted to add assets.) If you select an organization other than your own organization, you will nevertheless be the owner of the asset.

    Note:
    Choose the organization with care. You cannot change the organization assignment after the asset is added to the catalog. You can, however, export an asset from one organization and import it to another.

    Initial Version

    Optional. Enter an identifier for the initial version of the asset. The version identifier does not need to be numeric. You can later create new versions of the asset (see Versioning an Asset).

    If the versioning feature is disabled for an asset type, the field is nevertheless displayed, thus allowing you to assign an identifier for this first version.

  4. Click OK

  5. Configure the asset's extended attributes as described in Editing an Asset in the Catalog.

Top of page