This
content applies to version 7.5.4, or later. You can now create a simple service contract for the SchedulingService service
interface; this service does not require a behavior to be created.
The service contract contains parts that represent its user and provider
that you can use later in the services architecture.
To create the SchedulingService service
contract:
- In the Project Explorer view, in the contracts package,
open the Main diagram.
- In the Palette, click Service Contract,
drag the cursor below the InvoiceContract service
contract, and name it SchedulingContract.
- In the Project
Explorer view, right-click the SchedulingContract service
contract; then click and click Unspecified.
- In the diagram editor, click the new part in the SchedulingContract element.
- In the Properties view,
name the part client, for the part name and
specify the type as the SchedulingService interface.
- To create another part, repeat step 3 to step 5, but name this part scheduler and
set its type to the SchedulingService interface. The SchedulingContract service contract should look like
the following:
