Book Image

BizTalk Server 2010 Cookbook

By : Steef-Jan Wiggers
Book Image

BizTalk Server 2010 Cookbook

By: Steef-Jan Wiggers

Overview of this book

BizTalk enables the integration and managment of automated business processes within or across organizational boundaries. To build a solid BizTalk solution, deploy a robust environment, and keep it running smoothly you sometimes need to broaden your spectrum, explore all possibilities, and choose the best solution for your purpose. By following the recipes in this book you will gain required knowledge and succeed in your implementation. With BizTalk Server 2010 Cookbook, you can leverage and hone your skills. More than 50 recipes will guide you in implementing BizTalk solutions, setting up a robust and well performing BizTalk environment, and choosing the right solution for monitoring it. As a developer or administrator you greatly benefit from taking these recipes to work. In this book a developer and administrator will see how to deploy, build, and maintain a BizTalk environment. How to apply patterns for robust orchestrations, messaging and testing. Administrators will learn to set up an environment using Microsoft best practices and tools to deliver a robust, performing and durable BizTalk environment. Besides setting up their environments administrators can also decide through a number of recipes how to monitor and maintain the environment. A developer can contribute to a healthy environment by implementing instrumentation in artefacts, applying well suited pattern(s) and testing the solutions built.
Table of Contents (17 chapters)
BizTalk Server 2010 Cookbook
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Testing BizTalk artifacts inside Visual Studio


During development of your BizTalk solution, you can do some of the testing before you even deploy your solution. You can leverage the capabilities of testing in Visual Studio using, for instance, the Test Map menu item for testing a map. Besides that you can use the Unit Test functionality offered by Visual Studio. The Unit Testing Framework (http://msdn.microsoft.com/en-us/library/ms243147(v=VS.90).aspx) supports unit testing in Visual Studio and allows you to create unit tests (http://msdn.microsoft.com/en-us/library/ms182517.aspx). In this recipe, you will learn the test capabilities offered by Visual Studio in BizTalk projects. The following tasks will be shown in this recipe:

  • Validating an XML document instance

  • Testing a map

  • Unit test a schema

Getting ready

Download the code (BTS.Cookbook.Test.SchemaAndMap) belonging to this book from the Packt website or use your own BizTalk project.

How to do it...

Performing the following steps will enable...