on 12-13-2005 6:41 AM
The scenario I am implementing requires multiple files of different names to be picked up by my adapter. I dont want to create different file adapters for each file. I tried using the "Additonal Files" option in the sender file adapter in my configuration, but am not able to do the same. Any idea as to how the configuration for multiple files for same adapter isto be done?
I haven't tried but remembered that, you can use wild cards. So try .
regards
Shravan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
you can use sap*.xml, It will pick all files which starts from sap and having extention .xml,
you an specify on your requirement.
Regards
Piyush
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
sravan
I have seen this post with no reply, and when i have posted the reply and what a coincidence Your reply is there.
What is your requirement?
You have to send multiple files by using single Communication channel in one scenario?(many output file for one input file)
Or you want to use the same communication channel for multiple files having different name?( one file for one input file)
Claify this so we could help you out what should be done?
Regards
Piyush
The scenarios I am trying to implement requires me to use different file names to be picked by the same file adapter. I cannot use wild card characters, as my file names are all not related and so is the extension of my files.
Requirement: ->Multiple files(different types, ex:.txt,.xml),
-> same communication channel
->no wildcards.
Hi bhavesh
Fundamental of adapter configuration is you have to give valid xml structure to XI, so you will define your configuration according to your requirement.
for .xml you have file as a message protocol while for .csv you have file content conversion as a message protocol.
So you have to define adpater configuration for sender side for one type of structure.
So you need a different communication channel for different extentions.
for diffrent strcutures,having same extention, you can execute this.
Please make me clear that what is your scenario?
why you need to pick all files under a directory with a same communication channel?
Regards
Piyush
are you really sure about this requirement? in XI you have to create a sender agreement for each communication channel, where you specify the message interface of the sender. each communication channel can only be used in ONE sender agreement, so you can only send one interface through a specific file adapter and i'm wondering how you achieve this when you have different extensions thus different content? If you receive XML, you would not need content conversion, if you receive txt or csv, you will need content conversion to put the data into a XML structure... (unless you receive XML with "wrong" extension txt).
So could you give some more detail on what you are doing?
best regards
Christine
Hi Piyush and christine,
I guess you guys have it right when u say that the xml files and other text files need separate adapters due to the file content conversion needed. The scenario I am trying to implement has 2 situations,
1. either xml files are the input
2. text files are the input
I can create different communication channels for each of the 2cases.But, the prblm am facing is that I need the same channel to pick up multiple files of different names. I cannot use wild card characters, but need my channel to pick up these files.
Example: How can the files "example.xml" and "trial.xml" be picked up suing the same adapter. I don't want to use wild card characters like "*.xml", etc.
Hope my requirementsare clear.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.