Siebel Order Management Infrastructure Guide > Variable Maps > Using Variable Maps >

Using the Business Service Source Type to Populate Variables


The Business Service source type allows you to invoke a business service to populate:

  • One or more variables
  • A child property set of the current row

To invoke a business service to populate variables

  1. In the Variable Sources list, set the following fields:

    Source Type = "Business Service"
    Path = [BusSvcName]/[BusSvcMethod]

  2. In the Variable Source Parameters list:
    1. Add variable source parameters for each input argument. The variable source parameters can be a literal string or another variable value.
    2. Add variable source parameters for each output argument, and specify which variable to populate.

Use the following procedure to invoke a business service to populate a child property set of the current row.

To invoke a business service to populate a child property set of the current row

  1. In the Variable Definitions list, set Type (the variable type) to Property Set.
  2. In the Variable Sources list, set the following fields:

    Source Type = "Business Service"
    Path = [BusSvcName]/[BusSvcMethod]

  3. In the Variable Source Parameters list:
    1. Add variable source parameters for each input argument. The variable source parameters can be a literal string or another variable value.
    2. Add variable source parameters for each output argument and specify which variable to populate.

Use the following procedure to populate multiple variables or child variable maps in a single method invocation.

To populate multiple variables or child variable maps in a single method invocation

  • Specify the Source and the In/Out parameters under a single variable.

    Other variables should have only a definition, no source. This reduces the burden on the Context Service because a separate call to the business service will be issued if there is a second variable having the same business service source.

    NOTE:  It is recommended that you compare the source and source parameters from different variables to determine whether to consolidate. If the values of all these variables can be obtained through a single call to the business service, combine them and only specify the business service/method as a source under one variable. Otherwise, the same call will be issued multiple times, giving the same result each time.

Siebel Order Management Infrastructure Guide Copyright © 2008, Oracle and/or its affiliates. All rights reserved. Legal Notices.