Home > Store

Microsoft BizTalk Server 2004 Unleashed

Register your product to gain access to bonus material or receive a coupon.

Microsoft BizTalk Server 2004 Unleashed


  • Sorry, this book is no longer in print.
Not for Sale


  • Copyright 2005
  • Edition: 1st
  • Book
  • ISBN-10: 0-672-32598-5
  • ISBN-13: 978-0-672-32598-4

Microsoft BizTalk Server 2004 Unleashed is your tool to unleash the power of Microsoft's BizTalk Server 2004. Learn how to use the server as an enterprise application integration tool and how to exploit its key strengths to orchestrate e-commerce business processes in B2B and B2C environments. Providing complete coverage of system architecture, application integration, messaging and migration, Unleashed also illustrates practical application of the server through an entire section dedicated to real-world case studies of businesses using BizTalk Server 2004 on a daily basis. As seen in these examples, there can be obstacles along the way to success, but Microsoft BizTalk Server 2004 Unleashed will help you overcome each one.



All the files used for the examples in the book except for Appendix B (4.2 MB) -- examples.zip

All the files used for the examples in Appendix B (696 KB) -- Append_B.zip

Appendix C in Adobe's Portable Document Format (344 KB) -- Appendix_C.pdf

Sample Content

Online Sample Chapters

Building Message Specifications

Building Message Specifications in Microsoft BizTalk Server 2004

Table of Contents


1. An Overview of BizTalk Server 2004.

    The Need for Integration Architecture.

      Integration Architecture Tier 1: Connecting Two Applications.

      Integration Architecture Tier 2: Connecting Multiple Applications.

      Integration Architecture Tier 3: Business Process.

      Integration Architecture Tier 4: Business Rules.

    Feature Overview of BizTalk Server 2004.

      BizTalk Server 2004 Architecture and Topology Improvements.

      BizTalk Server 2004 Development Tools.

      BizTalk Server 2004 Management Tools.

    Plugging in the Business User.


2. Your First BizTalk Server Integration.

    Architecture 101-How BizTalk Organizes Things.


      The BizTalk MessageBox.

      Messaging Ports and Pipelines.

      Process Orchestration.

      BizTalk Rules.

      Messaging Adapters.

    BizTalk Developer Tools Overview.



      Pipeline Designer.

      Orchestration Designer.


    Your First Integration Project.

      Message Formats.

      Message Map.


      Deployment and Testing.



3. Building Message Specifications.

    Editor Details.

      Schema Properties.

      Adding Records and Fields.

      Sample Schema: Structure.

      Node Properties.

      Inheritance and New Types.

       Creating Schemas from Existing Schemas.

      Creating a Schema from an Instance Document.

    Flat-File Specifications.

      Schema Node Additions.

      Record Node Additions.

      Field Node Additions.

      Sample Delimited Specification.

      Sample Positional Specification.

    Property Promotion and Property Schemas.

    Using InfoPath Documents with BizTalk.


4. Mapping Messages.

    Purpose and Scope of Mapping.

    Mapper Basics.

      Creating a Map File.

      A Quick Look at the Map Properties.

      Specifying Links.

      Test Properties and the Validation and Testing Process.

      Direct Links Sample.

    Functoids in BizTalk.

      Standard Functoids.

      Using Functoids.

      Configuring Functoid Parameters.

      Revised Sample: Table Extractor.

    Custom Functoids.

      Deployment Choices.

      Functoid Basics.

      Custom Functoids Sample.


5. Building Pipelines.

    Pipeline Concepts.

      Default Pipelines.

      Types of Pipeline Development.

    Receive Pipelines.

      Decode Stage.

      Disassemble Stage.

      Validate Stage.

      Party Resolution Stage.

    Send Pipelines.

      Preassemble Stage.

      Assemble Stage.

      Encode Stage.

    Pipeline Components.

      General Components.

      Assembling Components.

      Disassembling Components.

      Probing Components.

      Default Components.

    Building a Pipeline.

      Creating the Activity Message Schema.

      Validating Receive Pipeline.

      Deploying and Using the Solution.

    Custom Pipeline Components.

      IBaseComponent Members.

      IComponentUI Members.

      IPersistPropertyBag Members.

      IComponent Members.

    Building a Custom Component for Our Sample Pipeline.

      Declarations and References.

      Properties and Logic.

      Implementing IBaseComponent.

      Implementing IcomponentUI.

      Implementing IpersistPropertyBag.

      Implementing Icomponent.

      Modifying the Receive Pipeline.


