on 11-01-2019 11:02 AM
Hello Expert,
Hope doing well ! request for help in java mapping section with SAX parser to handle deep nested XML to flat fixed length conversion .
I am having requirement to build interface which having deep nested xml structure(output of graphical mapping ) ( with nested uptu 7-8 level with multiple occurrence in inner structure ) which I am not able to convert using standard content conversion /message transformation bean , so achieve expected fixed length file , I need to go for java mapping with SAX parser , so request expert suggestion and help here to develop the java mapping for this requirement ,I am new to java mapping hence looking details inputs to develop this logic .
Below is structure of output of first message mapping .
MT_RecordBulk
FileHeader (1..)
RecordDetails (1..unbounded)
RecordHeader (1..1)
Field1, field2..
RecordRecords (1..unbounded)
RouteHeader (1..)
Field3, field4..
RouteDetails (1..unbounded)
CustomerRecord (1..unbounded)
field5, field6..
RecordSet (1..unbounded)
Field7, field8..
ReadingRecord (1..unbounded)
Field1, field2..
SpecialTextRecord (1..)
Field1, field2..
OpticalRecord (1..)
Field1, field2..
CustomerExtraRecord (1..1)
Field1, field2..
RouteTrailer (1..1)
Field1, field2..
CyTrailer (1..1)
Field1, field2..
FileTrailer (1..1)
Field1, field2..
appreciate your help in advance.
Thanks !
Hi Sugata,
Structure is mentioned in original post with files and occurrences. Please refer that as inputs payload structure.
Regards
Rajeshwar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you share your message type xsd and a sample xml with all values?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.