In the interface editor itself, we now specify the operation and
inputs and outputs.
- Click the Add Request Response Operation button
.
- Switch to the Properties view and click
the Description tab.
- In the Name field, type getStockPortfolioValue.
- Switch to the StockPortfolioInterface editor. Select the getStockPortfolioValue operation.
- Click the Add Input button
.
- Switch to the Properties view and click
the Description tab.
- In the Name field, type inputStockPortfolio.
- Switch to the StockPortfolioInterface editor. Beside inputStockPortfolio,
in the Type field, select string. From the pop-up
menu, select StockPortfolioBO.
- Click the Add Output button
.
- In the Name field, replace output1 with outputStockPortfolio. Beside outputStockPortfolio, in the Type field, select string.
From the pop-up menu, select StockPortfolioBO.
- From the menu, select File > Save (or press Ctrl+S).
- From the menu, select File > Close (or press Ctrl+F4).The
editor closes for StockPortfolioInterface.