Service-Oriented Design (Part III: Service Design)

Service Oriented Design (Part III Service Design)

Before we can develop a service, we need to have defined the interface of that service. This is the mantra of the commonly accepted "WSDL first" approach to designing Web services, and it is also the basis for each of the three service design processes we describe in this chapter. Defining the service interface prior to development is important to establishing a highly standardized service-oriented architecture and required to realize a number of the characteristics we identified as being part of contemporary SOA.

Specifically, the following benefits can be attained by creating the service contract prior to the service logic:

  • Services can be designed to accurately represent the context and function of their corresponding service candidates.
  • Conventions can be applied to service operation names, which leads to standardized endpoint definitions.
  • The granularity of operations can be modeled in abstract to provide consistent and predictable interface designs that also establish a message size and volume ratio suitable for the target communications infrastructure.
  • Underlying applications are required to conform to the expression of the service design, not vice versa. (This often results in the need for a business façade layer to compose older components that rely on RPC-style communication.)
  • The design of business services can be assisted by business analysts to ensure an accurate representation of business logic.

The process descriptions provided in this chapter are generic in nature and only suggest a series of steps for completing the design of service interfaces. They should be viewed as a starting point from which organizations can derive their own, custom design processes.

 

How case studies are used: Case studies take on a heightened significance in this chapter, as they are the means by which we introduce markup samples. Essentially, a subset of the service candidates we created in Chapter 11 are put through the design processes we establish in this chapter.

As part of these processes we create various WSDL definitions and associated XSD schemas. Complete versions of these files can be downloaded from the book's support site, at www.serviceoriented.ws.

Note

The end result WSDL and XSD schema documents in these samples have been tested for compliance with the WS-I Basic Profile version 1.1.






Service-Oriented Architecture. Concepts, Technology, and Design
Service-Oriented Architecture (SOA): Concepts, Technology, and Design
ISBN: 0131858580
EAN: 2147483647
Year: 2004
Pages: 150
Authors: Thomas Erl
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net