Integrating Oracle SOA with Oracle MFT-part1

In this post you will see how to integrate Oracle MFT with Oracle SOA.

We are using the below pattern in this example.mftsoa1

As per the above diagram, we are calling SOA service from Oracle MFT and then Oracle SOA is calling Oracle MFT to place the file.

Steps :-

Oracle MFT receives the file from local folder and then invokes SOA process.

SOA process receives the file name as reference from Oracle MFT, then SOA process will invoke MFT endpoint.

MFT service will receive the file as reference from SOA and then place it in target location.

Use Case 1:- Oracle MFT invoking Oracle SOA service

Login to MFT console (http://host:port/mftconsole)

Go to Design tab and click on “Sources” to create a source location to pick the files.

Enter the name, type as “File” and location (Directory to pick the file) and click on Create button.

mftsoa2

For creating the Target we need an endpoint URI of SOA service.

Create a project in your Jdeveloper and copy and place the file “MFTSOAService.wsdl” from below location to your project WSDL folder.

WLS_Home/mft/integration/wsdl

mftsoa3

Right Click on “Exposed Services” and click on ‘HTTP’ to create a HTTP Binding Service.

Enter the name and click on Next.

mftsoa4

Select the radio button “Import an existing wsdl” and click on “WSDL URL” to select the wsdl.

mftsoa5

Go to File system and select the wsdl that we have copied to our project and click on OK button.

mftsoa6

Now wsdl is copied and it will show the port type and operation. Click on Next to proceed further.

mftsoa7mftsoa8

Click Next twice and finish the setup.

Now create a BPEL process (with No Service)and wire it to http binding.

mftsoa9

mftsoa10

Edit your BPEL Process and add Receive and Reply activities to your bpel process.

mftsoa11

Deploy the project to Server and get the end point URI of the composite.

Now we have to create a target in Oracle MFT with above endpoint URI.

Click on Target, it will open a window create the target.

Provide the name, type as “SOA” and URI (Endpoint URI) and click on create.

mftsoa12

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

mftsoa13

Go to source and click on “Add Source ” to add the source , in the same way “Add Target” to add the target to your Transfer.

mftsoa14

In Source we will enter the value as “Newtest*.txt” in content filter “Wildcard”.

In Target side we have “delivery preferences”.  we will change delivery method as “Reference” and reference type as “File”.

mftsoa15

Click on Save and Deploy.

Test the process by placing the file in your local folder.

Go to monitoring in MFT and check the instances , you will see once instance as success.

mftsoa16

In EM console , You will see one instance is successfully created with file as reference..

mftsoa17

 

Advertisements

One thought on “Integrating Oracle SOA with Oracle MFT-part1

  1. Pingback: Integrating Oracle SOA with Oracle MFT-part2 | Oracle SOA Blog

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