Tutorial

This tutorial demonstrates how to use Saddle beyond just editing Mule configuration files.
To accomplish this, a simple business scenario will be created and then afterwards implemented by using Saddle.

Scenario:

Scenario_621

The ERP system of a clothing reseller notes that certain items are running out of stock. Therefore some items will have to be automatically reordered from the producer. The reseller's ERP platform produces a message containing the relevant information for the order. This order message is a flat file having the data elements separated by delimiters. In contrast, the slightly more mod-ern ERP system of the producer requires an order message in XML-format and a different structure.

Challenge:
The flat file generated by the reseller ERP system has to be transformed into an XML order message with a different structure that is compatible with the ERP system of the producer.

Approach:
The Saddle message layer will parse the data from the reseller's ERP flat file into a structured rep-resentation that allows it to arbitrarily access all of its information. Afterwards, the content of the message is mapped to a structure that corresponds to the format that is expected by the producer's ERP. Finally, an XML-file is created from this structure and sent to the producer's ERP.

You can find all of the files from this tutorial in the download section.
To use the example as configured, copy the folder “OrderToPurchaseExample” to your “C:” drive.
For Linux systems, the paths used in the Mule configuration file have to be adapted to the folder location on your system.


The download section also contains further tutorials about Database communication and HL7 handling. These tutorials are also provided with a PDF documentation and all files needed to test them.

We might also create an online version of these tutorials at a later point of time.