![]() Figure below shows the flat XML structure generated by the file adapter using file content conversion. We will then use two-step message mapping to convert the flat XML to a nested XML. Click the image on the right to see an enlarged view. Hence we will use a two step message mapping to attain the required result.įirst, we will use file content conversion as shown to covert the incoming file to flat XML structure as supported by the adapter. ![]() Node4 – Occurs 0.unbounded and repeats under the preceding Node3ĭue to limitation of the standard File adapter, it is not possible to directly convert the incoming file to the deeply nested target structure. Node3 – Occurs 0.unbounded and repeats under the preceding Node2 Lets say we have an incoming flat file with structure as described below –Īnd the target structure is as shown below – William had a similar requirement, and we came up with a generic solution which is described below. ![]() This article provides a workaround to accomplish the same thing by using only the graphical mapping. ![]() Converting incoming file to deeply nested structures would require use of either custom developed adapter modules or third-party conversion agents. Standard File Content Conversion allows you to convert the incoming file to flat XML structures only i.e. Many a times, you are required to convert flat file structures to deeply nested structures like IDocs.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |