cancel
Showing results for 
Search instead for 
Did you mean: 

File adapter problem - xml file

Former Member
0 Kudos

Is there a way to define in the sender file adapter the document name for a XML file?

This is the xml file that arrives to XI,

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

<dataroot generated="">

<Materials1>

<CODE>FAMILY</CODE>

<TYPE>A75</TYPE>

<NAME_EN>LUBRICANT</NAME_EN>

<NAME_ES>LUBRICANTES</NAME_ES>

<NAME_DE>LUBRICANT_GERMAN</NAME_DE>

</Materials1>

</dataroot>

I have to define the name of the Message Type as "dataroot" in order to avoid problems at mapping time. The problem is that I get from MDM the same structure begin each time,

<dataroot generated="">

...

Is there a way to define the XML Document Name in the Sender File Adapter?

Accepted Solutions (1)

Accepted Solutions (1)

former_member189558
Contributor
0 Kudos

Hello Rob,

FOr ""dataroot" element "generated" is the attribute.... define this attbute in the datatype as well..

Thanks,

Himadri

Answers (2)

Answers (2)

Former Member
0 Kudos

How can I define the Document Name? I am using an XML file, I tried with File Conversion Message Protocol but fails, I think because the file is not a .txt file.

Former Member
0 Kudos

Hi,

Just try giving your message type name in Document name and the message type namespace in your Document namespace.

---Satish