Skip to Content
0
Former Member
May 27, 2004 at 03:08 PM

Error when sending additional file contents using the File-Adapter

52 Views

Hello,

I have successfully created a file-inbound-adapter, that sends XML-files to the XI Integration Server. The XI routes these messages successfully to my file-outbound-adapter. So far, so good.

Now I want to add <b>additional file contents</b> to my messages using the following specifications in my inbound adapter:

<b>XMB.AdditionalPayloads=addaPDF

XMB.addaPDF.ContentType=text/plain

XMB.addaPDF.ContentKind=T

file.addaPDF.namePart=".xml"=".pdf"

file.addaPDF.optional=No</b>

This also works fine. The Integration server routes the messages and I can see the attached PDF-files within the XI-Message-Monitor - but... the file-outbound-adapter creates ONLY the XML-File! The attached PDF-File seems to get lost!!

<u>Note</u>: When I use the specification <b>mode=XMBSTREAM2FILE</b> within my file-outbound-adapter, the adapter creates a file, containing all content of the SOAP-Message (including the content of PDF-Files)!

Is there any way to configure the outbound-adapter to create <u>TWO SEPARATE</u> files, means XML and PDF - instead of only <u>ONE big stream</u> (which would be difficult to handle)?

I would appreciate any help on this issue.

Thanks,

Markus