Book Image

(MCTS) Microsoft BizTalk Server (70-595) Certification and Assessment Guide: Second Edition

Book Image

(MCTS) Microsoft BizTalk Server (70-595) Certification and Assessment Guide: Second Edition

Overview of this book

Table of Contents (20 chapters)
(MCTS) Microsoft BizTalk Server (70-595) Certification and Assessment Guide Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Business Rules Engine


The Business Rules Engine is an engine used for controlling and maintaining rules for both BizTalk and other applications. It is mainly used for ever changing rules that need to be deployed without having to alter an existing BizTalk (or .NET) application.

Creating a BizTalk Solution with rules

In the following example, we will create a small BizTalk Solution and have it call rules inside the BRE, and based on the rules and content of messages, either approve or deny a loan application.

The first step will be to add a Policy determining if a loan application is approved.

We will need a Schema that represents the loan application entering BizTalk and the BRE.

Creating a Schema

To create a Schema, you will need to complete the following steps:

  1. Create a Solution named Chapter08.Example01.

  2. Create a Project named Chapter08.Example01.Schemas and a Schema named LoanApp.xsd.

  3. Make the Schema look similar to the following screenshot, set the Data Type of LoanAmount to xs:int, and make...