Defining Service Deployments

Overview of Defining Service Deployments

You create service deployments for applications to deploy and access SAS Foundation Services. Applications deploy service deployments by using the service deployment name that is configured in a SAS Metadata Repository or XML file. To understand the components of service deployments, see Understanding Service Deployments.
To create a service deployment:
  1. Create a service deployment.
  2. Create service deployment groups for your service deployment.
  3. Create services within each service deployment group.
  4. For services that can be accessed remotely, create a service registry and associated named services.

Step 1: Create a Service Deployment

To create a service deployment by using the Foundation Services Manager, perform the following steps:
  1. Open SAS Management Console and connect to a metadata repository.
  2. In the navigation tree, select Foundation Services Manager and then select Actionsthen selectNew Service Deployment from the main menu. The New Service Deployment window appears.
  3. Enter a name and an optional description, and then click Next.
  4. (Optional) Specify name and value pairs that can be used to look up services.
  5. Click Finish to define the service deployment.

Step 2: Create Service Deployment Groups

To create service deployment groups, perform the following steps:
  1. In the SAS Management Console navigation tree, select the service deployment in which you want to create a new service deployment group. Select Actionsthen selectNew Service Development Group. The New Service Deployment Group window appears.
  2. Enter a name and an optional description, and then click Next.
  3. (Optional) Specify name and value pairs that can be used to look up services. Click Next.
  4. Click Finish to create the new service deployment group.
After you create the deployment group, you can select the deployment group and do one of the following:
  • For local service deployments, create new services within that service deployment group
  • For remote service deployments, create the services registry within that service deployment group.

Step 3: Create a Service

If a service is dependent upon other services, you must define those services before defining the service that depends on them. For details about service dependencies and order of definition, see Service Dependencies.
To create a new service, perform the following steps:
  1. Open SAS Management Console and connect to a metadata repository.
  2. In the navigation tree, locate and select the service deployment group where you want to create a new service. Select Actionsthen selectNew Service. The New Service wizard appears.
  3. Select a service to use as a prototype. Click Next.
  4. Enter a name and an optional description, and then click Next.
  5. The service interfaces that are associated with the selected service are displayed. Click Next.
  6. If the service has customizable configuration data, then click Configuration to supply the configuration information. For details, see Overview of Modifying Service Configurations.
    When you have finished editing the service configuration, click Next.
  7. (Optional) To make this service a remote service, select the Enable remote clients to access service capabilities check box and then click Service Names. The Service Names window appears.
    To create a named service, perform the following steps:
    1. Click New to create a new named service.
    2. Enter the name and an optional description. Click Next.
    3. In the New Named Service wizard, enter the name of the binding and then select the type of binding (bind or rebind). If you are creating a new named service for a service registry, click Select to select the named component that is associated with this named service.
      If you want to associate the named service with a service registry, then move that service registry from the Available pane to the Used pane.
      Click Next.
    4. Review the named service definition, and then click Finish to save the named service definition and return to the Service Names window.
    5. When you have finished creating named services, click OK.
    6. Click Next.
  8. Select the services that your new service requires. Click Next.
  9. (Optional) Specify name and value pairs that can be used to look up services. Click Next.
  10. Select the services that your new service requires by moving the services from the Available Services pane to the Required Services pane. For more information about service dependencies, see Service Dependencies.
    Click Next.
  11. Review the service definition, and then click Finish to save the new service.
You can create additional services for your service deployment. If the service is enabled for remote access, you must create a new service registry.

Step 4: Create a Service Registry and Named Services

To create a service registry and named services, perform the following steps:
  1. Open SAS Management Console and connect to a metadata repository.
  2. In the navigation tree, locate and select the service deployment group where you want to create a new service registry. Select Actionsthen selectNew Service Registry from the main menu. The New Service Registry wizard appears.
  3. Select the type of service registry that you want to define. Click Next. The New Service Registry wizard appears.
  4. Enter a name and an optional description, and then click Next.
  5. The service interfaces that are satisfied by this definition of a service registry are displayed. Click Next.
  6. Specify the host name and port number that is used to bind to the service registry. Click Next.
  7. If you have not already defined the appropriate remote accessible service, then perform the following steps to define named services:
    1. Click New to define a new named service. The New Named Service wizard appears.
    2. Enter a name and an optional description, and then click Next.
    3. Enter the name of the binding and select the type of binding (bind or rebind). Click Select to select the named component that is associated with this named service. Click Next.
    4. Review the named service definition, and then click Finish to save the named service and return to the New Service Registry wizard.
    When you are finished creating new named services, click Next.
  8. Review the service registry definition, and then click Finish to create the service registry.
After you create the service registry, you can select the service deployment group for the registry and create the services, including the named services associated with the service registry.