Chapter 3. Client-Service Interactions

Introduction

All web services must be designed with a particular interaction style in mind. That is, the developer must consider how a service and its clients will communicate. This chapter presents the most fundamental design patterns that are used for all web services, regardless of the service’s API style (i.e., Message, RPC, or Resource). Given an understanding of these patterns, one may combine them in many ways to create complex conversations in which multiple parties exchange information about a particular topic over short or extended periods of time. However, before we can approach these patterns, a familiarity with a few concepts must be established.

The use of web services indicates a Client-Server ...

Get Service Design Patterns: Fundamental Design Solutions for SOAP/WSDL and RESTful Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.