Follow these steps to add the getQuote activity to WhileLoop:
- Switch to the PortfolioEvaluatorProcess editor.
- Click the Snippet icon
on the palette.
- Click the Invoke icon
on the palette.
- Click the WhileLoop figure
.
The Invoke figure
was added.
- Click the Properties tab.
The Display Name field is set to Invoke.
The Name field is set to Invoke.
- In the details section, click the Description tab.
- In the Display Name field, type getQuote.
The Name field is set to GetQuote.
- In the details section, click the Details tab.
- Click Browse.
The Select a Partner window opens.
- Click net.xmethods.services.stockquote.StockQuotePortTypePartner.
- In the Partner Name (? = any character, * = any String) field, type net.xmethods.services.stockquote.StockQuotePortType.
- Click OK.
- From the Operation list, click getQuote.
- Clear the Use Data Type Variables check box.
- Click Browse.
The Select Request Variable window opens.
- In the Variable Name (? = any character, * = any String) field, type getQuoteInput.
- Click getQuoteInput.
- Click OK.
- Click Browse.
The Select Response Variable window opens.
- In the Variable Name (? = any character, * = any String) field, type getQuoteOutput.
- Click getQuoteOutput.
- Click OK.
- Click the Properties tab.