on 04-05-2016 12:20 PM
Hello Experts,
Our PI server is on 7.31 and we are trying to convert the XML message structure to the file structure as below:
XML structure
MT
Header
Field1
Field2
Details
Field3
Field4
Header
Field1
Field2
Details
Field3
Field4
Details
Field5
Field6
File structure
Field1;Field2
Field3;Field4
Field1;Field2
Feild3;Field4
Field5;Field6
Since this is not possible using the FCC, we are trying to use the message transform bean with the configuration as per the attached file. Upon checking the logs of message processing, we see that the MTB has executed and transformation has happened successfully, but the output is the same XML file which has been generated by the mapping program.
Can you check if the MTB configuration is correct?
Regards,
Diptee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Praveen,
The source structure we have is like
Details
Field1
Field2
Field3
Field4
Feild5
Out of these, the Field1 and Field2 get mapped to Field1 and Field2 under Header, and all other fields under Details for the target structure. Also the source may have multiple records with same value in Field1 which have to be grouped under one Header on the target side.
Can you let me know how may I achieve this alongwith the solution you suggested?
Also, we are using module as FCC wont support a 3-leve structure.
Regards,
Diptee
Hi Diptee,
I think the problem is that you have two headers with their details, i think only one level is supported.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.