1 Reply Latest reply: May 26, 2014 1:25 PM by Maanik RSS

    File Listing in FTP Adapter

    Maanik

      Hi All,

      I have given below the jca connection factory details. I am creating dynamic ftp using jca.jndi and I would also like to overwrite the IncludeFiles property dynamically. At runtime i will choose what type of files that i need to list(xml, txt etc).

       

      <connection-factory location="eis/ftp/FTP" UIincludeWildcard="*.*"/>

      <endpoint-interaction portType="FileListing_ptt" operation="FileListing">

          <interaction-spec className="oracle.tip.adapter.ftp.outbound.FTPListInteractionSpec">     

            <property name="PhysicalDirectory" value="/Input/test"/>           

            <property name="Recursive" value="true"/>

            <property name="IncludeFiles"  value=""  />

            </interaction-spec>

        </endpoint-interaction>

       

      In bpel while invoking ftp adapter i am trying to give

      <bpelx:inputProperty name="jca.jndi" variable="jndivar"/>

      <bpelx:inputProperty name="jca.ftp.IncludeFiles" expression="string('.*\.txt)"/>

       

      The first property is working as expected but the IncludeFiles property is not working. Kindly share your ideas.

       

      Thanks,

      Maanik