Model-Driven Engineering of Rules for Web Services

  • Marko Ribarić
  • Dragan Gašević
  • Milan Milanović
  • Adrian Giurca
  • Sergey Lukichev
  • Gerd Wagner
Part of the Lecture Notes in Computer Science book series (LNCS, volume 5235)


Web services are proposed as a way to enable loosely-coupled integration of business processes of different stakeholders. This requires effective development mechanisms that focus on modeling of business logic rather than on low-level technical details. This problem has been recognized by several researchers, and they have mainly proposed the use of process-oriented languages (e.g., UML Activity Diagrams). However, process-oriented approaches limit the definitions of Web services only to the context of concrete business processes (where the services are used). To overcome this limitation, in this paper, we propose a modeling approach that enables one to model Web services from the perspective of the underlying business logic regulating how Web services are used regardless of the context where they are used. This is done by modeling Web services in terms of message-exchange patterns, where each service is described by a (set of) rule(s) regulating how Web services’ messages are exchanged. By leveraging the principles of model-driven engineering, we define a rule-based modeling language supporting the proposed modeling approach. More specifically, the rule-based modeling language supports reaction rules (also known as Event-Condition-Action rules) to model Web services in terms of message exchange patterns. Our approach is supported by an extension of the well-known UML tool Fujaba and by a number of model transformations for round-trip engineering between Web services and reaction rules.


