Skip to Content
0
Former Member
Jun 10, 2009 at 12:58 AM

Creating plain text data from XML

28 Views

Hello,

I've created the simple scenario:

1. SOAP Adapter gets the XML message:

<InboundData>123</InboundData>

2. It maps the data usng MessageMapping to the OutboundType that has the only field of OutboundData

3. File Adapter puts the generated data to the FileSystem.

Now I need to store not the XML file as a target, but plain Txt file with the only data - 123. I was trying multiple approaches, but it looks like just the fact that I'm defining OutboundData type forces my data to be XML.

What is the simplest way to store only particular field from XML to the plain text? It looks like I'm missing some concept, so appreciate the link to the tutorial regarding specifically mapping to the text files.

Thanks.