SoaML - Multi-Party Service Contracts

From Training Material
Jump to navigation Jump to search


SoaML Multi-party Service Contract.png


Design Escrow service contract.


  • 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