You are the owner of notification service. You send e-mail notifications to your mailing list subscribers to inform them of new store sales or special offers as soon as they are published by the stores.  The stores will publish their sales information in XML files, and will place them in a special folder on their FTP servers designed for your access.

The XML file structure is defined by you, and the same structure is used by all the stores. The XML file contains information such as store name, items on sale, each item name and price, and offer expiration date.

Objectives

To pull the sales information from each store's FTP server, process each file, and make a list of items on sale in a simple text file or CSV format.
Send an e-mail to the mailing list subscribers with a file containing the list of items on sale attached.

Steps

In order to achieve these objectives you will need to complete the following:

Guidance

  1. Use the XML & DTD created in the previous exercise as a guide


  2. You will need to create these folders on the server:
  3. Define a Transformation Map to merge text with values from the XML Store Offer file into a CSV file. The CSV file design will be done in MapForce
  4. The stores will be defined as trading partners. Create new Trading Partners: iiiStore1, iiiStore2
    Review Administration and Housekeeping / Code Maintenance / Trading partner installation-defined properties. As shipped, a property "EXAMPLE – Example installation-defined property" is defined. New Trading Partners will have this property, See the Properties tab for each trading partner.
    Put a unique value, such as iiiSTO, into each trading partner's Example property. Use this in your processing sequence to loop through all trading partners and select your trading partners only.
    Do not create default linked folders for the new trading partners.
  5. You will also need an FTP configuration for each store. Link the FTP configurations for each store's FTP server to a corresponding store (trading partner).
  6. MAIL_SEND: Assume the mailing list is handled by the e-mail service com[pany. You only need to send one email for each XML file received. Send each e-mail to a single address that represents the mailing list service.
  7. Define a text file that will be the body text in your sent email.
  8. Create a processing sequence to do the following: