Book Image

Oracle SOA Suite 11g Developer's Cookbook

By : Antony Reynolds, Matt Wright
Book Image

Oracle SOA Suite 11g Developer's Cookbook

By: Antony Reynolds, Matt Wright

Overview of this book

<p>As part of Oracle Fusion Middleware, the components of Oracle SOA Suite enable you to build, deploy and manage Service-Oriented Architectures (SOA), and can be used as the glue to integrate your applications whilst moving your enterprise towards a service oriented future. The recipes in "Oracle SOA Suite 11g Developer's Cookbook" will provide you with a solid foundation for your SOA Suite implementation ensuring its efficiency and reliability.<br /><br />Whether you're using SOA Suite as an integration tool or as the foundation of your Service Oriented Architecture, it is important to have a reliable implementation. "Oracle SOA Suite 11g Developer's Cookbook" will ensure you have the knowledge at your disposal to achieve that, through numerous tips and tricks for extending and enhancing your applications. <br /><br />"Oracle SOA Suite 11g Developer's Cookbook" equips you with invaluable information about SOA Suite development which can usually only be gained through bitter experience. The recipes in this book distill real world experience into an easily applicable form.<br /><br />Throughout the book you'll encounter high level issues, such as building a reliable SOA Suite cluster, and detailed development problems such as avoiding errors in BPEL assignment statements. Along the way you'll also learn about configuring identity providers and managing transaction boundaries.<br /><br />The recipes in this Cookbook will prove crucial for implementing your SOA Suite solutions.</p>
Table of Contents (21 chapters)
Oracle SOA Suite 11 Developer's Cookbook
Credits
About the Authors
Contributors
About the Reviewer
www.PacktPub.com
Preface
Index

Dynamic binding using OSB


One of the key advantages of an Enterprise Service Bus, as well as Service Oriented Architecture in general is the quality of Agility, that is, the ability to easily compose new orchestrations of web service operations. In this recipe, we will consider a scenario in which a standard service contract might be implemented by multiple providers, the selection of which we want to dynamically configure at runtime.

For example, let us suppose that we are running an online bookstore and wish to automate stock order requests to multiple publishers. A stock order includes the name of the publisher, details of the book, and the quantity to order:

<stockOrder>
  <publisher>ACME</publisher>
  <bookOrder>
    <book>
      <isbn>1234567890123</isbn>
      <title>Barry Potter</title>
       …
    </book>
    <quantity>Skylight vampires</quantity>
  </bookOrder>
</stockOrder>

This service could be...