cancel
Showing results for 
Search instead for 
Did you mean: 

Non XML attachment to XML in sender mail adapter

Former Member
0 Kudos

Hi,

I am working with sender mail adapter and usng payloadswapbean. My attachment is non XML and I need to convert it in to XML in order to mapping. How can I do that? Can someone explain if can I use MessageTransformBean for this purpose and if so, how?

Or any other method for doing this?

Thanks,

Rakesh

Accepted Solutions (0)

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

Is the attachment in text format? If yes, then after the usage of PayloadSwapBean, you may try using MessageTransformBean in the same module chain. And you will be able to convert it into xml format.

Regards,

Prateek

Former Member
0 Kudos

Thanks Raj.

My Problem was I did not get to understand the documentation for that module to convert plain text to XML. As of now I have used XML Dom in the module to create my own XML payload. But I would definetly like to know about the MessageTranformBean too.

Former Member
0 Kudos

Any inputs?