WebSphere Integration Developer テスト・モジュールを使用して、チュートリアル 1 で作成した Outbound モジュールで listCustomer 操作をテストします。
- WebSphere Process Server が開始していない場合は、次の手順に従って WebSphere Integration Developer で WebSphere Process Server を開始します。
- WebSphere Integration Developer で、をクリックして、「サーバー」ビューを開きます。
- WebSphere Process Server を開始するには、「WebSphere
Process Server v6.0」を右クリックして、「開始 (Start)」をクリックします。
- ビジネス・インテグレーション・パースペクティブに切り替えます。
- WebSphere Integration Developer で、「FlatFileOutboundModule」を右クリックし、を選択します。
- 「詳細プロパティー」を展開します。
- 「イベント」ウィンドウで「操作」リストから「listCustomer」を選択し、以下の「初期要求パラメーター (Initial request parameters)」を指定します。
名前 |
値 |
customerName |
何も入力しない |
Address |
何も入力しない |
City |
何も入力しない |
State |
何も入力しない |
fileName |
null |
directoryPath |
C:¥FlatFile |
fileContentEncoding |
<null> |
includeEndBODelimiter |
<null> |
Staging directory |
<null> |
図 1. listCustomer 操作が選択されているイベント・ページ
- 「続行」をクリックします。
結果
ListResponseBG ビジネス・グラフがそれに応じて返され、
listOfFileNames の値には、指定したディレクトリーに存在するファイルとディレクトリーのリストが含まれています。
図 2. listCustomer の結果を含むウィンドウ