Software AG Products 10.7 | Using CentraSite | Asset Management | Managing Assets through CentraSite Business UI | Web Service Management | Adding Web Service using an Archive
 
Adding Web Service using an Archive
Pre-requisites:
To add a Web Service asset to an organization's asset catalog, you must belong to a role that has the Create Assets or Manage Assets permission for that organization.
Note:
By default, users with the CentraSite Administrator or Asset Administrator role have this permission.
Before you import a Web Service asset to the catalog, you must have the archive file (.zip file). This file must reside on the file system of the computer where your browser is running.
You can import a Web Service asset using the archive file (.zip file) to which the Web Service was previously exported. You can import Web Services into the same CentraSite registry from which they were originally exported or to a different CentraSite registry.
*To add a Web Service asset using importer
1. In the CentraSite Business UI activity bar, click Create Asset.
This opens the Create New Asset wizard. The bottom panel of the Create New Asset wizard displays the option to import an archive file.
2. To import an archive file, click Choose to navigate to the folder where the exported archive file of a Web Service asset resides, and select the file.
When you select a file to import, the fields in the area labeled Basic Information cannot be modified.
3. Click Next.
The Create New Asset wizard displays a list of the referenced objects for the Web Service to import.
4. The check box next to each referenced object indicates whether the object should be imported. By default, all objects displayed are included in the import set. To exclude any referenced object from the import set, clear the corresponding check box.
5. Click the Advanced Settings chevron to expand the additional options that are available for the Web Service asset. Provide values for each of the displayed options:
Option
Description
Change Owner
The imported Web Service can be assigned to the same owner as in the source CentraSite registry, or you can assign a new owner.
The Change Owner field is type-ahead field. As you type characters in this field, the dialog box lists the user names that match the characters you specify.
Change Organization
When you import a Web Service, you can import it into the same organization in the target CentraSite registry as in the source CentraSite registry from which they were exported, or you can assign a new organization.
The Change Organization field is type-ahead field. As you type characters in this field, the dialog box lists the organization names that match the characters you specify.
Retain lifecycle state
This option determines whether the lifecycle state of the imported Web Service is preserved. Enable the option to retain the lifecycle state of the Web Service which is imported.
Overwrite existing entities
This option specifies that an existing Web Service with the same uuid in the target CentraSite registry will be overwritten, even if the Web Service in the archive is older than the one in the target CentraSite registry. Enable the option to overwrite the existing Web Service.
Import groups that the user belongs to
This option determines that when you import a user, whether you want to import the groups that the user belongs to. This applies only to user-defined groups. System-defined groups are not imported. Enable the option to import the groups.
Ignore API keys and OAuth2 tokens
This option determines whether the API keys and OAuth2 tokens of the imported assets are to be imported into the target CentraSite registry. Enable the option to ignore the API keys and OAuth2 tokens during the import process.
6. Click Import to import the Web Service.
After the import operation completes, the import wizard informs you if the import was successful or if there were any errors and warnings.
7. Click Download Import Log to view the import logs.
The import log lists the status of all the objects stating whether they were successfully imported or if there were errors and warnings.
8. Click OK to terminate the import wizard.
A Web Service asset instance is created in the specified organization and registered with the CentraSite registry/repository. The details page for the Web Service asset that you just created is displayed.