Schema Centralization (Erl)
How can service contracts be designed to avoid redundant data representation?
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.
Select schemas that exist as physically separate parts of the service contract are shared across multiple contracts.
Up-front analysis effort is required to establish a schema layer independent of and in support of the service layer.
Governance of shared schemas becomes increasingly important as multiple services can form dependencies on the same schema definitions.
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.