Configuration for the Advanced Adapter Engine Extended
Task 2: Send a test message and check the runtime
Send a message to the AEX and monitor the message flow.
1. Open the HTTP client for NWJ.
2. Adapt the message parameters and send a message.
3. Monitor the message flow in the AEX and check the file folder
For internal use by CSC only For internal use by CSC only
Unit 3: How the Pipeline Works – Example of an Asynchronous Scenario TBIT40
Solution 10: Create an Integrated
Configuration for the Advanced Adapter Engine Extended
Task 1: Configure the scenario
Configure a scenario on the AEX where a Booking Order Request (send via HTTP) from your Agency (Agency_##) is forwarded to system AgencyTracking using different interfaces.
1. Log on to the Integration Directory of the AEX (System NWJ).
a) Open the PI Tools homepage, using the URL http://wd-flbmt2073.wdf.sap.corp:50000/dir.
b) Use the link Integration Directory / Integration Builder to log on.
2. Create a Configuration Scenario AEX_Flight_Scenario_##.
a) Use menu Object / New to open the Create Object wizard.
b) Select Configuration Scenario, enter AEX_Flight_Scenario_##
as name, keep No Model for Type of ES Repository Model. Choose Create to create the object.
c) Save the Configuration Scenario.
3. Create Business Component Agency_##, assign BookingOrderRequest_Out (http://flight.com/agency) as outbound interface.
a) In the Scenario AEX_Flight_Scenario_##: use the button to create a new object
b) Select Business Component, enter Agency_## as name, and choose Create
c) Switch to tab Sender and use the F4 help to select the outbound interface BookingOrderRequest_Out from namespace http://flight.com/agency.
d) Save the Business Component now.
Continued on next page
For internal use by CSC only For internal use by CSC only
TBIT40 Lesson: Integrated Configuration in Advanced Adapter Engine Extended
4. Create a Communication Channel HTTP_S_Agency_## of type HTTP_AAE / Sender for the Business Component Agency_##.
a) In the detail view of the Business Component Agency_##, on the tab Sender, in the section “Communication Channels” below, use the button to create a new channel.
b) Specify the name as HTTP_S_Agency_##, delete the “*” in the Party field, and choose Create.
c) Choose Adapter Type HTTP_AAE and keep all other parameters as default
d) Save the Communication Channel. You may close the objects.
e) Save the configuration scenario as well with .
Continued on next page
For internal use by CSC only For internal use by CSC only
Unit 3: How the Pipeline Works – Example of an Asynchronous Scenario TBIT40
5. Create three Communication Channels (type File Receiver) for Business Component AgencyTracking.
a) In the Scenario AEX_Flight_Scenario_##: use the button to create a new object.
b) Select Communication Channel, switch the Communication
Component to AgencyTracking, enter File_R_BookingRequest_## as name for the Communication Channel, choose Create.
c) Choose Adapter Type File with , and switch the type to Receiver.
Keep the settings for Transport Protocol (File System NFS), Message Protocol (File), and Adapter Engine (Central Adapter Engine).
d) Set Target Directory to “/usr/sap/trans/tmp/AgencyTracking/Book-ingRequest” and the File Name Scheme to BookingRequest_##_.xml.
Save the channel.
e) Repeat the steps for two additional Communication Channels:
Name File_R_FlightData_##
f) Save and close the 3 channels. You may save the Configuration Scenario as well .
6. Create an Integrated Configuration for the scenario a) Open the Create Object window.
In the Configuration Scenario AEX_Flight_Scenario_##: use the button to create a new object.
b) Maintain the key parameters for the Integrated Configuration.
Select Integrated Configuration. For the sender parameters, use the F4 help to maintain the following parameters:
Continued on next page
For internal use by CSC only For internal use by CSC only
TBIT40 Lesson: Integrated Configuration in Advanced Adapter Engine Extended Choose Create to create the Integrated Configuration.
c) Maintain Inbound Processing.
Use F4 to select the existing channel HTTP_S_Agency_##.
d) Maintain Receiver.
Use F4 to select AgencyTracking.
e) Maintain Receiver Interfaces.
In the section receiver, the (only) receiver AgencyTracking is already selected.
In the section Receiver Interfaces, there is already one line ready for input. For the input field for column Operation Mapping, use the F4 help to select the Operation Mapping BookingOrderService.
Add a second line for Receiver Interfaces (using the icon ), and use the F4 help again to select the Operation Mapping Split_FlightData_PassengerData.
f) Maintain Outbound Processing.
In the section Assigned Receiver Interfaces, all three receiver interfaces are listed. Select them one after the other, and assign the appropriate Communication Channel in the section Configuration (as listed below):
BookingOrderService_In File_R_BookingRequest_##
FlightDataService_In File_R_FlightData_##
PassengerDataSer-vice_In
File_R_PassengerData_##
g) Save the Integrated Configuration.
You may close the object, and you should save the Configuration Scenario as well.
Activate all objects in the Change list.
Continued on next page
For internal use by CSC only For internal use by CSC only
Unit 3: How the Pipeline Works – Example of an Asynchronous Scenario TBIT40
Task 2: Send a test message and check the runtime
Send a message to the AEX and monitor the message flow.
1. Open the HTTP client for NWJ.
a) Your find the HTTP client on the PI Tools homepage of NWJ (http://wdflbmt2073.wdf.sap.corp:50000/dir) in the section Additional Information below.
2. Adapt the message parameters and send a message.
a) Replace “##” for the Sender Service with your group number.
b) In the payload section, you may set your group name in the field Surname as well.
c) Specify your user for AEX (System NWJ) as user id, and set the password.
d) Send a message.
Use the Send button to send a message to the AEX. Since the scenario is asynchronously, you will not see a response. Just check for any error messages.
3. Monitor the message flow in the AEX and check the file folder
a) Open the PI Tools page for AEX (System NWJ) and use the link to Configuration and Monitoring Home (quick link /pimon)
b) In the opening window, choose the Message Monitor.
c) In the next window, you should switch on the filter row with the button left-hand:
d) Enter your Agency_## in the column Sender Component, and press enter to use that filter.
e) Open the share where the File Communication Channels write the files. Use the Start Menu on the WTS Start → Programs → XI Server Connector → XI Server Connector to open the share.
f) Check all three directories to see your files created.
For internal use by CSC only For internal use by CSC only
TBIT40 Lesson: Integrated Configuration in Advanced Adapter Engine Extended
Lesson Summary
You should now be able to:
• Describe the features available with Advanced Adapter Engine Extended (AEX)
• Describe de components and architecture of AEX
For internal use by CSC only For internal use by CSC only
Unit 3: How the Pipeline Works – Example of an Asynchronous Scenario TBIT40