cancel
Showing results for 
Search instead for 
Did you mean: 

File Receiver Adapter: Content Conversion

elko_hasse
Participant
0 Kudos

Hello,

I have a message with the following xml structure:

  <?xml version="1.0" encoding="UTF-8" ?>

  <ns0:MT_Addenda xmlns:ns0="http://www.sat.gob.mx/cfdi/1">

  <Line>Text 1</Line>

  <Line>Text 2</Line>

  </ns0:MT_Addenda>

In the file receiver adapter I want to convert to the following plain text file:

Text 1

Text 2

What parameter do I have to set in the adapter ?

Thanks for your help?

Elko

Accepted Solutions (1)

Accepted Solutions (1)

elko_hasse
Participant
0 Kudos

Hi,

solved it myself.


Changed interface to


<?xml version="1.0" encoding="UTF-8" ?>

  <ns0:MT_Addenda xmlns:ns0="http://www.sat.gob.mx/cfdi/1">

  <File>

  <Line>Text1</Line>

  <Line>Text2</Line>

  </File>

  </ns0:MT_Addenda>

and set parameters in content conversion of receiver adapter as follows:

Thanks

Elko

Answers (0)