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 check if a file exists on a FTP location

AmitSoaDevMay 13 2009 — edited May 26 2009
Hi,

In the middle of a BPEL process, I need to check if a file exists on a FTP location or not. I am using Synchronous Get for this, and as I just want to check, I specify that I dont want to delete/archive the file after reading. So far so good.

From the performance point of view, I should avoid reading the content, I just need to know if the file exists, after all. So I thought of using the UseHeadders=true. But I got an error when I tried to use it.

*file:/c:/product/10.1.3.1/OracleAS_2/bpel/domains/default/tmp/.bpel_ErrorTester_1.0_0e44bbf0841d1e9eea16796361a55ad3.tmp/CheckIfFileExist.wsdl [ SynchRead_ptt::SynchRead(Empty,opaque) ] - WSIF JCA Execute of operation 'SynchRead' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.outbound.FTPReadInteractionSpec due to: Error while setting JCA WSDL Property.*
Property setUseHeaders is not defined for oracle.tip.adapter.ftp.outbound.FTPReadInteractionSpec
Please verify the spelling of the property.
*; nested exception is:*
* ORABPEL-12532*
Error while setting JCA WSDL Property.
Property setUseHeaders is not defined for oracle.tip.adapter.ftp.outbound.FTPReadInteractionSpec
Please verify the spelling of the property.

Is this expected? I am using SOA Basic installation, upgraded to 10.1.3.4, and Jdev 10.1.3.4

If so, what other options do I have.

Regards,
Amit
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 23 2009
Added on May 13 2009
12 comments
5,067 views