integration of a2a (application to application

18
Integration OF A2A (Application to Application) Integration OF A2A (Application to Application) ----- ----- Microsoft Microsoft BizTalk BizTalk Messaging Service Messaging Service實作 實作 ----- ----- 組員:簡嘉建 組員:簡嘉建 張柏年 張柏年 黃志偉 黃志偉

Upload: others

Post on 16-Apr-2022

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Integration OF A2A (Application to Application

Integration OF A2A (Application to Application)Integration OF A2A (Application to Application)---------- MicrosoftMicrosoft BizTalkBizTalk Messaging ServiceMessaging Service實作實作 ----------

組員:簡嘉建組員:簡嘉建張柏年張柏年黃志偉黃志偉

Page 2: Integration OF A2A (Application to Application

目標目標

ll 整合中的關鍵問題整合中的關鍵問題

ll XMLXML與與BizTalkBizTalk ServerServer如何協助整合應用程如何協助整合應用程式與商業流程式與商業流程

Page 3: Integration OF A2A (Application to Application

大綱大綱

ll 應用程式整合任務應用程式整合任務

ll Microsoft Microsoft BizTalkBizTalk Server 2000Server 2000解決方案解決方案ØØ 文件定義與格式轉換文件定義與格式轉換ØØ BizTalkBizTalk ServerServer與應用程式間的互動與應用程式間的互動ØØ BizTalkBizTalk ServerServer如何處理與繞送文件如何處理與繞送文件ØØ 實做實做ee--bookbook網站來建立網站來建立A2AA2A的溝通的溝通

Page 4: Integration OF A2A (Application to Application

1.1.企業間資料交換企業間資料交換 ((Data Data Exchange B2Bi)Exchange B2Bi)企業企業AA將內部所使用的應用系統將內部所使用的應用系統((如如ERPERP、、CRMCRM等等))或資料庫相關的資料先轉換成預先或資料庫相關的資料先轉換成預先定義好的定義好的XMLXML格式資料格式資料,,這些資料再透過這些資料再透過「資料轉換閑道「資料轉換閑道((Data Exchange Gateway )Data Exchange Gateway )傳送給對應的企業傳送給對應的企業BB 。。

企 業 A 企 業 B

資料轉換 資料轉換

ERP

CRM

DB

XML

XML

XML

資料交換閘道

ERP

DB

XML

XML

資料交換閘道

Page 5: Integration OF A2A (Application to Application

2.2.企業間應用程式的整合企業間應用程式的整合((Direct Direct Application B2Bi)Application B2Bi)整合仲介者整合仲介者((Integration Broker Integration Broker ,,即軟體廠即軟體廠商所提供的軟體系統商所提供的軟體系統))提供內建的轉接器提供內建的轉接器((Adapter),Adapter),以便和以便和APIAPI接駁接駁,,同時也負責資料同時也負責資料的轉換。的轉換。

企 業 A 企 業 B

應用程式A

應用程式B

應用程式C

應用程式D

轉接器

轉接器

轉接器

轉接器

資料轉換 資料轉換

整合仲介者

Page 6: Integration OF A2A (Application to Application

33..封閉式的企業間流程整合封閉式的企業間流程整合((Closed Process Integration B2Bi)Closed Process Integration B2Bi)

AA企業內部的事件企業內部的事件AA、、BB及及CC形成一個流程形成一個流程,,經經過「流程仲介過「流程仲介((Process Broker)Process Broker)」」後後,,整合整合BB企企業內部的事件業內部的事件AA、、BB及及CC 。。

企業A 企 業 B

事件A

事件B

事件C

流程仲介

事件A

事件C

事件B

Page 7: Integration OF A2A (Application to Application

4.4.開放式的企業間流程整合開放式的企業間流程整合((Open Open Process Integration B2Bi)Process Integration B2Bi)開放式的流程整合具有分享流程的觀念開放式的流程整合具有分享流程的觀念,,它視它視企業間的流程為點對點的夥伴關係企業間的流程為點對點的夥伴關係((Peer Peer Level ),Level ),每個企業都可以自行管理內部的流程每個企業都可以自行管理內部的流程,,但整體上又相互整合但整體上又相互整合 。。

事件A

事件C

內部流程

事件G

事件H

流程仲介 流程仲介

事件A

事件A

事件A

事件A

分享公眾流程

公眾流程 公眾流程

內部流程

Page 8: Integration OF A2A (Application to Application

BizTalkBizTalkServerServer

ERP ERP

CRMCRM

DatabaseDatabase

您的公司您的公司

顧客顧客

公司網站公司網站

訂單確認訂單確認

倉庫倉庫//物流中心物流中心

廠商廠商

製造中心製造中心

企業程序整合企業程序整合

Page 9: Integration OF A2A (Application to Application

應用程式間的整合應用程式間的整合((A2A Integration)A2A Integration)

Application AApplication A

Flat File:Flat File:Comma SeparatedComma Separated Flat File:Flat File:

PositionalPositionale.g., SAP IDOCe.g., SAP IDOC

DataDataMappingMappingProcessProcess

ApplicationApplication B: SAPB: SAP

Page 10: Integration OF A2A (Application to Application

VendorVendor

企業間的整合企業間的整合((B2B Integration)B2B Integration)

ApplicationApplication AA

InternetInternet / / VirtualVirtual PrivatePrivateNetworkNetwork

ApplicationApplication B: SAPB: SAP

Common InterchangeCommon InterchangeFormatFormat

MappingMapping

MappingMapping

SecuritySecurity

BuyerBuyer

TransportTransportRoutingRoutingAuditingAuditingWorkflowWorkflow

XMLXML

Page 11: Integration OF A2A (Application to Application

HTTPHTTPMSMQMSMQFILEFILESMTPSMTPDCOMDCOM

HTTPHTTPMSMQMSMQFILEFILESMTPSMTPDCOMDCOM

XMLXMLBizTalkBizTalkEDIEDISAP SAP IDocIDoc. . .. . .

XMLXMLBizTalkBizTalkEDIEDISAP SAP IDocIDoc. . .. . .BizTalkBizTalk Server GroupServer Group

ApplicationApplicationDesignerDesigner

SharedShared QQDatabaseDatabase

WebDAVWebDAV AdminAdminDatabaseDatabase

DocumentDocumentTrackingTracking

ManagementManagement DeskDeskEditorEditor MapperMapper AdministrationAdministration TrackingTracking

BizTalkBizTalk Server 2000Server 2000

Page 12: Integration OF A2A (Application to Application

Biztalk Biztalk 功能說明功能說明uu 企業程序整合架構剖析企業程序整合架構剖析

ØØ 內部應用程式與外部交易夥伴的整合內部應用程式與外部交易夥伴的整合

ØØ Orchestration ServiceOrchestration Service

ØØ Messaging ServiceMessaging Service

uu BizTalkBizTalk Server 2000Server 2000的訊息管理的訊息管理

ØØ 實例剖析實例剖析

ØØ 如何設定如何設定““OrganizationOrganization”” 與與 ““Document Document definitiondefinition””Port Port 的規劃與設定的規劃與設定

ØØ Channel Channel 的規劃與設定的規劃與設定

ØØ BizTalkBizTalk Server 2000 Server 2000 的網路安全機制的網路安全機制

Page 13: Integration OF A2A (Application to Application

架構架構

XMLXML

XMLXML

XMLXML

BizTalkBizTalk ServerServer

eBookeBook ePublisherePublisher

Page 14: Integration OF A2A (Application to Application

BizTalkBizTalk主要相關設定主要相關設定

XMLXML

BizTalkBizTalk ServerServerMessaging portsMessaging ports

<<Primary transportPrimary transport>>

ChannelsChannels

<<Inbound document definitionInbound document definition>>

<<Outbound document definitionOutbound document definition>>

<<Map Map inbound document to outbound documentinbound document to outbound document>>

Receive FunctionsReceive Functions

<<Polling locationPolling location>>

Page 15: Integration OF A2A (Application to Application

BizTalkBizTalk Editor Editor ---- InboundInbound<?xml version="1.0" encoding="BIG5" ?>

<orders>

<order>

<customerid>user</customerid>

<isbn>9578247206</isbn>

<title>Java Servlet Programming</title>

<price>700</price>

<quantity>1</quantity>

<amount>700</amount>

</order>

<total>700</total>

<orderdate>2001/12/26</orderdate>

</orders>

Page 16: Integration OF A2A (Application to Application

BizTalkBizTalk Editor Editor –– OutboundOutbound<?<?xmlxml version="1.0" encoding="BIG5" ?>version="1.0" encoding="BIG5" ?>

<orders <orders customeridcustomerid="user"="user">>

<order <order orderdateorderdate="2001/12/26"="2001/12/26">>

<isbn<isbn>9578247206<>9578247206</isbn/isbn>>

<title>Java <title>Java ServletServlet Programming</title>Programming</title>

<price>700</price><price>700</price>

<quantity>1</quantity><quantity>1</quantity>

<amount>700</amount><amount>700</amount>

</order></order>

<total>700</total><total>700</total>

</orders></orders>

Page 17: Integration OF A2A (Application to Application

BizTalk MapperBizTalk Mapper

Page 18: Integration OF A2A (Application to Application

DemoDemo