cancel
Showing results for 
Search instead for 
Did you mean: 

Non XML to Non XML mapping in Java Mapping

Former Member
0 Kudos

I heard that non xml to xml converison is possible using Java mapping

But is a non xml to non xml mapping possible?

or in that case is a xml to non xml conversion possible?

Accepted Solutions (0)

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

The purpose of mapping is to convert one xml format into another. It is the work of adapter to convert xml to non-xml or vice versa. What is your requirement?

Regards,

Prateek

Former Member
0 Kudos

I have a non xml message coming in as a flat file.

I need to add some dynamic headers (the header i need here is basically the file name itself) to this message and send it to the reciever again as a non xml through HTTP.

Edited by: Bharath Sai on Dec 12, 2008 9:44 AM

prateek
Active Contributor
0 Kudos

At receiver, I would suggest to use SOAP adapter with option "Do not use SOAP Envelop". This way your soap adapter will show behavior similar to http adapter. Then you may use adapter module like MessageTransformBean at the receiver channel.

Regards,

Prateek