webMethods Integration Server
complexMapping a Large Document Sample

Description

The examples in this folder illustrate how to develop and implement a complex mapping. The example in this folder has a company (XYZ corp.) that receives a cXML Order Request from one of its suppliers and needs to map it into their internal Purchase Order format for processing. This example utilizes a different approach to loading the document then the ComplexMapping example. In order to better manage memory, a node iterator is used to load the document node by node, as a consequence this example is has a small speed performance decrease from ComplexMapping.

This is a common scenario for organizations. They will map cXML, OBI, xCBL, etc into their internal standard in order to build a layer of abstraction. Once in their internal format, they will send it to the appropriate backend system for processing.

Setup Requirements

To execute the complex mapping example in this folder, you just need to run the sample.complexMapping.test:runComplexMapping service. It sets the input cXML string, converts it to a node, and then invokes the sample.complexMapping.messageBuilder:buildPurchaseOrder service. Detailed explanations of these services can be found in the Input/Output tab of each service.