Lesson 7: Create the service architecture
The service architecture shows how the participants work
together to provide the overall service(s). It also shows how each
participant plays a role in the relevant service contracts so you
can document and verify that the underlying constraints are honored.
It gives you a high-level view of your services oriented architecture
and design, making it easier to more accurately explain it to others
(such as developers who will implement it).
Create a package to contain the service architecture
For organizational purposes, you create a package to contain
the service architecture.
About this task
Procedure
- In the Project Explorer view, right-click the Services model, then click Add UML > Package.
- Name the package architecture. The Main diagram opens in the diagram editor.
Create the service architecture
The service architecture represents the application as
a whole. The architecture and the application elements are displayed
to show how they can interact with each other.
About this task
Procedure
Results

Adding the InvoicingContract service contract
About this task
Procedure
- In the Project Explorer view, drag and drop the InvoicingContract service contract onto the Purchase Order Process structure diagram. Drop it somewhere between the invoicer and orderProcessor parts. This will create a collaboration use of the InvoicingContract service contract.
- Name the new collaboration use invoicing.
- Click the invoicing port of the OrderProcessing element, and drag its outgoing connection handle to the invoicing collaboration use.
- Select Create Role Binding; in the “Select supplier of Role Binding” window, select the orderer part of the InvoicingContract service contract.
- In a similar manner, create a role binding from the invoicer's invoicing part to the invoicing part of the InvoicingContract service contract.
Results

Adding the SchedulingContract service contract
About this task
Adding the ShippingContract service contract
About this task
Tutorial lesson summary
The completed services architecture should look like the
following:

You completed the services architecture of the service model.
The composite structure diagram represents the overall view of the
elements in the model. Your model is now complete.