How to Set up personal FTP server on windows machine and use it in Oracle SOA Suite FTP Adapter

In this post we will see how to set up your own FTP server and configure it in the FTP adapter in Oracle SOA Suite.

Here I will take you through the steps to setup a folder in windows machine as an FTP repository using FileZilla.

To start working on this POC , first we have to download the FileZilla Server .

Install the filezilla server with default settings and start the FileZilla server.

Once you start the Filezilla server , it will open the home page specify the localhost ip address as the server address and then click on OK. Once done it will open FileZilla server server main screen .

Now go to Users from Edit menu . Click on Add to create a New user.

By default it creates user with no password, but we can enable the password option and enter a password of your choice.

ftp5

Now we have to specify the shared folders for this user , Go to shared folders and click on ADD in shared folders to specify the folder.

ftp15

Once after selecting the folder ,provide a alias name to the folder , provide the permissions to the folder and click on OK.

ftp7.JPG

Now you are done with setting up FTP server and user on your local machine , try connecting to the server with FileZilla Client and place some file in to your FTP server directory .

ftp8

Configuring FTP adapter in SOA Suite

Login to your weblogic console and go to deployments and open FTP adapter .

Navigation## Deployments -> FTP adapter -> Configuration -> Outbound Connection pool

ftp9

Create a new connection pool to access the newly created FTP server and provide the jndi name and click on Finish.

ftp11

Open the newly created connection, provide the host (your ftp server ip address), server type as win, user and password.

ftp16ftp17ftp12ftp13

Now we will create a BPEL process which will use this jndi connection for connecting to FTP server and read the files.

My BPEL process looks like this .

ftp14

That’s it , deploy the composite to SOA server and test the results.

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