Show TOC

Procedure documentationExposing a Decision Table as a Web Service Locate this document in the navigation structure

 

You can expose a decision table of a reusable ruleset as a Web service. Therefore, you need not always use the if-then rule to execute the decision table but execute the decision table independently from any system.

Procedure

  1. In the Project Explorer view, expand the rules composer DC node.

  2. Expand the Rules Modeling node.

  3. Select the required decision table from a Reusable Ruleset.

  4. From the context menu of the decision table, choose   Web Service   Create WSDL Artifact  .

  5. In the dialog box that appears, change the service name, port name, and operation name, if required.

  6. Choose Next.

  7. Select the input and output schemas for the Web service.

  8. Choose Finish.

    The system creates a Web service file (<ruleset name>-<decision table name>.csdl) for the decision table under the folder location   src   brms   ws  .

  9. Deploy the rules composer DC.

    More information: Deploying Rules