SOA Patterns > Transformation Patterns > Data Format Transformation
Data Format Transformation (Little, Rischbeck, Simon)
How can services interact with programs that communicate with different data formats?
Problem
A service may be incompatible with resources it needs to access due to data format disparity. Furthermore, a service consumer that communicates using a data format different from a target service will be incompatible and therefore unable to invoke the service.
Solution
Intermediary data format transformation logic needs to be introduced in order to dynamically translate one data format into another.
Application
This necessary transformation logic is incorporated by adding internal service logic, service agents, or a dedicated transformation service.
Impacts
The use of data format transformation logic inevitably adds development effort, design complexity, and performance overhead.
Principles
Architecture
Inventory, Composition, Service
Related Patterns in This Catalog
Canonical Protocol, Data Model Transformation, File Gateway, Inventory Endpoint, Legacy Wrapper, Multi-Channel Endpoint, Protocol Bridging, Service Agent, Service Façade
Related Service-Oriented Computing Goals
Increased Business and Technology Alignment, Increased Vendor Diversification Options, Reduced IT Burden