Chapter 5. Web services

This chapter covers

  • Using HTTP from Ruby
  • Building REST services with Rails
  • Using REST services with ActiveResource
  • Using SOAP with SOAP4R

Throughout this book, we show you ways of integrating Ruby with different applications and services. Some scenarios depend on a particular protocol or architecture, such as using Lightweight Directory Access Protocol (LDAP), sharing data through a relational database, or moving messages around with WebSphere MQ (WMQ). In this chapter, we’ll explore the web architecture and look at how we can use web services across language, platform, and application boundaries.

To this end, we’ll focus on Service Oriented Architecture (SOA) with Ruby. SOA is not a particular product, technology, or ...

Get Ruby in Practice 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.