The Service Contract diagram is dedicated to service contract modeling.
The following use cases are covered by this diagram:
The Service Contract diagram is strictly dedicated to modeling Service Contract collaboration internals. The other elements (“Providers” and “Consumers”) are dragged and dropped from the model browser. These elements are modeled elsewhere.
ServiceContract: Creates Collaboration with SoaML.ServiceContract stereotype Stereotype representation: “text”
SmartAction:
Instance: Creates an anonymous role inside of service contract
Context: Simple Service Contract
Restriction: It is impossible to model instance outside of a service contract.
ServiceChannel link: Creates a Connector with SoaML.ServiceChannel stereotype
Binding link: Creates a binding between service contract collaboration use and role.
Context: Compound Service Contract
Traceability link: Creates a traceability between two model elements
Note: Creates a Note for a model element
Figure 15 Service Contract Diagram Example
These are the major use cases extracted from the SoaML specification and implemented in the SoaML Modelio module.
Figure 16 Binary Service Contract Use Case
Figure 17 Simple Service Contract Use Case
Figure 18 Multi-Party Service Contract Use Case
Figure 19 Compound Service Contract Use Case
Figure 20 Compound Service Interfaces Modeling – Modelio Approach