Analyzing Consistency of Behavioral REST Web Service Interfaces

Irum Rauf
(Åbo Akademi)
Ali Hanzala Khan
(Åbo Akademi)
Ivan Porres
(Åbo Akademi)

REST web services can offer complex operations that do more than just simply creating, retrieving, updating and deleting information from a database. We have proposed an approach to design the interfaces of behavioral REST web services by defining a resource and a behavioral model using UML. In this paper we discuss the consistency between the resource and behavioral models that represent service states using state invariants. The state invariants are defined as predicates over resources and describe what are the valid state configurations of a behavioral model. If a state invariant is unsatisfiable then there is no valid state configuration containing the state and there is no service that can implement the service interface. We also show how we can use reasoning tools to determine the consistency between these design models.

In Josep Silva and Francesco Tiezzi: Proceedings 8th International Workshop on Automated Specification and Verification of Web Systems (WWV 2012), Stockholm, Sweden, 16th July 2012, Electronic Proceedings in Theoretical Computer Science 98, pp. 77–92.
Published: 22nd October 2012.

ArXived at: bibtex PDF
References in reconstructed bibtex, XML and HTML format (approximated).
Comments and questions to:
For website issues: