TY - JOUR PB - Cambridge University Press JF - Mathematical Structures in Computer Science TI - CaSPiS: a calculus of sessions, pipelines and services SP - 666 A1 - Boreale, Michele A1 - Bruni, Roberto A1 - De Nicola, Rocco A1 - Loreti, Michele VL - 25 IS - 3 UR - http://journals.cambridge.org/article_S0960129512000953 AV - none EP - 709 Y1 - 2015/03// ID - eprints2626 SN - 0960-1295 N2 - Service-oriented computing is calling for novel computational models and languages with well-disciplined primitives for client?server interaction, structured orchestration and unexpected events handling. We present CaSPiS, a process calculus where the conceptual abstractions of sessioning and pipelining play a central role for modelling service-oriented systems. CaSPiS sessions are two-sided, uniquely named and can be nested. CaSPiS pipelines permit orchestrating the flow of data produced by different sessions. The calculus is also equipped with operators for handling (unexpected) termination of the partner's side of a session. Several examples are presented to provide evidence of the flexibility of the chosen set of primitives. One key contribution is a fully abstract encoding of Misra et al.'s orchestration language Orc. Another main result shows that in CaSPiS it is possible to program a ?graceful termination? of nested sessions, which guarantees that no session is forced to hang forever after the loss of its partner. ER -