Data Transformation Engine HTTP Adapter Reference Guide

Chapter 4 - Syntax Summary Example Files
HTTP Adapter Reference Guide
27
Create a Type Tree
In this example, the group type Message contains the components needed for the
HTTPGetCookie map. The group type Header(s) contains the item type
HeaderName and HeaderText.
Configure the Map Input and Output Cards
The HTTPGetCookie map input and output cards specify the Http.mtt file as its
type tree in the TypeTree setting. Both the input and output cards use the group
type Message from that type tree in the TypeName setting. Both cards also use
the –HDR command to specify that the map will perform an operation on headers
in the HTTP path in the –URL command.
For example, the GET > Source > Command in the Source setting of the input
card is:
-HDR –URL HTTP://www.ilost.com/home/login/1,23456,,00.html -TV
The PUT > Target > Command in the Target setting of the output card is:
-HDR -URL HTTP://www.ilost.com/user_registration/manual_login
/process_sign_in/1,23456,,00.html -TV