Integrating Oracle Service Bus with Oracle MFT – SOA Suite 12C

In this post we will see, how to integrate oracle service bus with oracle MFT.

For this I have used the below use case.

.osbmft1

As per the use case , OSB receives the file from local file system and invokes Oracle MFT.

Oracle MFT receives the file from OSB and then transfer the file to a local file system.

STEP 1 –>

We will create a MFT source.

Login to MFT console and go to design tab and click on Sources to create a source.

Enter the name, Type (Service Bus),URL (Give Any name) and  click on Create.

It will open the source with complete URL as below.

STEP2 –>

We will create a MFT Target.

Go to design tab and click on Target to create a new Target.

Enter the target name , Type as FILE , and Folder (Local File Location)

osbmft5.JPG

Go to advanced properties of your target and click on Operations, select the operation type as “Rename” and file naming convention as “MyFinalFile%YYYYMMDDHHMMSS%.txt” .

osbmft6.JPG

Now click on Save and deploy.

STEP3–>

Once you are done with creating “Source” and “Target”, you have to create a Transfer (Which will Transfer the file from your OSB source to File Taregt).

For creating the Transfer click on “Transfer”, it will open a window to create a Transfer.

Provide the name and click on “Create”.

osbmft7

Add the source and target to the transfer. Here source is Osbsource and target as LocalFileTarget.

osbmft8

Now SAVE the Transfer and click on Deploy.

STEP4–>

We will create OSB Project which will receive the file from local system and invokes the MFT service.

Create a Proxy service with file adapter.

Create a business service based on the END point URL we have received from STEP1.

Your project looks like this.

osbmft2.JPG

Deploy the service bus project to server and TEST the use case by placing the file in OSB proxy service location..

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s