Processing Overview
If the servlet receives a Message XML, the integration module does the following:
- Extracts authentication information from the MessageHeader. This information can be in the HTTP header instead.
- Validates username and password.
- Stores an entry in the I_message table, and the content in the I_transmission table.
- Sends a MessageAck back to the sender as the synchronous response.
- Checks for presence of MessageTypeGid and StylesheetProfileGid. If neither are present, checks for the MessageProfileGid, and uses the StylesheetProfileGids specified in the Message Profile to determine the correct Stylesheet Profile.
- Using the Stylesheet Profile, the message is parsed to extract designated fields and updates the message table with extracted fields as needed.
- Using the Message Type specified, the module performs the following:
- Notifies Message Center recipients specified on the Message Type
- Associates or disassociates devices to drivers, pieces of equipment, and power units as indicated on the Message Type
- Generates a Transmission XML if indicated on the Message Type. The Transmission XML would then be processed as indicate in the Transmission Processing section above.
- Sends a MessageReport with validation and processing errors; Depending on your property settings, Transportation and Global Trade Management Cloud might only send a MessageReport if there are errors.