Skip to Content
0
Former Member
Nov 26, 2009 at 09:37 AM

Source structure of XML file as different from Message type?

28 Views

Hi,

We are picking an xml file from the FTP server of the client.

We have source message type 'MT_Invoice' with data type as 'DT_Invoice'.

When we open the message mapping test tab, the source structure is as shown below.

<ns0:MT_Invoice xmlns:ns0="urn:maxxium:nordic:invoice:inbound">

<Invoices>

<Invoice>

.

.

.

.

</Invoice>

</Invoices>

</MT_Invoice>

My question is "What should be the structure of the XML file that the client is depositing on to the FTP server?".

Should it start with the tag 'MT_Invoice' with the namespace or should it simply start from <Invoices> tag.

I have tried various combinations for the source xml structure. But all are failing.

(This is evident from the fact that the mapping is failing. That's why I have given the structure from the source structure of the message mapping tab.)

Kindly help.

Thanks,

John