Automatic synthesis of behavior protocols for composable web-services

Web-services are broadly considered as an effective means to achieve interoperability between heterogeneous parties of a business process and offer an open platform for developing new composite web-services out of existing ones. In the literature many approaches have been proposed with the aim to automatically compose web-services. All of them assume that, along with the web-service signature, some information is provided about how clients interacting with the web-service should behave when invoking it. We call this piece of information the web-service behavior protocol. Unfortunately, in the practice this assumption turns out to be unfounded. To address this need, in this paper we propose a method to automatically derive from the web-service signature an automaton modeling its behavior protocol. The method, called StrawBerry, combines synthesis and testing techniques. In particular, synthesis is based on data type analysis. The conformance between the synthesized automaton and the implementation of the corresponding web-service is checked by means of testing. The application of StrawBerry to the Amazon E-Commerce Service shows that it is practical and realistic.

[1]  Antonio Brogi,et al.  Automated Generation of BPEL Adapters , 2006, CIbSE.

[2]  Eda Marchetti,et al.  WS-TAXI: A WSDL-based Testing Tool for Web Services , 2009, 2009 International Conference on Software Testing Verification and Validation.

[3]  Diego Calvanese,et al.  Automatic Service Composition and Synthesis: the Roman Model , 2008, IEEE Data Eng. Bull..

[4]  Andrzej Wasylkowski,et al.  Mining Operational Preconditions , 2008 .

[5]  Vasant Honavar,et al.  MOSCOE: an Approach for Composing Web Services through Iterative Reformulation of Functional Specifications , 2008, Int. J. Artif. Intell. Tools.

[6]  Carlo Ghezzi,et al.  Synthesizing intensional behavior models by graph transformation , 2009, 2009 IEEE 31st International Conference on Software Engineering.

[7]  Sonia Ben Mokhtar,et al.  Distributed Behavioural Adaptation for the Automatic Composition of Semantic Services , 2008, FASE.

[8]  Annapaola Marconi,et al.  Vibes: A Platform-Centric Approach to Building Recommender Systems. , 2008 .

[9]  Annapaola Marconi,et al.  Automated Composition of Web Services: the ASTRO Approach , 2008, IEEE Data Eng. Bull..

[10]  Bengt Jonsson,et al.  Regular Inference for State Machines Using Domains with Equality Tests , 2008, FASE.

[11]  Leonardo Mariani,et al.  Automatic generation of software behavioral models , 2008, 2008 ACM/IEEE 30th International Conference on Software Engineering.

[12]  Karl Meinke,et al.  Automated black-box testing of functional correctness using function approximation , 2004, ISSTA '04.

[13]  Andreas Zeller,et al.  Detecting object usage anomalies , 2007, ESEC-FSE '07.