Follow these steps to add the GetNewsCategories invoke
activity:
- Click the Empty Action icon
on the palette.
- Click the Invoke icon
on the palette.
- Click the Flow1 figure
. The Invoke figure
was added.
- Click the Properties tab.
- In the details section, click the Description tab.
- In the Display Name field, type GetNewsCategories.
The Name field is set to GetNewsCategories.
- In the details section, click the Details tab.
- Click Browse. The Select a Partner window
opens.
- Click NewsCategoriesInterfacePartner.
- In the Partner Name (? = any character, * = any String) field,
type NewsCategoriesInterface.
- Click OK.
- From the Operation list, click getNewsCategories.
- From the list, click getNewsCategories.
- Clear the Use Data Type Variables check
box.
- Click Browse. The Select Request
Variable window opens.
- Click GetNewsCategoriesInput.
- In the Variable Name (? = any character, * = any String) field,
type GetNewsCategoriesInput.
- Click OK.
- Click Browse. The Select Response
Variable window opens.
- Click GetNewsCategoriesOutput.
- In the Variable Name (? = any character, * = any String) field,
type GetNewsCategoriesOutput.
- Click OK.
- Right-click the Check if categories were inputted label.
- From the pop-up menu, select Add Link.
- Click the GetNewscategories figure.
- Click the connection between Check if categories were inputted and GetNewsCategories.
- Switch to the Properties view.
- In the details section, click the Details tab.
- From the Expression language list, click Java.
- From the list, click Java.
- Remove the true figure.
- Remove the return figure.
- Click the Standard... icon
on the palette. The Add a Standard Visual Snippet window
opens.
- In the navigation tree, click SCA services > create specific
BO.
- Click OK. The Data Type Selection window
opens.
- In the Filter by type, namespace, or file (? = any character,
* = any String) field, type getNewsCategories.
- Click getNewsCategories.
- Click OK.
- Add the Java activity to the canvas
- Add the existing GetNewsCategoriesInput variable
to the canvas.
- Connect the create getNewsCategories figure
to the GetNewsCategoriesInput figure.
- Add the existing isCategoriesSpecified variable
to the canvas.
- Add the return figure to the canvas.