6. Receiving and Sending Messages.

    Receive and Send Ports in Detail.

      Receive Ports.

      Configuring Receive Ports.

      Receive Locations.

      Send Ports.

      Send Port Groups.


    Message Security.

    Subscription Filters.

    Messaging Solution Sample.

      Message Schemas.

      Sending Application Stub.

      HTTP Receive Location.

      File Send Ports.

      Test the Solution.


7. Working with Adapters.

    Adapter Overview.

    Adapter Design-Time Configuration.

      Adapter Communication Patterns.

      Handlers and Ports.

      Dynamic Send Ports.

      Add Adapter Wizard and Metadata Harvesting.

    Native Adapters.

    Developing Custom Adapters.

    Adapter Design-Time Development.

      Property Browser.

      Add Adapter Wizard Integration.

    Adapter Runtime Development.

      The Messaging Architecture.

      A BizTalk Message.

      Message Engine Interfaces.

      Adapter Interfaces.

      Receive Interfaces.

      Send Interfaces.

      Adapter Initialization.

      Receive Adapter Initialization.

      Send Adapter Initialization.

      Adapter Termination.

      Loading Configuration.

      Loading Handler Configuration.

      Loading Endpoint Configuration.

      Transport Proxy Batch.

      Batch Callback.

      One-Way Receive.

      Request Response.

      One-Way Send.

      Solicit Response.

      Dynamic Send.

    Adapter Registration.

      Adapter Registration Wizard.

      Add Adapter to BizTalk.


8. Using Single Sign-On.

    What Is Single Sign-On?

    Enterprise Single Sign-On Scenarios.

      Windows Initiated SSO.

      Configuration Store.

      Unsupported Scenarios.

    The Enterprise Single Sign-On System.

      SSO Architecture.

      How Single Sign-On Works.

       Single Sign-On Windows Accounts.

      Master Secret Server.

      SSO Command-Line Utilities and APIs.

      Auditing SSO Services.

      Managing Affiliate Applications.

      Managing Mappings.

      Using Tickets.

      SSO Caching.

      Integrating SharePoint SSO.



9. Introducing Orchestration.

    Business Processes and Orchestration Defined.

    Orchestration Designer.


      Flow of Control.


      Rule Expression Basics.

      Transaction Basics.



    Using .NET Components.


    Sample Orchestration Solution.


      Manufacturing Component.


    Orchestration and BPEL.


10. Orchestrating Web Services and Correlation.

    Correlating Messages in Orchestration.

      Creating a Correlation Type.

      Creating a Correlation Set.

    Calling Orchestrations.

    Web Services and Orchestration.

      Using Web Services in Orchestration.

      Using a Web Service Sample.

      Exposing an Orchestration as a Web Service.

      Orchestration Facade Sample.

    Orchestration Debugging.


11. Developing Rules.

    Rules Architecture.


      Building Rules from Conditions and Actions.

      Policies-Collections of Rules.

      Rule Execution.

      Using Policies in Applications.

    Rules Development.

      .NET Objects Fact Sources.

      Database Fact Sources.

      XML Document Fact Sources.



      Policy Caching.

    Authoring Policies and Vocabularies.

      BRL-Syntax XML Documents.

      .NET APIs for Rule-Based Application Development.

    Rule Development APIs.







      IFactRetriever Interface.

    Business Rule Composer.

      Building Vocabularies.

      Building Policies.

      Building Rules.

      Rules Deployment and Versioning.

      Policy Testing.

    Standalone Rules Sample.

      RFP Vocabulary.

      RFP Policy.

      Database Fact Retriever.

      Rules Host Application.


