on 11-26-2009 9:37 AM
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
Hi ,
Your Source file is correct . Its will start with the MT and the namespace .
here Invoices node is repeating which contain many invoice . So Check it accordingly
Regards,
Jude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> 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
you are picking an XML file. So you should create the MT which would represent exactly the XML format of the source file.
So ideally if your file starts with <invoice>, then name your MT as invoice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
After entering values, if i am taking the payload from the 'test' tab of the message mapping, then it would contain namespaces.
Are you saying that the file that the client is providing should contain namespaces. That is not possible, i guess.
Whatever you people are saying might work when you test from RWB, but will not work when XI is picking up the file from an FTP location.
Kindly confirm the correct answer.
Thankks,
John
Open Message Mapping --> test tab --> Fill all the details..i.e. fill all the relevant fields --> Click the SRC tab ---> the editable section that you see should be your payload .....and yes in your case it should start with MT_Invoice and not Invoices.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
Just go to the message mapping test tab.
Enter the data in the tabular format and click on the SRC button.
You will then see the xml form of the data you have netered.
Then you can copy the content into a file.
This file can be used as a source file for your scenario.
Regards,
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.