Skip to Content

This guide provides instructions on how to generate service for SAP BRMS directly in the rules Project.

Applies to:


This Document Holds good for all CE 7.3 SPXX. This method can also be used for Older version of CE (CE7.2 on-wards) with some difference in contend .


Summary:

This guide describes step-by-step how to return single value from Decision Table.To Explain this we are using 2 Examples to explain how to generate service for SAP BRMS directly in the rules Project.


Example 1 : Importing XSD file in the rules project.

Example 2 : Importing WSDL file in the rules project. How to generate service for SAP BRMS directly in the Rules Project Part 2


We will be discussing following points in detail in this document –


  1. How to Import the XSD flie inside BRMS.
  2. How to use the XSD file inside BRMS.
  3. How to Design the Decision Table .
  4. How to Create the Rule.
  5. How to generate the Service.
  6. How to test the rules service.

Step 1 : How to Import the XSD flie inside BRMS.

  1. Find the XSD File.The Example XSD Looks as shown Bellow:/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png
  2. Copy The XSD File and Past it on Desktop so that it can be imported into BRMS Project easily.
  3. Open the BRMS Project Right Click on the WSDL Folder. Select Import          /wp-content/uploads/2014/05/1_762322.png
  4. Search For XSD, Select it Click on Next.                                                        /wp-content/uploads/2014/05/1_762322.png
  5. Click On Next for Output Floder, Click on Browse for searching the XSD File which is kept on the Desktop/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png

Step 2 : How to use the XSD file inside BRMS.

  1. Open the Project Resources, Go to Aliases Tab/wp-content/uploads/2014/05/1_762322.png
  2. Click on Add, Select the XSD Element, Click on the Added XSD, Click on Finish                ./wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png

Step 3 : How to Design the Decision Table .

  1. Create A new Rules Set
  2. Create a new Decision Table by using the XSD Elements Added./wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png

Step 4 : How to Create the Rule .

  1. Create A new Rules. Give it an appropriate name and click on OK. /wp-content/uploads/2014/05/1_762322.png
  2. Enter the rules as required and evaluate the Decision Table.                                         /wp-content/uploads/2014/05/1_762322.png

Step 5 : How to generate the Service.

  1. Right Click on the rules set. Web Service Option -> Create WSDL Artifact. /wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png

Step 6 : How to test the rules service.

  1. Deploy the BRMS Project(DC).
  2. Open the Web-service Navigator search for the service using the given Port name./wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png/wp-content/uploads/2014/05/1_762322.png
To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply