About the Book
What you will learn from this book
Covers the core architecture of BizTalk, including publish/subscribe, context and content-based routing, receive and send ports and other administrative artifacts.
Create rich and useful schemas with restrictions and reusable types.
Create maps and apply logic such as conditional mapping, looping, scripting and external assemblies and other map and functoid logic.
Create orchestrations and work with messages, scopes, transactions, binding, correlation and other shapes and processing logic.
Handle exceptions in messaging and orchestration scenarios and recover from them using catch, compensation and failed message routing.
Perform administrative tasks such as installing, configuring, tuning, deploying, maintaining and troubleshooting BizTalk Server 2010 groups and solutions.
Work with Web Services and WCF, exposing and consuming services and applying custom configurations and behaviors.
Use the additional features in BizTalk, such as Business Rules Engine (BRE), EDI, RFID and Business Activity Monitoring (BAM).
In Detail
Microsoft BizTalk Server 2010 is an Integration and connectivity server solution that enables organizations to easily connect disparate systems. Developing Business Process and Integration Solutions by Using Microsoft BizTalk Server 2010 (70-595) is the certification exam for professionals who need to integrate multiple disparate systems, applications, and data as well as automate business processes by using BizTalk Server.
(MCTS): Microsoft BizTalk Server 2010 (70-595) Certification Guide will show you how to prepare for and pass the Microsoft BizTalk Server 2010 (70-595) exam and become a Microsoft Certified Technology Specialist (MCTS) in Microsoft BizTalk Server 2010.
Packed with practical examples and Q&As, (MCTS): Microsoft BizTalk Server 2010 (70-595) Certification Guide covers the keys skills in the exam and starts by showing you how to configure a Messaging Architecture. The book then dives into BizTalk Artifacts such as creating Schemas and Pipelines, creating Maps and creating Orchestrations. It then moves on to topics such as debugging and exception handling, deploying, tracking and administrating a BizTalk Server 2010 solution, integrating Web Services and Windows Communication Foundation (WCF) Services and implementing Extended Capabilities. Additional practical resources are also included that will enable you to approach the Microsoft BizTalk Server 2010 (70-595) exam with ease, including certification test taking tips and tricks and sample certification test questions.
Approach
This book is a hands-on certification guide with practical examples and Q&As to help BizTalk developers pass the Microsoft BizTalk Server 2010 (70-595) exam. Who this book is for
If you are an intermediate level BizTalk developer who wants to pass the Microsoft BizTalk Server 2010 (70-595) exam, then this book is for you. A working knowledge of fundamental BizTalk concepts around the core messaging engine and building business processes using orchestrations is assumed but not required. In addition, core knowledge of Windows Communication Foundation (WCF) and basic understanding of Electronic Data Interchange (EDI) is recommended.
About the Author
Johan Hedberg is based in Stockholm where he works as a consultant, solutions architect and certified trainer. His employer, Enfo Zystems, is one of the largest consultancy firms in Sweden and the Nordic region that’s solely dedicated to integration. Johan has over 10 years of experience architecting and developing enterprise grade solutions based on Microsoft technologies. He works closely with Microsoft through the Business Platform Technology Advisory and Virtual Technology Solution Professional programs, and with the community as a Microsoft Most Valuable Professional and one of the founders of the BizTalk User Group Sweden. He blogs at http://blogical.se/blogs/johan and can be found as @JoHed on Twitter.
Born in Regina, Saskatchewan, Canada, Kent Weare developed a love for ice hockey, football and technology. He attended the University of Regina where he obtained a Degree in Computer Science. After completing his undergrad degree, he spent time in India completing a Post Graduate diploma in Object Oriented Technology. He currently lives in Calgary, Alberta, Canada but remains a die-hard Saskatchewan Roughrider football fan. Kent began his career at a small Internet startup before taking on a junior roll with the Saskatchewan Government. Since then he has worked on projects for the Canadian Federal Government, a multi-national bank in the United States, Health Care projects in Eastern and Western Canada, and has spent the last five years employed by a large Electricity Distribution company in Calgary. Kent’s current responsibilities involve managing a Microsoft Solutions team that supports BizTalk, Exchange, Office Communication Server (OCS) and System Center. During Kent’s time at the Federal Government, he had an opportunity to participate in his first BizTalk project. Seven years later he is still “hooked” on BizTalk having worked with every BizTalk version released since. In 2008, Kent was awarded his first Microsoft MVP award for BizTalk Server. He continues to be active in the BizTalk community and recently received his fifth consecutive MVP award. Kent maintains active blogs at http://kentweare.blogspot.com and http://www.MiddlewareInTheCloud.com. He may also be seen presenting BizTalk-related material at local and international user groups.
Born in Denmark, Morten la Cour has worked with the MS BizTalk Server platform for seven years. Besides designing and developing Integration solution for customers, he has also worked on deployment and maintenance of BizTalk applications and BizTalk Server environments. He has taught several BizTalk Server courses both in development, deployment and management. Besides working with MS BizTalk Server, Morten has 13 years of experience on the Microsoft development platform, including the .NET Framework and SQL Server. Other experience includes: XML, XSLT, XPATH and Oracle databases.
Table Of Contents
Preface
Chapter 1: Configuring a Messaging Architecture
Publish/subscribe
Receiving the message
Adapter
Pipeline
Maps
MessageBox
Subscriptions
Message Context properties
Orchestrations
Sending the message
Maps
Pipeline
Adapter
BizTalk platform settings and Applications
BizTalk Administration Console
The Group Hub
Hosts and Host Instances
Creating a Host
Creating a Host Instance
Managing Adapter Handlers
Applications
Referencing another Application
Setting up and managing Ports
Receive Ports
Port Authentication
Receive Locations
Receive Port Maps
Send Ports
Transport Advanced Options
Backup transport
Send Port Maps
Configuring Filters (Subscriptions)
Port states
Dynamic Send Ports
Send Port Groups
Failed message routing
Ordered delivery
Receive Locations
Send Ports
Configuring core Adapters
HTTP
Sending HTTP
Receiving HTTP
POP3
SMTP
FTP
Receiving FTP
Sending FTP
File
Receiving files
Sending files
Credentials
Configuring content-based routing
Creating folders and Application
Creating Receive Ports and Receive Locations
Testing the Receive Locations
Debugging the messages
Setting up a Send Port
Setting up Send Port for System II and a Send Port Group
Implementing messaging patterns
Working with canonical messages
De-batching
Using the correct flow
Adapter independence
Test your knowledge
Summary
Chapter 2: Developing BizTalk Artifacts—Creating Schemas and Pipelines
Creating Schemas
Type of Schemas
XML Schemas
Flat File Schemas
Property Schemas
Schema Identity
XML Identity
.NET Identity
Promoted property and distinguished fields
Promoting nodes as property fields
Promoting a node as distinguished field
Creating the structure of a Schema
Creating reoccurring parts of a Schema
Creating Envelope Schemas
Datatypes and formatting
Specifying custom formatting restrictions
Creating reusable types
Creating Schema hierarchies
Import
Include
Redefine
Creating Pipelines
Pipeline Stages
Receive Pipelines
Decode
Disassemble
Validate
Resolve Party
Send Pipelines
Pre-Assemble
Assemble
Encode
Default Pipelines
PassThruReceive
XMLReceive
PassThruTransmit
XMLTransmit
Custom Pipelines
Configuring Pipelines and Pipeline components
Working with XML messages
Working with envelopes
Working with secure data
Encryption and signing
Decryption and signature verification
Test your knowledge
Summary
Chapter 3: Developing BizTalk Artifacts—Creating Maps
Creating Maps
Why XSLT matters
Using Functoids
Conversion Functoids
Cumulative Functoids
Database Functoids
Table Query Functoids
Cross Referencing Data Functoids
Date/Time Functoids
Logical Functoids
Mathematical Functoids
Scientific Functoids
String Functoids
Using Advanced Functoids
Looping
Index
Iterator
Nil
Record Count
Looping
Table Looping
Conditional Mapping
Copy-based Mapping
Troubleshooting
Scripting
Using external assemblies
Using Inline Code
Using Inline XSLT
Maps and Orchestrations
Test your knowledge
Summary
Chapter 4: Developing BizTalk Artifacts—Creating Orchestrations
Developing Orchestrations
Basic shapes and configuration
Message and Data Handling
Containers
Flow control
Orchestration Nesting
Other
Orchestration activation
Activating Receive
Call and Start
Persistence
Dehydration and rehydration
Transactions
Transaction types
Scopes
Long Running
Atomic
Nesting
Transaction reach
Storing configuration information
Orchestration variables
Configuration placed in BTSNTSvc.exe.config
Configuration placed in web.config for isolated Hosts
Configuration placed in machine.config
Some configuration can be placed on the Adapter handlers
Through the message
Through the message context
Business Rules
SSO
Using a .NET helper component
Integrating with .NET assemblies
Configuring Orchestration bindings
Ports versus Port Types
Logical ports versus physical ports
Port binding options
Specify Now
Specify Later
Direct
Dynamic
Configuring correlation
Working with Correlation Types and Sets
Convoys
Sequential Convoys
Parallel Convoys
Test your knowledge
Summary
Chapter 5: Debugging and Exception Handling
Handling exceptions in Orchestrations
Scopes
Throwing exceptions
Catching exceptions
Compensation
Sample exception handling scenario
Delivery notification
Debug Orchestrations
Handling messaging errors
Subscription errors
Transmission errors
Routing errors
Recoverable Interchange Processing
Validating and testing artifacts
Validating Schemas and Message Instances
Validate Schema
Validate Instance
Generate Instance
Validating, testing, and debugging Maps
Unit testing
Unit testing Schemas
Unit testing Maps
Test your knowledge
Summary
Chapter 6: Deploying, Tracking, and Administrating a BizTalk Server 2010 Solution
Installing and configuring a multiserver BizTalk environment
High Availability
Installation setup
Installation
Configuration
Active Directory Groups and Users
Deploying BizTalk applications
Sample deployment through Visual Studio
Preparing the solution
Binding Files
Sample deployment through MSI package
Binding File dependencies
BizTalk Application states
Runtime Application states
Tracking events in BizTalk Server
Tracking Receive Ports
Tracking Orchestrations
Tracking Send Ports
Managing BizTalk applications using BizTalk Administration Console
Configuration Overview
Work in Progress
Suspended Items
Group Suspended Service Instances
Tracked Service Instances
Tracked Message Events
BizTalk Settings Dashboard
Viewing and modifying performance tuning settings
Exporting and importing performance tuning settings
Test your knowledge
Summary
Chapter 7: Integrating Web Services and Windows Communication Foundation (WCF) Services
Out of the box WCF Adapters
Configuring a WCF Adapter
Using out of the box WCF-BasicHttp Send Adapter
Using out of the box WCF-BasicHttp Receive Adapter
Custom behaviors
Exposing Schemas and Orchestrations as WCF Services
Testing our WCF Service
Consuming WCF Services from BizTalk Server 2010
Sample WCF Service
Consuming our WCF Service from BizTalk
Configuring generated WCF Service artifacts
Testing our Custom WCF Service
Handling web exceptions
Test your knowledge
Summary
Chapter 8: Implementing Extended Capabilities
Business Rules Engine (BRE)
Key Concepts
Creating a BizTalk Solution with rules
Create a Schema
Creating a Policy
Importing a Schema into Rule Composer
Adding an Action
Testing the policy
Creating an Orchestration
Deploying the policy and testing
Deploying a new version of the Policy
Adding Vocabulary
Electronic Data Interchange (EDI)
Finding and deploying the EDIFACT Schema
Adding a reference to BizTalk EDI application
Setting up a Receive Port, Location, and a Send Port
Setting up the Parties
Radio Frequency Identification (RFID)
Communication between RFID and BizTalk using SQL Server
Business Activity Monitoring (BAM)
Creating Activities
Setting up the BAM add-in inside Microsoft Excel
Creating an activity inside Excel
Deploy the Activity and view
Creating a Tracking Profile
Creating Continuations
BAM Portal
Searching for an order
Populating the aggregation
Creating view permissions
Roles and permissions
Test your knowledge
Summary
Chapter 9: Certification Test-taking—Tips and Tricks
Exam preparation
Preparation sources
Literature
Classes
Webcasts
Labs
Training kits
Sample code
Practice tests
Colleagues and peers
Forums, blogs and other online sources
Getting familiar with the certification objectives
Study time
Incentives
Knowledge
Money
Opportunities
Vouchers and offers
Learn more
At the test center
Exam structure
Before the exam
Questions
After the exam
Time management
Answering questions
Chapter 10: Sample Certification Test Questions
Configuring a Messaging Architecture
Developing BizTalk Artifacts
Debugging and exception handling
Deploying, tracking, and supporting a BizTalk solution
Integrating Web Services and Windows Communication Foundation (WCF) Services
Implementing extended capabilities
Appendix A: Test Your Knowledge—Answers
Chapter 1, Configuring a Messaging Architecture
Chapter 2, Developing BizTalk Artifacts—Creating Schemas and Pipelines
Chapter 3, Developing BizTalk Artifacts—Creating Maps
Chapter 4, Developing BizTalk Artifacts—Creating Orchestrations
Chapter 5, Debugging and Exception Handling
Chapter 6, Deploying, Tracking, and Administrating a BizTalk Server 2010 Solution
Chapter 7, Integrating Web Services and Windows Communication Foundation (WCF) Services
Chapter 8, Implementing Extended Capabilities
Appendix B: Sample Certification Test Questions—Answers
Configuring a messaging architecture
Developing BizTalk Artifacts
Debugging and exception handling
Deploying, tracking, and supporting a BizTalk solution
Integrating Web Services and Windows Communication Foundation (WCF) Services
Implementing extended capabilities
Index