Integrating Oracle SOA with Oracle MFT-part2

This post is continuous to my previous post (Integrating Oracle SOA with Oracle MFT-part1), in this part you will see how oracle SOA will invokes the MFT service.

To view my previous post click here .(https://khassoablog.wordpress.com/2016/03/11/integrating-oracle-soa-with-oracle-mft/)

Use Case 2:- Oracle SOA invoking Oracle MFT service

Go to MFT and create a new Source as type SOA. In URL field give some name.

mftsoa18

Once the source is created it will show you the location as ENDPOINT URI.

mftsoa19

Click on Save and deploy the Source.

Create a Target to pace the files in to your target location. Go to Target and create a Target as below .

mftsoa20

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” .

mftsoa21.jpg

Now click on Save and deploy.

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

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

Provide the name and click on “Create”.

Add the source and target which we have created above.

mftsoa22

Click on Save and deploy.

Now we have to invoke the MFT from Oracle SOA process, go to your project and right click on “External References” and select the MFT .

It will open a new window, give the name and click on Next.

mftsoa23

Select the radio button “”Define using new MFT reference” and click on Next.

mftsoa24

Select the App server and click on Next. (If you have not created the connection, create it by clicking on the + button).

Once you click on next, it will create a connection with your server and list the sources that are deployed on the MFT server.

Now we have to select the source and Endpoint URI.

mftsoa25

Click on Finish button. Now wire your reference with the BPEL process.

mftsoa26

Edit the bpel process and place a invoke activity and link it to the MFT reference.

Assign the payload and qheader to invoke partnerlink input variable.

mftsoa27

Now assign the partner link response to final output variable.

mftsoa28

Now your bpel process will look like this.

mftsoa29

Now deploy the BPEL process to server. And test it by placing the file in your source location.

You can see both the transfer are successful in MFT monitoring.

mftsoa30mftsoa31

You can see the file in target folder as below.

mftsoa32

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