List 操作でのデータ形式変更についての Outbound のテスト

WebSphere Integration Developer テスト・モジュールを使用して、チュートリアル 1 で作成した Outbound モジュールで listCustomer 操作をテストします。

  1. WebSphere Process Server が開始していない場合は、次の手順に従って WebSphere Integration Developer で WebSphere Process Server を開始します。
    1. WebSphere Integration Developer で、「ウィンドウ」 > 「ビューの表示」 > 「サーバー」をクリックして、「サーバー」ビューを開きます。
    2. WebSphere Process Server を開始するには、「WebSphere Process Server v6.0」を右クリックして、「開始 (Start)」をクリックします。
  2. ビジネス・インテグレーション・パースペクティブに切り替えます。
  3. WebSphere Integration Developer で、「FlatFileOutboundModule」を右クリックし、「テスト」 > 「モジュールのテスト (Test Module)」を選択します。
  4. 「詳細プロパティー」を展開します。
  5. 「イベント」ウィンドウで「操作」リストから「listCustomer」を選択し、以下の「初期要求パラメーター (Initial request parameters)」を指定します。
    名前
    customerName 何も入力しない
    Address 何も入力しない
    City 何も入力しない
    State 何も入力しない
    fileName null
    directoryPath C:¥FlatFile
    fileContentEncoding <null>
    includeEndBODelimiter <null>
    Staging directory <null>
    図 1. listCustomer 操作が選択されているイベント・ページ
    この図については周囲のテキストで説明しています。
  6. 「続行」をクリックします。

結果

ListResponseBG ビジネス・グラフがそれに応じて返され、listOfFileNames の値には、指定したディレクトリーに存在するファイルとディレクトリーのリストが含まれています。
図 2. listCustomer の結果を含むウィンドウ
この図については周囲のテキストで説明しています。

利用条件 |


(c) Copyright IBM Corporation 2005, 2006. (C) Copyright IBM Japan 2007
このインフォメーション・センターでは Eclipse テクノロジー (http://www.eclipse.org) が採用されています。