Enterprise Integration Patterns with BizTalk Server

weixin_34304013發表於2007-05-09

<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />Enterprise Integration Patterns with BizTalk Server <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 


本書以一個完整的
Loan Broker 示例來演示BizTalk整合模式。Loan Broker負責接收Customer的貸款請求,並根據Customer提供的SSNID)諮詢Credit機構,獲取CustomerCredit ScoreCredit History Length(信用度和信用資歷),下一步將Customer貸款請求傳送給合適的Bank,獲取Bank返回的確認資訊(如貸款拒絕、貸款利率、貸款期限等等)。

 

首先,本書在引用物件導向設計領域的設計模式基礎上,介紹了通用的企業整合模式(Enterprise Integration Patterns),如Content Enricher PatternRecipient List PatternAggregator Pattern等等。

 

如下是Loan Broker Solution的架構圖:




LoanBrokerSolutionArchitecture.JPG

 

然後,基於BizTalk Server 2004逐步實現Loan Broker Solution。不過,該範例假定讀者瞭解BizTalk的基本概念和熟悉BizTalk開發環境。

 

Loan Broker Solution演示瞭如下一些BizTalk 相關的技術:

1. BizTalk Orchestration 釋出為 Web service

 -- Credit Bureau Web Service

2. Orchestration中呼叫Web services

-- Orchestration Web Service & C# Asp.Net Web Service

3. 各種Enterprise Integration Patterns with BizTalk

 -- Content Enricher PatternRecipient List PatternAggregator Pattern等等

4. Orchestraton中呼叫 C# Class

-- BestBankQuoteMsg = QuoteAggregator.GetResultMessage();

呼叫BankQuoteAggregator.GetResultMessage() 方法,返回XmlDocument物件,該XML document 例項 遵守BestBankQuote Schema

 

Loan Broker Orchestration:


LoanBrokerOrchestration.JPG

Test client執行介面:


LoanBroker_TestClient.JPG

 

.......


 

相關文章