Creating service interfaces for capabilities in service models
Service interfaces represent how service providers and
consumers will interact with each other, both within and outside the
system. A service interface will typically define one or more operations
that the service will provide. It may also define one or more operations
that a consumer of the service must provide. You can
create a service interface from scratch or derive one from a capability
or a BPMN element.
Procedure
- In the diagram editor, right-click a capability and select Add Services Modeling / ServiceInterface (simple or collaborating)
- Type a name for the service interface.
Results
A service interface that contains the same operations as the capability is created. An <<expose>> relationship is automatically created from the new service interface to the capability from which it was just derived.
Tip: To create a service interface
from scratch or from a BPMN element, in the Palette, click beside
Service Interface, and select a type of service interface. Then, type
a name for the service interface, or specify the BPMN element from
which to create the interface. Then click OK.
If you create a service interface from a BPMN element with tasks,
a service interface is created with an operation for each task.