Building the solution
In this solution, we will be constructing a Message Bus pattern for processing Purchase Orders using BizTalk Server 2010 and the ESB Toolkit. We are implementing a single message flow to illustrate an example of how the ESB functionality can be leveraged. Our system will be loosely coupled and will use WCF-BasicHttp and WCF-WSHttp as the transport adapters of choice.
We will use the WCFTestClient tool to initiate PO Requests, which will then be processed by BizTalk/ESB Server. Our BizTalk/ESB Server will query the inventory server and customer server to determine whether the items requested are in stock and the customer meets the required credit limit. The credit limit is fixed across all customers and will be implemented within BizTalk. Based on the information received, BizTalk will approve/reject the purchase order appropriately. The main components are illustrated in the following diagram :
Setup
Before you start, you will need to have a working machine or virtual...