The ServiceInterface diagram is dedicated to model ServiceInterfaces, Providers, Consumers and their relationships. The Capabilities can be dragged and dropped to show “expose” relationships between Service Interfaces and Capabilities.
Table 6 Service Interface Diagram Palette
Command | Description |
---|---|
![]() |
Creates a Class with SoaML.ServiceInterface stereotype Stereotype representation: “text” Restrictions: ServiceInterfaces inside of ServiceInterface should not be created. |
![]() |
Creates a Interface with SoaML.Provider stereotype Stereotype representation: “text” SmartAction:
![]() |
![]() |
Creates a Interface with SoaML.Consumer stereotype Stereotype representation: “text” SmartAction:
![]() |
![]() | Creates an Operation inside a Service Interface, Provider or COnsumer |
![]() |
SmartAction:
|
![]() | Creates Dependency with “use” stereotype Stereotype representation: “text” |
![]() | Creates Connector between 2 internal parts, e.g. two roles representing Provider or Consumer interfaces. Stereotype representation: “text” |
![]() | Creates an dependency with SoaML.Expose stereotype between ServiceInterface and a Capability Stereotype representation: “text” Restriction: Link between a ServiceInterface and a Capability only |
![]() | Creates a traceability between two model elements |
![]() | Creates a Note for a model element |
Figure 10 Service Interface Diagram Example
The advanced features are available when right-clicking on a relevant element in the model explorer.
Applicable to: “Provider” interface.
Action: Creates a “ServiceInterface” class with all operations of the “realized” interface.
Smart action: This command is applicable to a multiple selection of “Provider” interfaces
Figure 11 Derive Service Interface Command
Applicable to: “ServiceInerface” class
Action: Creates a “ServiceInterface” class, with the following properties
Smart action: This command is applicable to a multiple selection of “ServiceInerface” classes
Figure 12 Conjugate ServiceInterface Command
This is the major use case extracted from the SoaML specification and implemented in the SoaML Modelio module, including conjugate Service Interface definition:
Figure 13 Service Interface Modeling Use Case
“Expose” use case:
Figure 14 Exposing Capability Use Case