Service Interface Diagram

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.

4.2.1 Palette

Table 6 Service Interface Diagram Palette

Command Description
ServiceInterface Creates a Class with SoaML.ServiceInterface stereotype
Stereotype representation: “text”
Restrictions: ServiceInterfaces inside of ServiceInterface should not be created.
Provider Creates a Interface with SoaML.Provider stereotype
Stereotype representation: “text”
SmartAction:
    1. If clicked inside of exiting ServiceInterface, a new part is created typed by newly created additional “Provider”
Consumer Creates a Interface with SoaML.Consumer stereotype
Stereotype representation: “text”
SmartAction:
  • If clicked inside of exiting ServiceInterface, a new part is created typed by newly created additional “Consumer”
Operation Creates an Operation inside a Service Interface, Provider or COnsumer
Smart “Realize” link SmartAction:
  1. If target element is a Class, creates “Generalization” link
  2. If target element is an Interface, creates “Realization” link
"Use" link Creates Dependency with “use” stereotype
Stereotype representation: “text”
"Connector" link Creates Connector between 2 internal parts, e.g. two roles representing
Provider or Consumer interfaces.
Stereotype representation: “text”
“Expose” link Creates an dependency with SoaML.Expose stereotype between ServiceInterface and a Capability
Stereotype representation: “text”
Restriction: Link between a ServiceInterface and a Capability only
Traceability link Creates a traceability between two model elements
Note Creates a Note for a model element


Figure 10 Service Interface Diagram Example

Advanced Features

The advanced features are available when right-clicking on a relevant element in the model explorer.

“derive ServiceInterface” command

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

“conjugate ServiceInterface” command

Applicable to: “ServiceInerface” class

Action: Creates a “ServiceInterface” class, with the following properties

  • name starting with “~”, e.g. for “PO Service” service interface, a “~PO Service” service interface is created
  • “Realize” links of service interface, become “use” links of conjugate service interface
  • “Use” links of service interface, become “realize” links of conjugate service interface
  • All operations of “realized” interfaces are copied into the service interface

Smart action: This command is applicable to a multiple selection of “ServiceInerface” classes


Figure 12 Conjugate ServiceInterface Command

Use Cases

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

image010.png (1.18 KB) admin admin, 25 June 2015 10:04

image061.png (1.15 KB) admin admin, 25 June 2015 10:04

image039.png (44.7 KB) admin admin, 25 June 2015 10:04

image011.png (579 Bytes) admin admin, 25 June 2015 10:04

image035.png (1.13 KB) admin admin, 25 June 2015 10:04

image045.png (19.9 KB) admin admin, 25 June 2015 10:04

image030.png (264 Bytes) admin admin, 25 June 2015 10:04

image037.png (557 Bytes) admin admin, 25 June 2015 10:04

image032.png (1015 Bytes) admin admin, 25 June 2015 10:04

image042.png (22.4 KB) admin admin, 25 June 2015 10:04

image041.png (1.1 KB) admin admin, 25 June 2015 10:04

image031.png (845 Bytes) admin admin, 25 June 2015 10:04

image012.png (845 Bytes) admin admin, 25 June 2015 10:04

image029.png (1.06 KB) admin admin, 25 June 2015 10:04

image034.png (1.24 KB) admin admin, 25 June 2015 10:04

image023.png (1.37 KB) admin admin, 25 June 2015 10:04

image036.png (640 Bytes) admin admin, 25 June 2015 10:04

image046.png (6.33 KB) admin admin, 25 June 2015 10:04

image043.png (1.26 KB) admin admin, 25 June 2015 10:04

image038.png (711 Bytes) admin admin, 25 June 2015 10:04