12. Orchestrating-Advanced Concepts.

    Advanced Transactions.

      Atomic Transactions.

      Long-Running Transactions.

      Exception Handling in Transactions.

      Compensation in Transactions.

      Exceptions and Compensation Sample.

    Orchestration Hydration.

    Orchestration and Rules.

      Call Rules Shape.

      Call Rules Sample.

    Direct Port Binding Between Orchestrations.

    Parties, Roles, and Role Links: Indirection for Enterprise Deployments.

      Parties and Roles.

      Role Links.



13. Messaging Patterns.

    Pattern 1: Using the SQL Adapter.


      Implementation Steps.

    Pattern 2: Importing a CSV File.


      Implementation Steps.

    Pattern 3: Importing a Positional File.


      Implementation Steps.

    Pattern 4: Uniform Sequential Convoy Pattern.


      Implementation Steps.


14. Orchestration Patterns.

    BizTalk Server 2004 and InfoPath.

    Introducing the Patterns.

    Pattern 1: File-Drop Orchestration Activation.


      Implementation Steps.

    Pattern 2: Consuming a Web Service.


      Implementation Steps.

    Pattern 3: Using InfoPath with Orchestration.


      Implementation Steps.

    Pattern 4: Multiple Entry Points for Orchestration Activation.


      Implementation Steps.



15. Deployment.

    Distributed Deployment.

    Deploying for Scalability.

      Scaling Out BizTalk Servers.

      Scaling Out SQL Servers.

      Scaling Up BizTalk Servers.

      Scaling Up SQL Servers.

    Deploying the Various BizTalk Server Services.

      Enterprise Single Sign-on Service (ENTSSO.exe).

      The BizTalk Service (BTSNTSvc.exe).

      The Tracking Sub-Service [BTSNTSvc.exe].

      The MSMQT Sub-Service (BTSNTSvc.exe).

      Rules Engine Update Service (RuleEngineUpdateService.exe).

      Various Deployment Topologies.

      Scaling Out Receiving Transports.

    Deploying for High Availability.

      Configuring the BizTalk Server Tier for High Availability.

      Configuring the SQL Server Tier for High Availability.

      Clustering the SSO Master Secret Server.

      Installing the BizTalk Server Service on an MSCS Cluster.


16. Health and Activity Tracking.

    Debugging a BizTalk Application.

      Replay Mode Debugging.

      Live Mode Debugging.

      Remote Debugging.

    Tracking BizTalk Applications.

      Configuring BizTalk Application for Tracking.

      Tracking the Path of a Message.

      Tracking EDI Data.

      Troubleshooting the Problems with BizTalk Application.

      Saving the Message Body.

      Finding the Messages.

      Setting Tracking Options at Host Level.

      Service and Message Metrics.

      Archiving Tracking Database.

      Viewing the Archived Data.

      Creating and Saving Custom Tracking Queries.


17. Management.

    Understanding BizTalk Entities.

    Design Factors for   Multiserver Topology.

    Creating and Configuring BizTalk Entities.

      Viewing the Microsoft BizTalk Server 2004 Properties Dialog Box.

      Creating, Deleting, and Managing MessageBox.

      Creating and Deleting Host.

      Installing, Starting, Stopping, Deleting, and Configuring Host Instance.

      Enabling, Disabling, and Configuring Receive Location.

      Enlist, Start, Stop, and Unenlist Send Port.

      Enlist, Start, Stop and Unenlist Orchestrations.

      Installing an Adapter.

      Creating and Deleting Receive Handler.

      Configuring Send Handler.

    WMI Programming for BizTalk Object Model.

      Classes Provided in the BTSWMISchema.mof File.

      Classes Provided in Microsoft.BizTalk.Hws.AdminWMIProvider.mof.

      Programming Host Example.

      Mapping HostInstance Example.

      Adding MSMQT Adapter Example.

      Example for Resuming Service Instance.

    BizTalk Server 2004 Enterprise Edition Management Pack.

      Installing and Configuring MOM for BizTalk 2004.

      Installing MOM Agent on Remote BizTalk Servers.



