Home > Design Patterns > Schema Centralization
Schema Centralization

Schema Centralization (Erl)

How can service contracts be designed to avoid redundant data representation?

Problem

Different service contracts often need to express capabilities that process similar business documents or data sets, resulting in redundant schema content that is difficult to govern.

Solution

Select schemas that exist as physically separate parts of the service contract are shared across multiple contracts.

Application

Up-front analysis effort is required to establish a schema layer independent of and in support of the service layer.

Impacts

Governance of shared schemas becomes increasingly important as multiple services can form dependencies on the same schema definitions.

Architecture

Inventory, Service

Listen to the podcasts that accompany this site

Schema Centralization: WSDL definitions that share common XML schemas end up sharing the same message data models. Note how the reduction of redundant content also results in smaller-sized schemas.

WSDL definitions that share common XML schemas end up sharing the same message data models. Note how the reduction of redundant content also results in smaller-sized schemas.

SOA Design Patterns

This page contains excerpts from:

SOA Design Patterns by Thomas Erl

Foreword by Grady Booch

With contributions from David Chappell, Jason Hogg, Anish Karmarkar, Mark Little, David Orchard, Satadru Roy, Thomas Rischbeck, Arnaud Simon, Clemens Utschig, Dennis Wisnosky, and others.

(ISBN: 0136135161, Hardcover, Full-Color, 400+ Illustrations, 865 pages)

For more information about this book, visit www.servicetechbooks.com.

Web Service Contract Design and Versioning for SOA

This page contains excerpts from:

Web Service Contract Design and Versioning for SOA

by Thomas Erl, Anish Karmarkar, Priscilla Walmsley, Hugo Haas, Umit Yalcinalp, Canyang Kevin Liu, David Orchard, Andre Tost, James Pasley

Foreword by David Chappell

With contributions from David Chappell, Jason Hogg, Anish Karmarkar, Mark Little, David Orchard, Satadru Roy, Thomas Rischbeck, Arnaud Simon, Clemens Utschig, Dennis Wisnosky, and others.

For more information about this book, visit www.servicetechbooks.com.