Developing and using XML map to process message arrays
yingzhao 1000000JD2 Visits (6283)
In my role as a support engineer at IBM, I sometimes come across questions regarding XML maps. According to the information center, in a heterogeneous environment, different systems may use different message object formats. To consume a message with a different object format, developers rely on features, such as XML map, to perform the message transformation. Correspondingly, WebSphere Integration Developer V7.0 and IBM Integration Designer V7.5 offer corresponding graphic user interfaces to facilitate this development.
To get started, refer to the following article on developerWorks for a practical example on how to use XML map in a real-world loan application scenario: Processing an array using an XML map in WebSphere Integration Developer V7
The above article elicits the technique - developing XML maps - to separate an array of objects into several smaller output arrays based on each object’s content. First, the author begins with a banking scenario, which requires the implementation of a web service that receives a list of customers who are applying for a loan. The service divides the applications into two piles and returns them to the caller so that they can be processed separately. This requirement - dividing the array of input into two piles - can be effectively implemented using XML maps. The author then goes on to introduce the graphic-based development interface that developers use to facilitate the XML map development. The article concludes with applying this XML map development utility to develop the required maps in the sample scenario. Check it out!