• Call us: +91 9501707741
  • tutorialzdiary@gmail.com


SOA SUITE 11g Tutorials

Chapter 1: Introduction
Chapter 2: What is SOA Suite ?
Chapter 3: SOA Suite Architecture
Chapter 4: SOA Suite Components
Chapter 5: BPEL
Chapter 6 : Mediator
Chapter 7: Business Rules
Chapter 8: Human Task
Chapter 9: Adapters
Chapter 10: Error Handling

SOA SUITE 11g Training

Oracle SOA Suite 11g Training Course

SOA SUITE 11g Installation

Part 1: SOA Suite Server Installation
Part 2: JDeveloper Installation
Part 3: Start and Stop Server

SOA SUITE 11g Interview Questions and Answers

Part 1: SOA Suite Basics
Part 2: Installation
Part 3: SOA Suite Architecture
Part 4: BPEL
Part 5: Mediator
Part 6: Business Rules
Part 7: Human Task
Part 8: MDS
Part 9 : Adapters
Part 10 : File and FTP Adapter
Part 11 : Database Adapter
Part 12 : JMS Adapter
Part 13 : Error Handling
Part 14 : Security-OWSM

Part 10 : File and FTP Adapter

Question: Why File Adapter is used in SOA Suite tool ?.
Answer: File adapter is used to read and write file from and to local system.

Question: Why FTP Adapter is used in SOA Suite tool ?.
Answer: FTP adapter is similar to File adapter with one difference that this adapter is used to read/write the file from/to remote system.

Question: What all differences we have between File and FTP adapters.
Answer: Following are the major differences between File and FTP adapter.
File Adapter
1. It is used to deal with local systems only.
2. Do not require any configuration to make this adapter work.

FTP Adapter
1. It is used to deal with remote systems.
2. Outbound Connection Pool needs to be configured with FTP details to make this adapter work.

Question: File & FTP adapters are known and Transactional or Non-Transactional adapters?.
Answer: These adapters are known as non-transactional adapters as these adapters does not support transactions.

Question: Can we read flat files using these adapters?.
Answer: yes, we can read both Flat and XML files using these adapters.

Question: Do we have support for multiple directories in File & FTP adapter ?
Answer: Yes, we can specify more than one directory for these adapters. This is applicable to both physical and logical directories.

Question: What is difference between Physical and Logical Directory ?.
Answer: Below are the major differences between Physical and Logical paths.

Physical Path

1. As name suggest, we mention actual full path (physical) of directory
2. Not Flexible
3. We need to manual change this when difference environments has different paths

Logical Path
1. Here we can mention any logical name and actual value of that path define in Composite.xml file.
2. Flexible as we can change it from EM console.
3. We can easily replace this path with the help of Config plan if we have difference paths in different environments.

Question: What all operations we can perform in these adapters ?.
Answer: We can perform following operations in File and FTP adapters.
1. Read file
2. Write File
3. Sync Read
4. List Files

Question: What is the difference between Read and Sync Read operation ?.
Answer: We go for Read operation when we need to perform polling i.e. our process start with polling for file and Sync Read operation is used when you need to read the file in between the flow .

Question: Can we read the file without reading its content?.
Answer: Yes, we can read the file without reading its content by selecting “Do not read file content” check box.

Question: How we read large files using these adapters?.
Answer: We can use streaming option to read large files using these adapters. We can also read the files in attachment form.

Question: Can we append to existing file using these adapters?.
Answer: Yes, we can append to existing file using these adapters.

Question: What is minimum file age property ?.
Answer: This property is used to ensure proper hand shaking, by using this property we can ensure that we read only that file that are completely written by clients, we don’t read incomplete files. e.g. If we set this property value as 2 minutes, adapter will only read that files that are 2 minutes older in that folder.

Question: What is Trigger file option?
Answer: By default, polling by inbound Oracle File and FTP Adapters start as soon as the endpoint is activated. However, if you want more control over polling, then you can use a file-based trigger. Once the Oracle File or FTP Adapter finds the specified trigger file in a local or remote directory, it starts polling for the files in the inbound directory.

For example, a BPEL process is writing files to a directory and a second BPEL process is polling the same directory for files. If you want the second process to start polling the directory only after the first process has written all the files, then you can use a trigger file. You can configure the first process to create a trigger file at the end. The second process starts polling the inbound directory once it finds the trigger file.

Question: What is Native format ?.
Answer: Native format means, we read the file in opaque format, we do not convert it to XML format from its original format.

Question: Can we change the file name and directory path at runtime ?.
Answer: yes, we can change the file name and directory path at run time, for that open the Invoke activity used to invoke file/ftp adapter then go to Properties tab and update the following properties for the same.

Question: What will be output for file list operation?.
Answer: File List operation shows that what all files are available in the specified folder and also show file name, file size and time stamp of each file.


Training Enquiry