Chapter 1. Creating a basic OSB service

In this chapter, we will cover the following topics:

  • Creating a new OSB project
  • Defining a folder structure for the OSB project
  • Importing an already existing project into Eclipse OEPE
  • Creating a business service to call an external SOAP-based web service
  • Generating a pass-through proxy service
  • Deploying the OSB configuration from Eclipse OEPE
  • Testing the proxy service through the OSB console
  • Testing the proxy service through soapUI
  • Creating a proxy service with a WSDL-based interface
  • Using a routing action to statically route to another service
  • Using an operational branch to implement multiple WSDL operations in a proxy service
  • Using an XQuery transformation to map between the different data models of the services

Introduction

In this chapter, we will cover some basic recipes to get the reader started working with the Oracle Service Bus (OSB). We will first develop the simplest possible service on the OSB with only one proxy service and then recipe by recipe add some more functionality to that service. In contrast to the other chapters, the recipes in this chapter are dependent on each other, and all the recipes of this chapter should therefore, be done in order. On the other hand, each single recipe can also be applied standalone by importing the 'getting-ready' project referenced in the Getting, Ready section of each recipe.

In some of the recipes, we will also define the best practices and development conventions that we will use for this book, however, they are also applicable in any other project. We teach how to best structure a project using Eclipse OEPE (with the OSB plugin installed).

In this recipe, we will implement a mediation service in the OSB, which consumes a web service from an external CRM system.

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

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