Np, you can use the code sample present at the below link, this will give an idea of using the file polling concept. Later for processing the flat file you can create ff schema and dico and process them.
https://techcommunity.softwareag.com/pwiki/-/wiki/Main/File+Drop+Tutorial
https://techcommunity.softwareag.com/pwiki/-/wiki/Main/Flat+File+Processing+Tutorial
1 Like
Thanks for all your valuable suggestions,After placing of ffdata as input stream variable name, I got an output.
thanks
Ram.
Thatâs weird, you are supposed get ffdata as input only content-type equals to âapplication/xwmflatfileâ or have you mapped the âtxtâ to this kind of mime type under Settings > Resources > Mime Types?
1 Like
Hello Experts,
I want to process the .xml file through the file polling,what should I take variable name in the service.
In case if it is a .txt file, ffdata as the variable name it is working fine.
thanks,
ram.
@Mahesh
ffdata as object name not working for the .xml files.
Hi Ramanjaneyulu,
please enable Auditing for the polling service and check in MWS Monitor UI what is in the pipeline.
Set the Auditing porperties as follows:
Enable Auditing: Always
Log On: Error, Success and Start
Include Pipeline: Always
Rgeards,
Holger
I got solution for this problem,changed the mime types in IS. I went to the the below path Settings > Resources > Mime Types > click on edit mime types . I added one mime type.
please check below attached image.
After changing of mime type,getting data into the ffdata variable.
