Oracle SOA Suite 12c Essentials — Question 10
Given the following Oracle File Adapter configuration:
<adapter-config name="ReadPlanBenefit" adapter="File Adapter" wsdlLocation="ReadPlanBenefit.wsdl" xmlns=http://platform.integration.oracle/blocks/adapter/fw/metadata>
<connection-factory location="eis/FileAdapter"/>
<endpoint-interaction portType="SynchRead_ptt" operation=" SynchRead">
<interaction-spec
className="oracle.tip.adapter.file.outbound.FileReadInteraction.Spec">
<property name="DeleteFile" value="false"/>
<property name="PhysicalDirectory" value="/home/plan_benefit"/>
<property name="FileName" value=" plan_benefit.xml"/>
<property name="PhysicalArchiveDirectory" value="/home/plan_benefit/archive/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
Which two statemnts are true?
Answer options
- A. The actual source directory will be specified by a property in the composite.xml file.
- B. Each file read will be moved to an archive directory after it is successfully processed.
- C. This configuration can be used to create an outbound business service component.
- D. This configuration can be used to create an inbound proxy service component.
Correct answer: C, D
Explanation
The correct answers are C and D because the configuration shows that it is set up for synchronous reading, which is typically used for inbound proxy services, and it can also serve as an outbound business service component. Options A and B are incorrect since the source directory is specified directly in the configuration, and there is no indication that files will be archived after processing.