Version 9.6
 —  Virtualized Services in CentraSite Control  —

Creating Virtualized Services

Generally speaking, you should ensure that the following conditions are satisfied before you create a virtualized service:

There are two ways to virtualize a service:


Creating a Virtualized Service from Scratch

You can create a virtualized Web Service, REST Service or XML Service from scratch, meaning you manually create the virtualized service and set its attributes.

Start of instruction setTo create a virtualized service 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

    The type of virtualized service that you want to create (i.e., Virtual Service, Virtual REST Service or Virtual XML Service).

    Name

    A name for the new virtualized service. Unlike native services, the names of virtualized services cannot contain spaces or special characters (except _ and -). Consequently, if you adopt a convention that involves using the name of the service as part of the virtualized service name, then the names of the services themselves must not contain characters that are invalid in virtualized service names.

    If you want to change the name of a virtual service later, make sure the service in undeployed, and then change the name in the service's detail page.

    Description

    Optional. A description for the virtualized service. This description appears when a user displays a list of virtualized services in the user interface.

    Organization

    Specify the organization to which this virtualized service will be added.

    Note:
    The Organization list contains the names of all organizations for which you have "Manage Assets" permission.

    If you select an organization other than your own organization, you will nevertheless be the owner of the virtualized service.

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

  4. Click OK. The virtualized service is added to the Asset Catalog. The asset’s details page is displayed.

    Important:
    During virtualization of an asset, CentraSite will not allow you to add the virtualized asset to the asset catalog unless you have specified all “required” attributes in the asset’s type definition and all referenced objects to which the asset has an association. The value for the “required” attribute and referenced object must be specified in the virtualized service’s profile in order to add the asset to the asset catalog.

  5. View or edit the virtualized service's profiles as described in Viewing or Editing the Profiles of Virtualized Services.

  6. Configure the virtualized service's processing steps as described in either Configuring SOAP-based Virtual Services or Configuring REST or XML Virtual Services.

Top of page

Virtualizing an Existing Service

You use the Virtualize option to virtualize an existing Web Service, REST Service or XML Service in CentraSite Control.

Start of instruction setTo virtualize an existing service

  1. In CentraSite Control, display the service for that you want to create a virtual copy. For procedures, see the section Using the Asset Catalog.

  2. On the asset detail page, click Actions and then select Virtualize.

    Important:
    Be aware that CentraSite will not allow you to virtualize a service if it does not contain an associated WSDL or schema file in the registry.

  3. In the Virtualize <name of the type> Service wizard, specify the following fields:

    In this field... Specify...
    Name

    A name for the new virtualized service. Unlike services, the names of virtualized services cannot contain spaces or special characters (except _ and -). Consequently, if you adopt a convention that involves using the name of the service as part of the virtualized service name, then the names of the services themselves must not contain characters that are invalid in virtualized service names.

    If you want to change the name of a virtual service later, make sure the service in undeployed, and then change the name in the service's detail page.

    Description

    Optional. A description for the virtualized service. This description appears when a user displays a list of virtualized services in the user interface.

    Organization

    Specify the organization to which this virtualized service will be added.

    Note:
    The Organization list contains the names of all organizations for which you have "Manage Assets" permission.

    If you select an organization other than your own organization, you will nevertheless be the owner of the virtualized service.

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

    Version

    Optional. A version identifier for the virtualized service. The version identifier is an optional attribute that you can increment when a service is modified to indicate that the service has been updated. You can use any versioning scheme you choose. The version identifier does not need to be numeric. This is the "public" version identifier that CentraSite Control shows to users when it displays the list of services.

    Examples:
      0.0a
      1.0.0 (beta)
      Pre-release 001
      V1-2007.04.30

    You can later create new versions of the virtual service (see the section Using the Asset Catalog).

    In addition, CentraSite automatically generates a system version number, which is visible on the virtualized service detail page. The system version number is independent from the version number you specify here. For more information, see the section Using the Asset Catalog.

    Create a Run-Time Policy

    Use this checkbox to specify the behavior for the run-time policy (or policies) associated with the virtualized service. If you select the checkbox, the run-time policy or policies associated with the virtualized service will be created automatically when the service is virtualized. If you do not select the checkbox, the run-time policy or policies will not be created when the service is virtualized.

    You can only select the checkbox if you have the "Manage Runtime Policies" organization-level permission; without this permission, the checkbox is deactivated.

  4. If you have attributes specified in the service for virtualizing, click Next to go to the attribute mapping dialog.

  5. In the Attributes dialog, choose the attributes of the service that you want to copy to the virtualized service.

    Notes:

    1. If you choose a parent attribute, by default all its child attributes are copied as well. You can de-select any child attribute.
    2. Similarly, if you de-select a parent attribute, all its child attributes are de-selected as well.
    3. Attributes defined as required in the asset’s type definition and all referenced objects to which the asset has an association will be internally copied from the asset to the virtualized service. These attributes will remain selected and disabled by default in the attribute mapping dialog.
  6. Click Finish.

    The virtualized service is created in the Asset Catalog and its detail page is displayed. The WSDL or XML interface and the entry/exit protocol (e.g., HTTP, HTTPS or JMS) will be identical to the service.

  7. View or edit the virtualized service's profiles as described in Viewing or Editing the Profiles of Virtualized Services.

  8. Configure the virtualized service's processing steps as described in either Configuring SOAP-based Virtual Services or Configuring REST or XML Virtual Services.

Restriction

Even if a Service asset type contains one or more custom profiles, a virtualized service of the asset type Service will never include any of these custom profiles in the catalog.

Top of page