In the interface editor itself, you must specify the
operation and inputs and outputs.
Follow these steps to create the getStockPortfolioValue operation:
- Click the Add Request Response Operation button
.
- Switch to the Properties view.
The Display name field is set to News.
The Name field is set to News.
- In the details section, click the Description tab.
- In the Name field, type getStockPortfolioValue.
- Switch to the StockPortfolioInterface editor.
- Click the Add Input button
.
- Switch to the Properties view.
- In the details section, click the Description tab.
- In the Name field, type inputStockPortfolio.
The Data Type Selection window opens.
- In the Filter by type, namespace, or file (? = any character, * = any String) field, type StockPortfolioBO.
- Click StockPortfolioBO.
- Click http://eMergedLibrary/com/emerged/portal - eMergedLibrary/com/emerged/portal/StockPortfolioBO.xsd.
- Click OK.
- In the Type list, type StockPortfolioBO [http://eMergedLibrary/com/emerged/portal].
- Switch to the StockPortfolioInterface editor.
- Click the Add Output button
.
- Switch to the Properties view.
- In the details section, click the Description tab.
- In the Name field, type outputStockPortfolio.
The Data Type Selection window opens.
- In the Filter by type, namespace, or file (? = any character, * = any String) field, type StockPortfolioBO.
- Click StockPortfolioBO.
- Click http://eMergedLibrary/com/emerged/portal - eMergedLibrary/com/emerged/portal/StockPortfolioBO.xsd.
- Click OK.
- In the Type list, type StockPortfolioBO [http://eMergedLibrary/com/emerged/portal].

- 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.