Return to Home Page
Overview
    History
    Acknowledgements
    Podcasts
    Notification Form
    Feedback Form
    Press Release #1
    Press Release #2
    Press Release #3

Master SOA Design
Pattern Catalog
    Master Pattern List (alphabetical)
    Master Pattern List (by category)
    Master Pattern List with
Page Numbers (PDF)
    Master Pattern List (Text)
    Pattern Notation
    Pattern Profiles
    Symbol Legend
    Pattern Contribution Form

SOA Candidate Patterns
    SOA Patterns Review Committee
    Candidate Patterns Overview
    Candidate Patterns List
    Candidate Pattern Contribution Form
    Candidate Pattern
Feedback Form
    SOA Pattern Template

Design Pattern Basics
    What's a Design Pattern?
    What's a Design Pattern Language?
    What's a Compound Pattern?

Supplemental
    SOA Patterns and Application Technologies
    SOA Design Patterns Historical Influences
    SOA Design Patterns and Design Principles
    SOA Design Patterns and Design Granularity
    Legal

Resources
    Design Patterns Publications
    Reference Posters
    SOAPrinciples.com
    WhatIsSOA.com
    SOA Visio Stencil

About the Book



SOA Design Patterns
by Thomas Erl

For more information visit: www.soapatterns.com

Related Publications


"Introducing SOA Design Patterns", SOA World Magazine (PDF)



"The Case for Single-Purpose Services: Understanding the Non-Agnostic Context and a Strategy for Implementation", SOA Magazine (HTML)



"REST-Inspired SOA Design Patterns", SOA Magazine (HTML)



"Service-Orientation and Object-Orientation Part I: A Comparison of Goals and Concepts", SOA Magazine (HTML)



"Service-Orientation and Object-Orientation Part II: A Comparison of Design Principles", SOA Magazine (HTML)



"Service Facade", InformIT (HTML)



"Non-Agnostic Context", InformIT (HTML)



"Domain Inventory", InformIT (HTML)



"Service Normalization", InformIT (HTML)



"Service Decomposition", InformIT (HTML)



"Canonical Schema", InformIT (HTML)



"Policy Centralization", InformIT (HTML)





Endpoint Redirection (candidate)


Home > Candidate Patterns List > Endpoint Redirection

How can consumers of a service endpoint adapt when service inventories are restructured?  

Problem

Service endpoint identifiers include information that can change over time. Companies can be re-branded. Service inventories can be combined or split due to corporate merger and acquisition or divestment. Fine-grained endpoints or poorly-selected endpoint identifiers may change for more technical reasons. It may not be possible to replace all references to the old endpoint simultaneously and the transition needs to be managed.

Solution

Automatically refer service consumers that access the stale endpoint identifier to the current identifier.

Application

Include endpoint redirection as a feature of the endpoint's contract. When a service consumer invokes a capability on a stale endpoint identifier, return a redirection response. Service consumers follow the redirection instructions and retry their request to the new endpoint identifier. Redirections can be temporary or permanent. Permanent redirections are automatically recorded in the service consumer's configuration data to avoid further requests to the stale identifier.

Impacts

Returning redirection information to the client requires clients to determine in advance how much to trust a redirection response. A service that has been compromised from a security perspective may cause the client to permanently change its identifiers to point the attacker's desired service. A mis-configured service could lead to similar disruption. Care may also need to be taken in order to avoid infinite redirection loops.

Principles

Service Loose Coupling

Architecture

Composition, Service

Status

Under Review

Contributors

Balasubramanian, Carlyle, Pautasso
 

Redirection built into service contracts along with predefined redirection rules allows the set of service endpoints to evolve without needing to immediately upgrade service consumers that still hold stale references. Explicit upgrades may be avoided entirely if permanent redirections are used.




Related Patterns in This Catalog

Fine-grained Servie Endpoint


Related Service-Oriented Computing Goals

Increased Organizational Agility, Reduced IT Burden

The Prentice Hall Service-Oriented Computing Series from Thomas Erl
Home    SOA Books    SOA Magazine    What is SOA?    SOA Principles    SOASchool.com    SOA Glossary Copyright © 2007-2010
SOA Systems Inc.