Chapter 5. Using HTTP Transport

In this chapter, we will cover:

  • Using HTTP transport to implement messaging over HTTP
  • Exposing a RESTful service on the OSB
  • Consuming a RESTful service from the OSB
  • Creating a generic RESTful gateway on the OSB
  • Implementing a WebSocket transport for server-side push

Introduction

In this chapter, we will cover the HTTP transport.

The HTTP transport allows sending messages between clients and service providers through Oracle Service Bus using the http(s) protocol. The HTTP transport also provides support for working with RESTful (REST = Representational State Transfer) services.

The HTTP transport can be used on the proxy service to accept inbound messages over the HTTP protocol as well as on the business service to implement outbound communication over HTTP.

We have already used the HTTP transport when implementing the SOAP-based service in Chapter 1, Creating a basic OSB service. In this chapter, we will present how to work with the HTTP transport without using SOAP.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset