Creating the getStockPortfolioValue operation

In the interface editor itself, you must specify the operation and inputs and outputs.

Follow these steps to create the getStockPortfolioValue operation:
  1. Click the Add Request Response Operation button Add Request Response Operation.
  2. Switch to the Properties view. The Display name field is set to News. The Name field is set to News.
  3. In the details section, click the Description tab.
  4. In the Name field, type getStockPortfolioValue.
  5. Switch to the StockPortfolioInterface editor.
  6. Click the Add Input button Add Input.
  7. Switch to the Properties view.
  8. In the details section, click the Description tab.
  9. In the Name field, type inputStockPortfolio. The Data Type Selection window opens.
  10. In the Filter by type, namespace, or file (? = any character, * = any String) field, type StockPortfolioBO.
  11. Click StockPortfolioBO.
  12. Click http://eMergedLibrary/com/emerged/portal - eMergedLibrary/com/emerged/portal/StockPortfolioBO.xsd.
  13. Click OK.
  14. In the Type list, type StockPortfolioBO [http://eMergedLibrary/com/emerged/portal].
  15. Switch to the StockPortfolioInterface editor.
  16. Click the Add Output button Add Output.
  17. Switch to the Properties view.
  18. In the details section, click the Description tab.
  19. In the Name field, type outputStockPortfolio. The Data Type Selection window opens.
  20. In the Filter by type, namespace, or file (? = any character, * = any String) field, type StockPortfolioBO.
  21. Click StockPortfolioBO.
  22. Click http://eMergedLibrary/com/emerged/portal - eMergedLibrary/com/emerged/portal/StockPortfolioBO.xsd.
  23. Click OK.
  24. In the Type list, type StockPortfolioBO [http://eMergedLibrary/com/emerged/portal].
    *StockPortfolioInterface
  25. From the menu, select File > Save (or press Ctrl+S).
  26. From the menu, select File > Close (or press Ctrl+F4). The editor closes for StockPortfolioInterface.

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