Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How To Dynamically specify ArchiveDirectory for SyncRead operation in SOA11g

Abhinav MittalNov 25 2013

Hi All

I am trying to perform a read operation(SyncRead) and depending on the dynamic input directory location, I need to modify or change the ArchiveDirectory location as well.

As per the JCA file of the file adapter, I do have the PhysicalArchiveDirectory or LogicalArchiveDirectory, but how can I specify this value from BPEL?

< adapter-config name="fileRead" adapter="File Adapter" wsdlLocation="fileRead.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">

<adapter-config name="readFile" adapter="File Adapter" wsdlLocation="readFile.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.FileReadInteractionSpec">
      <property name="DeleteFile" value="true"/>
      <property name="PhysicalDirectory" value="C:\Read"/>
      <property name="FileName" value="AA12666.pdf"/>
      <property name="PhysicalArchiveDirectory" value="C:\Temp"/>
    </interaction-spec>
  </endpoint-interaction>

</adapter-config>

I want to specify the value for PhysicalArchiveDirectory from BPEL

I am able to set physicalDirectiry and filename through jca.file.Directory  and  jca.file.FileName respectively but what about the ArchiveDirectory?

Please help.

Thanks in advance

Abhinav

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 23 2013
Added on Nov 25 2013
0 comments
237 views