Creating the getStockPortfolioValue operation

In the interface editor itself, we now specify the operation and inputs and outputs.

  1. Click the Add Request Response Operation button Add Request Response Operation.
  2. Switch to the Properties view and click the Description tab.
  3. In the Name field, type getStockPortfolioValue.
  4. Switch to the StockPortfolioInterface editor. Select the getStockPortfolioValue operation.
  5. Click the Add Input button Add Input.
  6. Switch to the Properties view and click the Description tab.
  7. In the Name field, type inputStockPortfolio.
  8. Switch to the StockPortfolioInterface editor. Beside inputStockPortfolio, in the Type field, select string. From the pop-up menu, select StockPortfolioBO.
  9. Click the Add Output button Add Output.
  10. In the Name field, replace output1 with outputStockPortfolio. Beside outputStockPortfolio, in the Type field, select string. From the pop-up menu, select StockPortfolioBO.
  11. From the menu, select File > Save (or press Ctrl+S).
  12. From the menu, select File > Close (or press Ctrl+F4).The editor closes for StockPortfolioInterface.

Feedback
(C) Copyright IBM Corporation 2005, 2006. All Rights Reserved.