Hi Experts,
Is there a way to do Sync Read a file using FileAdapter with jca.file.FileName = "ABC100815709_XY564630900*.pdf"
Please advise.
I am getting this error message:
Caused by: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/CompName/WSDLs/DBPoller/fileSyncRead.wsdl [ SynchRead_ptt::SynchRead(Empty,opaque) ] - WSIF JCA Execute of operation 'SynchRead' failed due to: No Data to process.
No Data to process.
File /app/dev/utils/ABC100815709_XY564630900*.pdf to be processed was not found or not available or has no content
; nested exception is:
BINDING.JCA-11007
No Data to process.
Workaround I think of:
1. Get the list of files on that directory using another File Adapter List.
2. Do a string compare based on the prefix and get the file name.
3. Assign the file name to jca.file.FileName on the sync read.
Thanks