Book Image

Oracle Service Bus 11g Development Cookbook

Book Image

Oracle Service Bus 11g Development Cookbook

Overview of this book

Oracle Service Bus 11g is a scalable SOA integration platform that delivers an efficient, standards-based infrastructure for high-volume, mission critical SOA environments. It is designed to connect, mediate, and manage interactions between heterogeneous services, legacy applications, packaged solutions and multiple Enterprise Service Bus (ESB) instances across an enterprise-wide service network. Oracle Service Bus is a core component in the Oracle SOA Suite as a backbone for SOA messaging. This practical cookbook shows you how to develop service and message-oriented (integration) solutions on the Oracle Service Bus 11g. Packed with over 80 task-based and immediately reusable recipes, this book starts by showing you how to create a basic OSB service and work efficiently and effectively with OSB. The book then dives into topics such as messaging with JMS transport, using EJB and JEJB transport, HTTP transport and Poller transports, communicating with the database, communicating with SOA Suite and Reliable Message Processing amongst others. The last two chapters discuss how to achieve message and transport-level security on the OSB.
Table of Contents (19 chapters)
Oracle Service Bus 11g Development Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Using WS-Reliable Messaging (WS-RM) with WS transport


In this recipe, we will create a one-way (fire and forget) proxy service that contains a long running WS-RM (Reliable Messagng) policy and test this WS-RM policy in a JDeveloper web service proxy client.

We will use the WS transport, which implements both inbound and outbound requests for SOAP-based services with a WS-RM policy.

Getting ready

For this recipe, we will use a setup with a very simple proxy service based on a WSDL containing only a one-way operation. For the WS-RM client we will use JDeveloper.

You can import the OSB project into Eclipse from \chapter-10\getting-ready\using-reliable-msg-with-ws-transport.

How to do it...

First, let's change the proxy service to use the WS transport and add the reliable messaging policy. In Eclipse OEPE, perform the following steps:

  1. Open the Provider proxy service and navigate to the Transport tab.

  2. Select ws in the Protocol field to specify the WS transport.

  3. Navigate to the Policy tab.

  4. Select the...