Adding the GetNewsCategories invoke activity

Follow these steps to add the GetNewsCategories invoke activity:
  1. Click the Empty Action icon on the palette.
  2. Click the Invoke icon on the palette.
  3. Click the Flow1 figure Flow1. The Invoke figure Invoke was added.
  4. Click the Properties tab.
  5. In the details section, click the Description tab.
  6. In the Display Name field, type GetNewsCategories. The Name field is set to GetNewsCategories.
  7. In the details section, click the Details tab.
  8. Click Browse. The Select a Partner window opens.
  9. Click NewsCategoriesInterfacePartner.
  10. In the Partner Name (? = any character, * = any String) field, type NewsCategoriesInterface.
  11. Click OK.
  12. From the Operation list, click getNewsCategories.
  13. From the list, click getNewsCategories.
  14. Clear the Use Data Type Variables check box.
  15. Click Browse. The Select Request Variable window opens.
  16. Click GetNewsCategoriesInput.
  17. In the Variable Name (? = any character, * = any String) field, type GetNewsCategoriesInput.
  18. Click OK.
  19. Click Browse. The Select Response Variable window opens.
  20. Click GetNewsCategoriesOutput.
  21. In the Variable Name (? = any character, * = any String) field, type GetNewsCategoriesOutput.
  22. Click OK.
  23. Right-click the Check if categories were inputted label.
  24. From the pop-up menu, select Add Link.
  25. Click the GetNewscategories figure.
  26. Click the connection between Check if categories were inputted and GetNewsCategories.
  27. Switch to the Properties view.
  28. In the details section, click the Details tab.
  29. From the Expression language list, click Java.
  30. From the list, click Java.
  31. Remove the true figure.
  32. Remove the return figure.
  33. Click the Standard... icon on the palette. The Add a Standard Visual Snippet window opens.
  34. In the navigation tree, click SCA services > create specific BO.
  35. Click OK. The Data Type Selection window opens.
  36. In the Filter by type, namespace, or file (? = any character, * = any String) field, type getNewsCategories.
  37. Click getNewsCategories.
  38. Click OK.
  39. Add the Java activity to the canvas
  40. Add the existing GetNewsCategoriesInput variable to the canvas.
  41. Connect the create getNewsCategories figure to the GetNewsCategoriesInput figure.
  42. Add the existing isCategoriesSpecified variable to the canvas.
  43. Add the return figure to the canvas.

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