- It is a reusable concept.
- Invoke using for
- call concrete WSDL
- call adapters
- File adapters
- DB adapters
- FTP adapters
- JMS adapters
- Oracle BAM adapters
- Oracle Application adapters
- SAP / TIBCO adapters(3rd party adapters)
For – each:
- Read file/ records one by one based on polling frequency
- Root node
right click
Add XSL node
for – each
File Read/Poll:
Interview Question:
whenever you take an adapter each adapter creates
- .jca (java connecting architecture)
- .WSDL
File Adapters:
10g | 11g |
| Read/poll |
| Write |
| Synchronous Read, list files |
Aspired to become an Oracle SOA Developer? Explore the post to discover the know-hows on
File poll/read to file write: (empty BPEL process)
File poll These 3 operations we are taking “empty ”BPEL process
DB poll
JMS consume
Note:
Empty BPEL process “Receive activity”
Create instance -> only for input receive activity.
file read:
- polling frequency
- XSD [Native format]
- input file path(physical)
- Delete files after successfully retrieval
File write:
- Sample XSD(which format display output file)
- Outgoing files path/logical name
- File naming conversion
Assign:
Input file invoke input
Synchronous Read:
Only once it read in between process.
- In between process means -> Between receive and reply activities
- It will poll only one file(It contain multiple records)
File_write |
Sync Read |
Invoke2 |
Transform |
Invoke1 |
Assign |
Receive |
Client |
Syncredd- fle write:
Assign:
Invoke input variable
Transform:
Invoke1 - invoke2
Learn more about Oracle SOA Interview Questions in this blog post.
Case1:
Static file name input:
Synchronous read:
6 -8 File name(sample.txt) (or)*.txt
Case2:
Dynamic file name input:
Synchronous read:
6 – 8 file name (dummy file name) wxyz.txt
Invoke 1:
Double click properties
Name | Value | Type |
Jca.file.filename | value | input |
Testing (EM)
Input: any string data .txt
Invoke 2:
Double click properties
Name | Value | Type |
Jca.file. file name | Input variable/payload/filename client:process/client:input | input |
Testing (EM)
Input:sample.txt
Note:
*.*
* It takes any name /file
. .txt, .xml,.doc
* Any extension .xml, .doc, .txt, .xsd
For an Indepth knowledge on Oracle SOA click on:
- Oracle service bus in SOA
- Oracle SOA Business rule engine
- Java messaging service in Oracle SOA 11g
- Oracle 11g installation step by step process
- How to work with FTP(File transfer protocol) in Oracle SOA