This lesson explains how to install Eclipse OEPE plugin for OSB development on a different machine from server.
Oracle WebLogic Server 11gR1 (10.3.3) + Coherence + OEPE – Package Installer (available from from http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html)
Oracle Service Bus (184.108.40.206.0) (available from http://www.oracle.com/technology/software/products/osb/index.html)
Installation – Weblogic Server:
- Launch installation using wls1033_oepe111150_win32.exe.
- Select Create a new Middleware Home and enter D:\PROGRAMS\OracleMiddleware11gPS2. Click Next.
- Ignore “Register for Security Updates” and click on Next.
I received queries from some of the readers on OSB’s fault handling behaviour recently. I thought best way to explain would be through an example and here we go …
Above example, deals with two look up services: Airport and Currency. These would be installed in BPEL as SOAP services. Oracle Service Bus will then invoke these services with the help of appropriate business services and a common proxy service. If either currency or airport code is not found, BPEL webservices will throw InvalidCurrencyFault and InvalidAirportFault respectively. These Faults are captured at OSB’s proxy stage with the help of Error Handler defined at “Route Node” stage. OSB then transforms these faults into appropriate common faults and sends response back to the client. For more details on Routing and Transformation in OSB, please refer to this example.
This tutorial explains how OSB’s dynamic routing and transformation features can be used to invoke two different public calculator web services.
At the end of this tutorial, you should understand
- Canonical schema in Proxy Services
- Dynamic Routing to Business Services
- XML content transformation from canonical to native format
- XML content transformation to canonical from native format
- Routing Actions
In this lesson we are going to create our first Hello World OSB service. This requires us to create a Business Service, a Proxy Service and import an External Service we created earlier using BPEL. Installed Hello World BPEL process is a pre-requisite for this lesson. Also, please see Introduction to OSB for an overview of the product.
Login to OSB console using the URL http://localhost:7001/sbconsole. This URL may change based on your server’s hostname and port number.
Click on “Create” under Change Center to create an exclusive session for our Helloworld project. This ensures that resulting changes are not in conflict with other users’ work.
Oracle Service Bus (previously known as Weblogic ALSB) is a light weight messaging component of SOA Suite. In addition to providing basic routing and transformation services, OSB also provides advanced capabilities for service abstraction.
As of version 220.127.116.11, OSB can only run on Weblogic platform. Since it runs in a separate JVM, there is an overhead in communicating with rest of SOA Suite components.
Though OSB is similar to Mediator component at the conceptual level, there are specific scenarios when OSB will be very useful.