Show TOC

Exposing a Decision Table as a Web ServiceLocate this document in the navigation structure

Context

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 Start of the navigation path Web Service Next navigation step Create WSDL Artifact End of the navigation path.
  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 Start of the navigation path src Next navigation step brms Next navigation step ws End of the navigation path.

  9. Deploy the rules composer DC.

    More information: Deploying Rules