CHAPTER 15Web Services

The idea of web services has been a dream of the IT industry for what seems like forever. The ability to compose applications from multiple, disparate services available over the Web was initially put forward by the SOAP standard. SOAP defined a protocol for exchanging XML messages over a network in a language-neutral way. Although still widely used, SOAP has never really fulfilled its potential, and a simpler model has emerged called Representational State Transfer 11 (REST). REST is a simple architectural style that utilizes the nature of the Web and its HTTP protocol to enable web services communication.

Unlike SOAP, REST is not really a standard and in fact doesn't even specify a requirement for the type of the payloads ...

Get The Definitive Guide to Grails, Second Edition 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.