O'Reilly logo

Microsoft® SQL Server® 2008 Step by Step by Mike Hotek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Message Types and Contracts

Successful communication involves the exchange of information in a format that is understood by both parties. If one party is speaking in German and the other party only understands Tagalog, then communication will be unsuccessful. However, if both parties understand German, communication can proceed.

Message types define an agreed-upon format for content exchanged between two endpoints. Contracts control the message types that are accepted in order to standardize the input and output required for reliable communication.

Message Types

The generic syntax to create a message type is:

CREATE MESSAGE TYPE message_type_name [ AUTHORIZATION owner_name ] [ VALIDATION = { NONE | EMPTY | WELL_FORMED_XML | VALID_XML WITH SCHEMA COLLECTION ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required