Creating an SCA project

This procedure describes how to create a System Component Architecture (SCA) project.

This section describes how an SCA project is created and used in the context of creating your business service model. The description is numerically formatted to clearly show the linear sequence of events.

The following assumptions apply for this discussion:

To create an SCA project, complete the following steps:

  1. In the Business Service perspective, create an application suite
  2. Create an application for the suite you created above.
  3. Set up a process service. You need to establish roles for the process service.
  4. Once you have created your roles for the process service, you must add a channel and define it. For example you may want to make this service available as a Web service by implementing a Web service channel to the process service.
  5. Open the Business Integration perspective.
  6. Open the assembly diagram. It is from this view that you will link your services, setting up all endpoints and interfaces to services to create the appropriate process flow.
    Note: Depending on how the component in your flow is defined determines what the service user sees versus what is going on in the background. Also note that the components can have varying bindings such as an SCA - interface. The SCA approach can dynamically assign components and endpoints as needed, based on meta data in the repository versus having each component hard-wired to each other.
  7. Create your assembly diagram. At appropriate points, add a dynamic assembler component to the flow. This enables the system to dynamically choose the correct endpoint based on meta data stored in the repository.
  8. Assuming that your endpoints will also be SCA components, create separate components for each one, but do not try to wire them to the dynamic assembler.
  9. Make sure that each component has the appropriate interface, then put an Export in front each one.
  10. Wire each Export to its matching component.
  11. Right-click each Export, and click Generate Binding > SCA Binding.
  12. After all Exports are created and configured, save your assembly diagram.
  13. Once all the above has been completed, you need to test your model in the Composition Studio module in order to understand what the interfaces are and how the components function inside the process you have constructed.
  14. Switch to the Business Service perspective.
  15. Import the SCA modules from the assembly diagram as a composite service into your Fabric project. Do this by right-clicking endpoints, and then clicking New > Composite Service,. Then in the pop-up window, make sure that the project which contains your SCA components is selected.
  16. When you expand the endpoint tree on the left side of your screen, you should see an endpoint for each Export you created in your assembly diagram. The result is also shown in the repository changes window on the right-hand side of your work space.
  17. Double-click each endpoint, verify that the Pprotocol is SCA, and then specify an environment. Save each as you are finished to make the warnings disappear.
  18. If you want to test your services now, publish your changes to the Business Services Repository. After they are approved, update your project (right-click your project in the Repository Changes window on the right side, and select Update Project. Now switch back to the Business Integration perspective, and use the Test Component feature for each of your dynamic assemblers to ensure that they work. When you are finished, switch back to the Business Service perspective.
  19. Develop a policy for your service.
  20. In order to test your assumptions, test the policy by running the Dynamic Assembly Simulator.
  21. Once you have verified your policy is operative, publish it by submitting your changes to the Business Services Repository.