Monday, October 12, 2015

SOA12C: Getting started – Hello World project OSB

One of the major change in 12C is the integration of OSB IDE within Jdeveloper and hence development and testing of SOA as well as OSB can now be done from within Jdeveloper without the need of installing Eclipse & OSB.
In our previous post we did a Hello World project in SOA, If you have not done that, first do SOA part as in this example we will be calling SOA service, now let’s get started with OSB.

In this sample we will call the Hello World project we created in SOA through business service.

you can download this sample from here.

Let’s first create a new application for service bus:


Name your project accordingly:




We can see below project structure got created:


Lets create a folder structure for our service,  create the folder structure as per your convension:


Now it’s time to create the business service, here we will call the Hello World SOAapplication we created in earlier post.

Drag HTTP Technology adapter from the component palette on to the external services tab in the composite.

Enter the service name and in the next step select Application server and browse to the wsdl of Hello World SOA application:



Select port and click next.


OK now our business service is ready, drag a Pipeline from resource palette to Pipelines/Split Joins section, name it accordingly:

Here we will browse to the wsdl which got imported to our local system.



Connect pipeline component to the external HelloWorldBS.

 Now you are ready to test the service. Right click on proxy service and click on Run, this will open a test console. Give the input and check for the result.
This project will call SOA HelloWorld composite, you can see the SOA instance in em console.






No comments:

Post a Comment