This is the second of a set of instructions on setting
up your system to use WS-Addressing with IBM® App Connect Enterprise, and illustrates the use of
a reply being sent to an address other than the originating client.
About this task
This topic describes the construction
of a sample logger message flow when using WS-Addressing. This flow
echoes back the input while creating a trace entry in a file to indicate
that the flow has been invoked.
Procedure
- Switch to the Integration Development
perspective.
- Select the message flow name that you used in Building the main message flow
- Press the right mouse button and select New->MessageFlow.
- Enter the name that you require for this message flow;
for example,
Logger
.
- Press Finish to create the flow.
- Select the HTTP folder on the message
flow palette to display the contents.
- Select an HTTPInput node and move
the mouse to the left side of the canvas.
- Click the left mouse button to add the node to the message
flow and enter the name
Logger
.
- Press Enter to finish.
- Select the HTTPReply node from the
palette and move the mouse to the right of the HTTPInput node, leaving
room for a node in between.
- Click the left mouse button to add the node to the message
flow and enter the name that you require; for example,
Logger
.
- Press Enter to finish.
- Select the Construction folder on
the message flow palette to display the contents.
- Select a Trace node and move the
mouse to the right of the HTTPInput node.
- Click the left mouse button to add the node to the message
flow and enter the name that you require; for example
Trace
.
- Press Enter.
- Wire the
out
terminal of the HTTPInput
node to the In
terminal of the Trace node.
- Wire the
out
terminal of the Trace
node to the In
terminal of the HTTPReply node.
- Select the HTTPInput node to display the properties.
In the Basic tab:
- Enter the Data source name that
you require.
- Change the name of the input node
Logger
as
the Path suffix for URL.
- Select the Input Message Parsing tab
and select
XMLNSC
as the Message domain.
- Select the Trace node to display the properties.
- Set Destination to
File
- Set the File path that you require.
- Enter the Pattern that you require.
- Save the message flow.