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. How to generate service for SAP BRMS directly in the Rules Project Part 1

Example 2 : Importing WSDL file in the rules project.


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


  1. How to Import the WSDL flie inside BRMS.
  2. How to use the WSDL 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 WSDL flie inside BRMS.

  1. Find the WSDL File.The Example WSDL Looks as shown Bellow:/wp-content/uploads/2014/05/1_767439.png/wp-content/uploads/2014/05/1_767439.png
  2. The Test WSDL Code looks as Shared. https://www.dropbox.com/s/fcg2rgonu1qpgly/BRMS_Test.wsdl?dl=0
  3. Copy The WSDL File and Past it on Desktop so that it can be imported into BRMS Project easily.
  4. Open the BRMS Project Right Click on the WSDL Folder. Select  Import                             /wp-content/uploads/2014/05/1_767439.png
  5. Search For WSDL, Select it Click on Next.                                                                                     /wp-content/uploads/2014/05/1_767439.png
  6. Select the Remort Location/ File System Option. Click on Next. Search For the File on desktop, click on Finish. /wp-content/uploads/2014/05/1_767439.png/wp-content/uploads/2014/05/1_767439.png/wp-content/uploads/2014/05/1_767439.png/wp-content/uploads/2014/05/1_767439.png

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

  1. Open the Project Resources, Go to Aliases Tab/wp-content/uploads/2014/05/1_767439.png
  2. Click on Add, Select the XSD Element, Click on the Added XSD, Click on Finish                ./wp-content/uploads/2014/05/1_767439.png/wp-content/uploads/2014/05/1_767439.png/wp-content/uploads/2014/05/1_767439.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_767439.png/wp-content/uploads/2014/05/1_767439.png/wp-content/uploads/2014/05/1_767439.png/wp-content/uploads/2014/05/1_767439.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_767439.png
  2. Enter the rules as required and evaluate the Decision Table.     /wp-content/uploads/2014/05/1_767439.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_767439.png/wp-content/uploads/2014/05/1_767439.png/wp-content/uploads/2014/05/1_767439.png/wp-content/uploads/2014/05/1_767439.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_767439.png/wp-content/uploads/2014/05/1_767439.png/wp-content/uploads/2014/05/1_767439.png/wp-content/uploads/2014/05/1_767439.png
To report this post you need to login first.

Be the first to leave a comment

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

Leave a Reply