Originally posted by: SystemAdmin
We need to implement a map which receives an XML as an Input and several Java Beans will be created from that input.
We were able to import the classes to WTX and also we were able to do a map from the fields of that XML creating the objects succesfully.
Our problem on one hand is that we are using an EIMS (XML) structure and we need to loop through 2 or 3 sections inside, and on the other hand we have objects that include collections or simple objects on them.
We tried to create Functional Maps to make the structure on the XML loop but as Functional Maps can only have 1 Output Card, it is impossible to create more than 1 objects inside of them. Also F_Maps can not return java objects.
I attach you all the files related to the project (Map, Trees, classes and XML file (Input)). You will find 2 Maps:
-
EIMSTransform_First_Version.mms: This is a version we have with the objects imported and working fine, but EIMS xml is not looping and only creates 1 instance of each class.
-EIMSTransform: What we are trying to do now, working with F_Maps and trying to create the objects instances inside. But not working.
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange