Test the listCustomer operation with the outbound module created
in Tutorial 1 using the WebSphere Integration Developer test module.
- If WebSphere Process Server is not started, use the following procedure
to start WebSphere Process Server in WebSphere Integration Developer:
- In WebSphere Integration Developer, open the Servers view by
clicking .
- To start WebSphere Process Server, right-click WebSphere
Process Server v6.0 and click Start.
- Switch to the Business Integration perspective.
- In WebSphere Integration Developer, right click FlatFileOutboundModule and
select .
- Expand Detailed Properties.
- In the Events window, select listCustomer from
the Operation list and provide the following Initial
request parameters:
Name |
Value |
customerName |
Leave empty |
Address |
Leave empty |
City |
Leave empty |
State |
Leave empty |
fileName |
null |
directoryPath |
C:\FlatFile |
fileContentEncoding |
<null> |
includeEndBODelimiter |
<null> |
Staging directory |
<null> |
Figure 1. Events page with
the listCustomer operation selected
- Click Continue.
Result
The
ListResponseBG business
graph is returned as the response and the
listOfFileNames value
contains the list of files and directories present in the given directory.
Figure 2. Window containing the listCustomer results