Forum Stats

  • 3,827,255 Users
  • 2,260,751 Discussions
  • 7,897,192 Comments

Discussions

How To Dynamically specify ArchiveDirectory for SyncRead operation in SOA11g

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

Tagged:
This discussion has been closed.