cancel
Showing results for 
Search instead for 
Did you mean: 

Crete File - Payload

Former Member
0 Kudos

Guys,

I need create one file with value of xml element, exemple:

<File>

<name>test.txt</name>

<source>My code of file test</source>

</File>

I need write in file only value of element "source"

How do i have to create my payload?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Am not clear with u r question.

u want to write the content of the element "Source" in the Target .

U have Designed u r Source Interface (as shown by u ) well design a Target Interface that would collect only the content of the element "Source"

By using Receiver File Content Conversion , convert this Target XML to File.

Hope this wat u r striving for.

If not elobrate more r put in other word for more.

thx

rgds

Srini

Answers (1)

Answers (1)

Former Member
0 Kudos

1)It can be done with User defined functions.

2) in the mapping you can create using the node functions.

Former Member
0 Kudos

Hi,

Yeap, but how can i create that file using File Adapter Receiver