Skip to Main Content
Service composition is an effective way to achieve value-added service, which has found wide application in software system. Fault handling is critical to achieve high reliability for these applications. However, the existing service composition methods seldom consider services' fault handling, which results in high risk of runtime failure. This paper proposes a formal aspect-oriented approach to designing and analyzing fault of service composition. The underlying formalism is Petri net and its corresponding modeling method. The fault handling process is encapsulated into aspect net and base net, and Petri net is used to model the core concerns and crosscutting concerns, the weaving mechanism systematically integrates these schemas into a complete service composition model. Based on the model, the related theories of Petri net help prove the correctness of fault handling. Finally, an Export Service and simulation results show that our method can ensure the high reliability and design quantity of service composition.