Skip to Content
0
Former Member
Feb 26, 2009 at 05:23 PM

Sender File Adapter - remote FTP server program execution

20 Views

Hi all,

I have a scenario

X12 -> XI -> File

where sender File adapter is used. The input file is X12 txt document which needs to be converted into X12 xml format. I have created astylus studio XSLT mapping which uses Convertor to convert this txt file to X12 XML.

I don't know how to configure sender file adpater to run this mapping on the source file before picking it up. have created a windows batch file on the FTP server which runs tis XSLT mapping on the txt file and replaces it with X12 format xml. This batch file uses command line parameters of stylus studio to run XSLT mapping on input txt file and generates an xml.

I am not sure how to run this mapping on the input file before processing starts in PI file adapater.

I tried running command line parameters of Sender file adapter but that didn't worked.

Please help.

Thanks

-Kulwant