Business Rule Concrete Syntax Model Driving Engineer Reaction Rule Model Transformation Language 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Web Services Description Language (WSDL) Ver. 2.0 Part 1: Core Language. W3C Candidate Rec,
  2. 2.
    UDDI Ver. 3.0.2. OASIS v3.htm (2004),
  3. 3.
    SOAP Ver. 1.2 Part 1: Messaging Framework. W3C Recommendation,
  4. 4.
    Vara, J., de Castro, V., Marcos, E.: WSDL Automatic Generation from UML Models in a MDA Framework. Int. J. of Web Services Pract. 1(1-2), 1–12 (2005)Google Scholar
  5. 5.
    Manolescu, I., et al.: Model-driven design and deployment of service-enabled web applications. ACM Trans. Inter. Tech. 5(3), 439–479 (2005)CrossRefGoogle Scholar
  6. 6.
    Sheth, A., Verma, K., Gomadam, K.: Semantics to energize the full services spectrum. Communication of the ACM 49, 55–61 (2006)CrossRefGoogle Scholar
  7. 7.
    Charfi, A., Mezini, M.: Hybrid Web service composition: Business processes meet business rules. In: Proc. of 2nd Int’l Conf. on Service Oriented Comp., pp. 30–38 (2004)Google Scholar
  8. 8.
    Schmidt, D.C.: Model-Driven Engineering. Computer 39(2), 25–31 (2006)CrossRefGoogle Scholar
  9. 9.
    Bezivin, J., Hammoudi, S., Lopes, D., Jouault, F.: Applying MDA approach for Web Service Platform. In: Proc. of the 8th IEEE Int. Conf. on Enterprise Distributed Object Computing Conf., pp. 58–70 (2004)Google Scholar
  10. 10.
    Timm, J., Gannod, G.: A Model-Driven Approach for Specifying Semantic Web Services. In: Proc. of IEEE Int’l Conf. on Web Services, pp. 313–320 (2005)Google Scholar
  11. 11.
    Gronmo, R., Jaeger, M.C., Hoff, H.: Transformations between UML and OWL-S. In: Proc. of the 1st European Conf. on Model Driven Architecture - Foundations and Applications, pp. 269–283 (2005)Google Scholar
  12. 12.
    McClintock, C., de Sainte Marie, C.: ILOG’s position on rule languages for interoperability. In: W3C Rule Languages for Interoperability (2005)Google Scholar
  13. 13.
    Ross, R.G.: Principles of the Business Rule Approach. Addison-Wesley, Reading (2003)Google Scholar
  14. 14.
    RIF Use Cases and Requirements. W3C Working Draft,
  15. 15.
    Lukichev, S., Wagner, G.: Visual rules modeling. In: Proceedings of the 6th International Conference Perspectives of Systems Informatics, pp. 467–673 (2006)Google Scholar
  16. 16.
    Lukichev, S., Wagner, G.: UML-based rule modeling with Fujaba. In: Proceedings of the 4th International Fujaba Days 2006, pp. 31–35 (2006)Google Scholar
  17. 17.
    Coyle, F.: XML, Web Services, and the Data Revolution. Addison Wesley, Reading (2002)Google Scholar
  18. 18.
    Erl, T.: Service-Oriented Architecture: Concepts, Technology, and Design. Prentice Hall PTR, Englewood Cliffs (2005)Google Scholar
  19. 19.
    Hirtle, D., et al.: Schema Specification of RuleML 0.91 (2006),
  20. 20.
    Horrocks, I., et al.: SWRL: A Semantic Web Rule Language Combining OWL and RuleML, W3C Member Sub. (2004),
  21. 21.
    Object Management Group: Semantics of Business Vocabulary and Business Rules (SBVR) – Interim Specification. OMG Document – dtc/06-03-02 (2006)Google Scholar
  22. 22.
    Object Management Group: Production Rule Representation (PRR) – revised sumbission. OMG Document - bmi/07-08-01 (2007)Google Scholar
  23. 23.
    Wagner, G., Giurca, A., Lukichev, S.: R2ML: A General Approach for Marking up Rules, In: Dagstuhl Seminar Proc. 05371 (2006) Google Scholar
  24. 24.
    Giurca, A., Lukichev, S., Wagner, G.: Modeling Web Services with URML. In: Proceedings of Workshop Semantics for Business Process Management (2006)Google Scholar
  25. 25.
    Atlas Transformation Language - User Manual, ver. 0.7, ATLAS group, Nantes,
  26. 26.
    MOF 2.0 Query/View/Transformation Specification, OMG document ptc/05-11-01 (2005),
  27. 27.
    Milanovic, M., Gasevic, D., Giurca, A., Wagner, G., Devedzic, V.: On interchanging between OWL/SWRL and UML/OCL. In: Proc. of the OCLApps Workshop, pp. 81–95 (2006)Google Scholar
  28. 28.
    Nagl, C., Rosenberg, F., Dustdar, S.: VIDRE– A distributed service oriented business rule engine based on RuleML. In: Proc. of the 10th IEEE Int’l Enterprise Distributed Object Computing Conference, pp. 35–44 (2006)Google Scholar
  29. 29.
    Gasevic, D., Djuric, D., Devedzic, V.: Bridging MDA and OWL ontologies. Journal of Web Engineering 4(2), 119–134 (2005)Google Scholar
  30. 30.
    Brambilla, M.S., et al.: Exception handling in workflow-driven web applications. In: Proc. of the 14th Int’l WWW Conference, pp. 170–179 (2005)Google Scholar
  31. 31.
    Brown, A.W., et al.: A Practical Perspective on the Design and Implementation of Service-Oriented Solutions. In: Proc. of the 10th ACM/IEEE 10th Int’l Conf. on Model Driven Engineering Languages and Systems, pp. 390–404 (2007)Google Scholar
  32. 32.
    Margaria, T.: Service Is in the Eyes of the Beholder. Computer 40(11), 33–37 (2007)CrossRefGoogle Scholar
  33. 33.
    Czarnecki, K., Helsen, S.: Feature-based survey of model transformation approaches. IBM Systems Journal 45(3), 621–645 (2006)CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2008

Authors and Affiliations

  • Marko Ribarić
    • 1
  • Dragan Gašević
    • 2
  • Milan Milanović
    • 3
  • Adrian Giurca
    • 4
  • Sergey Lukichev
    • 4
  • Gerd Wagner
    • 4
  1. 1.Mihailo Pupin InstituteSerbia
  2. 2.School of Computing and Information SystemsAthabasca UniversityCanada
  3. 3.FON-School of Business AdministrationUniversity of BelgradeSerbia
  4. 4.Institute of InformaticsBrandenburg University of Technology at CottbusGermany

Personalised recommendations