SoaML - Multi-Party Service Contracts

From Training Material
Revision as of 17:37, 7 February 2016 by Bernard Szlachta (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Example

SoaML Multi-party Service Contract.png

Exercises

Design Escrow service contract.

Elements:

  • Interfaces: Purchaser (consumer), Seller (provider), Escrow Agent (provider)
  • Roles: consumer, product provider, escrow provider
  • Operations: Escrow Deposit, Deposit Notice, Delivery, goodAccepted, Escrow Payment (assume only happy path)

Extra exercise

  • Add extra operations to the contract above: Grievance, Justification, Escrow Refund