BizTalk 2010 Recipes: A Problem-Solution Approach

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

BizTalk 2010 Recipes provides ready-made solutions to BizTalk Server 2010 developers. The recipes in the book save you the effort of developing your own solutions to common problems that have been solved many times over. The solutions demonstrate sound practice, the result of hard-earned wisdom by those who have gone before. Presented in a step-by-step format with clear code examples and explanations, the solutions in BizTalk 2010 Recipes help you take advantage of new features and deeper capabilities in BizTalk Server 2010. You’ll learn to provide rich mapping support, extended EDI and trading partner management capabilities, and to deploy the growing range of adapters for integrating with the different systems and technologies that you will encounter. Author Mark Beckner doesn’t overlook core functionality either. You’ll find recipes covering all the core areas: schemas, maps, orchestrations, messaging and more. BizTalk Server 2010 is Microsoft’s market-leading platform for orchestrating process flow across disparate applications. BizTalk 2010 Recipes is your key to unlocking the full power of that platform.

What you’ll learn

Automate business processes across different systems in your enterprise. Build, test, and deploy complex maps and schemas. Implement the Business Rules Engine (BRE). Develop Business Activity Monitoring (BAM) solutions. Manage Electronic Data Interchange (EDI) with Trading Partners. Monitor and troubleshoot automated processes.

Who this book is for

BizTalk 2010 Recipes is aimed at developers new to Microsoft BizTalk Server 2010. Experienced BizTalk developers will also find great value in the information around new functionality in the 2010 release such as that for mapping and for EDI trading partner management.  Those brand new to BizTalk will appreciate the clear examples of core functionality that help them understand how best to design and deploy BizTalk Server solutions.

Table of Contents

  1. What’s New in BizTalk Server 2010
  2. Document Schemas
  3. Document Mapping
  4. Messaging and Pipelines
  5. Orchestrations
  6. Adapters
  7. Business Rules Framework
  8. EDI Solutions
  9. Deployment
  10. Administration and Operations
  11. Business Activity Monitoring

Author(s): Mark Beckner
Series: Expert's Voice in BizTalk
Edition: 1
Publisher: Apress
Year: 2010

Language: English
Pages: 608

Prelim......Page 1
Contents at a Glance......Page 5
Contents......Page 6
Foreword......Page 12
About the Author......Page 13
About the Technical Reviewer......Page 14
Acknowledgments......Page 15
1û1. Using the Relevance Tree View......Page 16
Solution......Page 574
How It Works......Page 578
1û2. Navigating the Mapping Surface......Page 19
1û3. Correcting Errors in Functoids......Page 22
1û4. Indicating Matches in Maps......Page 23
1û5. Configuring Core Server Settings......Page 24
1û6. Transfering Files Using SFTP......Page 25
1û7. Accessing the EDI Version 5010 HIPAA Schemas......Page 26
1û8. Configuring EDI Trading Partners......Page 29
1û9. Zooming out on an Orchestration......Page 33
1û10. Installing BizTalk Server RFID 2010......Page 34
Document Schemas......Page 38
2û1. Creating Simple Document Schemas......Page 39
2û2. Creating a Schema Based on an Existing XML Document......Page 43
2û3. Creating Schema Namespaces......Page 44
2û4. Promoting Properties......Page 45
2û5. Creating Property Schemas......Page 50
2û6. Importing Schemas......Page 55
2û7. Referencing Schemas......Page 57
2û8. Creating Envelopes to Split Inbound Data......Page 59
2û9. Creating Complex Types......Page 66
2û10. Defining Regular Expressions......Page 69
2û11. Creating Flat File Schemas......Page 71
2û12. Creating Flat File Schemas via the Wizard......Page 75
2û13. Creating SOAP Header Schemas......Page 94
Document Mapping......Page 102
3û1. Creating Simple Maps......Page 103
3û2. Organizing Maps......Page 111
3û3. Adding and Configuring Mapping Constants......Page 113
3û4. Mapping Any Element Nodes......Page 117
3û5. Using the Value Mapping Functoids......Page 121
3û6. Using the Table Looping Functoid......Page 125
3û7. Using the Database Lookup Functoid......Page 131
Architecture Considerations......Page 135
Advanced Database Lookup Functoid Usage......Page 136
3û8. Seeding Cross-Reference Tables with ID Cross-References......Page 137
3û9. Seeding Cross-Reference Tables with Value CrossReferences......Page 141
3û10. Using the ID Cross-Reference Functoids......Page 143
3û11. Using the Value Cross-Reference Functoids......Page 146
3û12. Using the Looping Functoid......Page 148
3û13. Using the Iteration Functoid......Page 152
3û14. Creating a Custom Functoid......Page 156
3û15. Using the Date and Time Functoids......Page 160
3û16. Creating Functoid If-Then-Else Logic......Page 164
3û17. Calling Compiled Assemblies......Page 168
3û18. Using Inline C#......Page 173
3û19. Passing Orchestration Variables into Maps......Page 177
3û20. Using Inline XSLT......Page 183
3û21. Using XSLT Call Templates......Page 186
3û22. Using XSLT Group-By......Page 188
3û23. Using an External XSLT File for a Map......Page 191
3û24. Testing Maps......Page 193
3û25. Debugging a Map Using Visual Studio......Page 199
Messaging and Pipelines......Page 202
4û1. Configuring Receive Ports and Locations......Page 204
4û2. Configuring Send Ports......Page 206
4û3. Configuring Port Maps......Page 208
4û4. Using Send Port Groups......Page 210
4û5. Creating Validation Pipelines......Page 213
4û6. Creating Encryption Pipelines......Page 215
Send an Encrypted Message......Page 216
Receive an Encrypted Message......Page 219
4û7. Creating Flat File Send and Receive Pipelines......Page 222
4û8. Creating Custom Pipeline Components......Page 230
Design-Time Properties......Page 237
Implementation of the Four Pipeline Interfaces......Page 238
4û9. Handling Pipeline Errors......Page 243
4û10. Subscribing to Suspended Messages......Page 246
Orchestrations......Page 250
5û1. Receiving Messages......Page 251
5û2. Sending Messages......Page 258
5û3. Creating Multipart Messages......Page 261
5û4. Binding Orchestrations......Page 268
5û5. Configuring a Send Port at Runtime......Page 269
5û6. Creating Branching Logic in an Orchestration......Page 273
5û7. Receiving Multiple Message Formats in a Single Orchestration......Page 277
5û8. Calling External Assemblies......Page 281
5û9. Receiving Untyped Messages......Page 285
5û10. Using the Parallel Action Shape......Page 287
5û11. Using the Loop Shape......Page 288
5û12. Using the Transform Shape......Page 290
5û13. Using the Call Orchestration and Start Orchestration Shapes......Page 295
5û14. Configuring Basic Correlations......Page 297
5û15. Maintaining Message Order......Page 302
5û16. Configuring Parallel Convoys......Page 308
5û17. Using XPath Queries on Messages......Page 311
5û18. Using Nontransactional Orchestration Scopes......Page 312
5û19. Creating Atomic Scopes......Page 319
5û20. Using Long-Running Transactions......Page 324
5û21. Catching Exceptions Consistently......Page 326
5û22. Creating Role Links......Page 333
5û23. Calling Web Services......Page 338
5û24. Exposing an Orchestration as a Service......Page 342
5û25. Calling Pipelines from Within an Orchestration......Page 343
6û1. Configuring File Sends......Page 350
6û2. Configuring File Receives......Page 354
6û3. Configuring SMTP Send Ports......Page 359
6û4. Configuring MSMQ Sends......Page 365
MSMQ Send Options......Page 367
MSMQ Queue Name Formats......Page 374
6û5. Configuring MSMQ Receives......Page 371
MSMQ Receive Options......Page 372
6û6. Sending Updategrams......Page 375
Task 1: Create Supporting Artifacts......Page 388
Task 2: Create BizTalk Solution Artifacts......Page 390
Task 3: Create Physical BizTalk Ports......Page 393
Task 4: Test the Solution......Page 395
6û7. Calling Stored Procedures......Page 382
Stored Procedure Configuration......Page 396
Adapter Configuration......Page 397
6û9. Configuring HTTP Sends......Page 398
6û10. Configuring HTTP Receives......Page 402
6û11. Configuring SOAP Sends and Receives......Page 408
6û12. Creating Ports Through C# Applications......Page 410
7û1. Creating a Business Policy......Page 414
7û2. Creating and Testing Rules......Page 416
7û3. Creating Facts......Page 427
7û4. Setting Rule Priorities......Page 429
7û5. Creating Custom Fact Retrievers......Page 431
7û6. Calling the Business Rules Engine from .NET......Page 437
Executing a Policy......Page 439
Passing Data Connection Facts......Page 440
7û7. Calling the Business Rules Engine from an Orchestration......Page 441
7û8. Deploying and Undeploying Policies......Page 443
8û1. Adding an EDI Schema to a Project......Page 448
8û2. Creating an EDI Map......Page 450
8û3. Defining Complex Mappings in External XSLT......Page 451
8û4. Creating and Configuring a Trading Partner......Page 453
8û5. Configuring an EDI Envelope......Page 456
8û6. Configuring Automatic Acknowledgements......Page 459
8û7. Configuring EDI Validation with Pipelines......Page 461
8û8. Creating Custom EDI Pipelines......Page 462
8û9. Subscribing to EDI Promoted Properties......Page 465
How it Works......Page 466
9û1. Exporting Applications......Page 468
9û2. Importing Applications......Page 477
9û3. Manually Deploying Updates......Page 482
9û4. Deploying a BizTalk Solution from Visual Studio......Page 485
9û5. Enlisting and Starting Send Ports......Page 488
9û6. Enabling Receive Locations......Page 490
9û7. Enlisting and Starting Orchestrations......Page 492
Administration and Operations......Page 496
10û1. Troubleshooting Suspended Services......Page 497
10û2. Resubmitting Messages......Page 504
10û3. Managing BizTalk Applications......Page 507
10û4. Debugging Orchestrations......Page 513
10û5. Tracking Messages......Page 519
10û6. Restarting the BizTalk Host Instance(s)......Page 523
10û7. Throttle Orchestration Memory Usage......Page 524
10û8. Resuming Inbound Message Processing......Page 525
Business Activity Monitoring......Page 530
11û1. Creating BAM Activities and Views......Page 531
11û2. Deploying BAM Activities and Views......Page 547
11û3. Using the BAM Portal......Page 555
11û4. Setting Up BAM Alerts......Page 561
11û5. Using the BAM Interceptor......Page 566
11û6. Creating a BAM Service Request......Page 570
ª A......Page 584
ª B......Page 586
ª C......Page 588
ª D......Page 589
ª E......Page 591
ª F......Page 592
ª G......Page 593
ª L......Page 595
ª I......Page 594
ª N......Page 597
ª O......Page 598
ª P......Page 599
ª R......Page 601
ª S......Page 602
ª T......Page 604
ª U......Page 605
ª W......Page 606
ª Z......Page 607