EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.
-
Upload
quentin-milo-shepherd -
Category
Documents
-
view
215 -
download
0
description
Transcript of EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.
![Page 1: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/1.jpg)
EBZ306Advanced Business Process Automation Using BizTalk Server 2004
David FongProgram Manager
![Page 2: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/2.jpg)
Agenda
Scopes and TransactionsAtomicLong-RunningCompensation
CorrelationPartner Management
![Page 3: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/3.jpg)
Transactions
Sequence of operationsSequence of operations that acts that acts as a as a single logical unit of worksingle logical unit of work
Entire Orchestration as a TransactionScopes can be transactions
Atomic, Long-Running, Non-TransactionalAlso used for Exception Handling
Compensation
![Page 4: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/4.jpg)
Atomic Transactions
Scope is a single DTC TransactionA.C.I.D. PropertiesTransactional Resources enlist in txn
MSMQ, SQL – automatic rollbackAll transactional components will commit or abort as appropriate
.NET componentsNon-Serializable components must be in atomic transaction
![Page 5: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/5.jpg)
Atomic Transaction Properties
TimeoutRetryIsolation LevelSynchronized
![Page 6: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/6.jpg)
Long-Running Transactions
Business processes typically last longer than just a few secondsLocking approaches as used in Atomic transactions are too resource intensive to scale
![Page 7: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/7.jpg)
Nested TransactionsAtomic Transactions cannot nest transactionsLong-running Transactions can include a many levels of nesting Outer transaction is not automatically aborted when a inner transactions abortInner Transaction have a compensation
![Page 8: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/8.jpg)
Compensation Example
Atomic automatic rollbackAtomic automatic rollback
Atomic Txn 1 CompensationAtomic Txn 1 CompensationLong-Running TransactionLong-Running TransactionException ProcessException Process
![Page 9: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/9.jpg)
Transactions in Orchestration Designer
demodemo
![Page 10: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/10.jpg)
Correlation
Route an incoming message to it’s correct running instance.
Property PromotionCorrelation SetsInitializing Correlation SetsFollowing Correlation Sets
![Page 11: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/11.jpg)
BuyerBuyer My ComputerMy ComputerPartsParts
InventoryInventory
Scenario
Sales OrderSales Order
Inventory CheckInventory Check
Inventory AvailInventory AvailOrder StatusOrder Status
![Page 12: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/12.jpg)
Correlation
demodemo
![Page 13: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/13.jpg)
Partner Management
I need to ship I need to ship 5,000 parts to 5,000 parts to Boston. Who Boston. Who
can I use?can I use?
I am a shipper! I am a shipper! I can ship your I can ship your parts to your parts to your
customer.customer.
Service Link
I have a great I have a great international international reputation!reputation!
I may also need I may also need to ship parts to to ship parts to
the London the London assembly plant!assembly plant!
Service Link
![Page 14: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/14.jpg)
Service Link Types
Service link types define the set of interaction between business processesThey also define the role played by each partner
Terminology: ServiceLinkType and ServiceLink
![Page 15: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/15.jpg)
Identify roles and parties
Roleexample: Role= “Shipper”
PartyParty = “FedEx”Party = “UPS”Party = “DHL”Party = “USPS”
![Page 16: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/16.jpg)
Creating a role
![Page 17: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/17.jpg)
Creating Parties
example:Party = “FedEx”SendPort = http://www.fedex.com/partners/MyCo
Certificate = “1A90 F4C2 …”Alias = “FedEx”
![Page 18: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/18.jpg)
Orchestration with Roles
![Page 19: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/19.jpg)
Enlist parties into roles
![Page 20: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/20.jpg)
Custom logic to lookup a party
String shipperName = ExplorerOM.GetPreferredShipper();shipper(Microsoft.XLANGs.BaseTypes.DestinationParty) =
new Microsoft.XLANGs.BaseTypes.Party(shipperName, "Organization");
Orchestration Designer Expression
![Page 21: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/21.jpg)
Partner Management
demodemo
![Page 22: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/22.jpg)
Community Resources
Community Resourceshttp://www.microsoft.com/communities/default.mspx
Most Valuable Professional (MVP)http://www.mvp.support.microsoft.com/
NewsgroupsConverse online with Microsoft Newsgroups, including Worldwidehttp://www.microsoft.com/communities/newsgroups/default.mspx
User GroupsMeet and learn with your peershttp://www.microsoft.com/communities/usergroups/default.mspx
![Page 23: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/23.jpg)
evaluationsevaluations
![Page 24: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.](https://reader036.fdocuments.us/reader036/viewer/2022062504/5a4d1b697f8b9ab0599b2524/html5/thumbnails/24.jpg)
© 2003 Microsoft Corporation. All rights reserved.© 2003 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.