SoaML - Multi-Party Service Contracts

From Training Material
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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