18. Human-based Workflow.

    Workflow Model.

    Programming Model.

    Building an Action.

      Creating an Action Project.

      Modifying the Schemas.

      Modifying the Action Logic.

      The Synchronize Message.

    Action Deployment and Administration.

      Registering the Action with HWS.

    HWS Security and Constraints.

      Creating System Constraints.

      Constraint Evaluation.

      Adding Constraint Properties.

    Using the HWS Web Service.

      Creating Activity Flows Using the HWS Web Service.

      The Acting User Parameter.

      Querying Activity Flow Information.

      Responding to Task Messages.

      Continuing Activity Flows.

      Interrupting a Running Action or Activity Flow.

    Developing Activity Models.

      Activity Model Design.

      Creating an Activity Model.

      Executing Activity Models.

      Dependent and Independent Transitions in Activity Models.

      Constraints in Activity Models.

      Interaction Between Activity Models and Ad-Hoc Actions.


19. Business Activity Services.

    Business Scenarios for BAS.

      Trading Partner Integration.

      Interdepartmental Integration.

      Business User Interaction.

    Development of a Sample BAS Project.

      Sample Scenario.

      Getting Started with the Sample BizTalk Server Project.

      Document Schemas.

      InfoPath Forms.

      TPPubWS Web Service.

      BAS Port Types.

      BAS Role Link Types.

      Using BAS Types.

      Configuring a BAS-Enabled Orchestration.

    Deployment of a BAS Project.

      Set Up the BAS Site.

      Deploying the Sample BizTalk Project.

    Configuring Sample Trading Partners and Business Process.

      Security Considerations.

      Configuring Self Profiles.

      Configuring Partner Profiles.

      InfoPath Templates.

      Extending Profiles.

      Configuring Agreements with Trading Partners.

      Partner Groups.

      Trading Partner Management Administration.

    Executing and Interacting with the Sample Business Process.

      Interacting with Documents in Trading Partner's InBox.

      Sending Documents to Trading Partner via the OutBox.


    Monitoring the Sample Business Process.


20. Business Activity Monitoring.

    The BAM Solution.

    BAM in BizTalk Server 2004.

      BAM User Roles.

      BAM Architecture.

      The BAM.EventObservation Object.

       The BAM Query Web Service.

    Configuring and Deploying BAM Step by Step.

      Creating BAM Activities.

      Creating BAM Views.

      Configuring the Pivot Tables and Charts.

      The BAM Management Utility.

      Using the Tracking Profile Editor.

      Viewing Real-Time Aggregations.

      Configuring OLAP.



Appendix A. Installing BizTalk Server 2004.

    Hardware Requirements and Recommendations.

    Software Requirements.

      Operating System Requirements.

      Other Software Requirements.

    Preparing Server for Installing BizTalk Server 2004.

      Installing IIS 6.0.

      Installing SQL Server 2000.

      Installing Analysis Services.

      Enabling Network DTC Access on Windows 2003 Server.

      Installing Windows SharePoint Services 2.0 for BAS.

      Testing SharePoint Configuration.

    Installing BizTalk Server.

Appendix B. Migration from Previous BizTalk Version.

    Planning a Migration Project.

      Migration Project Scope.

      Migration Planning.

     Migrating Messaging Scenarios.

      Using the Migration Wizard.

      Migrating Application Integration Components and Preprocessors.

    Migrating Orchestration Scenarios.

      Creating the Orchestration Project.

      Creating the Orchestration Artifact.

      Defining the Schemas to Be Used.

      Analyzing and Converting Implementation Shapes.

      Analyzing and Converting Control Shapes.

    Migrating Complex BizTalk 2002 Scenarios.

      Publish/Subscribe Messaging Scenarios.

      Large Document Processing Scenarios.

      Messaging Correlation Scenarios.

      First-In First-Out Messaging Scenarios.

      Synchronous Orchestration Calls.

Appendix C. Using BizTalk Native Adapters - Online.



Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020