Skip to Content
Former Member
Mar 17, 2009 at 10:04 AM

Accesing additional files in the sender adapter



I'd like to use this option in the sender file adapter:

--> "In the sender file adapter, you can specify additional files to be included in the XI message as attachments" ... "Additional files are transported unchanged without conversion options"

After testing I'm getting two files in the soap message, which is what I wanted. But how can I get the content of the second file (not the main one).

For example, in a custom module in the file adapter I can get the main payload as this:

public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData)

throws ModuleException {

Message msg = (Message) inputModuleData.getPrincipalData();


I guess that to get the second file it could be something like:


but don't really know what to insert there as a parameter.

Basically I would need to find out a way to access the content of that second file: it could be in a custom module, it could be in a graphical or java mapping...


Edited by: Jorge Lopez on Mar 17, 2009 11:09 AM