Book Image

(MCTS) Microsoft BizTalk Server (70-595) Certification and Assessment Guide: Second Edition

Book Image

(MCTS) Microsoft BizTalk Server (70-595) Certification and Assessment Guide: Second Edition

Overview of this book

Table of Contents (20 chapters)
(MCTS) Microsoft BizTalk Server (70-595) Certification and Assessment Guide Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Validating and testing artifacts


This section will look at how you can validate and test Schemas and Maps using the Visual Studio user interface and make a brief introduction to unit testing.

Validating Schemas and Message Instances

In Visual Studio, when you develop Schema artifacts, you have three options to test or validate this Schema through the UI. They are available through the context menu of a Schema in the Visual Studio Solution Explorer.

The options are as follows:

  • Validate Schema

  • Validate Instance

  • Generate Instance

Validate Schema

The Validate Schema option can be useful; for example, if you receive a Schema from a third-party or after you have completed work on a Schema that you built yourself. It will validate that the structure and implementation of the Schema is correct.

Validate Instance

The Validate Instance option allows you to validate a sample input message against the Schema. This is a very useful option; for example, in situations where messages fail the disassemble stage in...