Detecting WSDL bad practices in code-first Web Services

Service-Oriented Computing (SOC) allows developers to structure applications as a set of reusable services. Web Services expose their functionality by using Web Service Description Language (WSDL). We found that there is a high correlation between well-known object-oriented metrics taken in the code implementing services and the occurrences of 'anti-patterns' in their WSDLs. We show that some simple refactorings performed early when developing Web Services can greatly improve the quality of WSDL documents. Then, the contribution of this work is a practical approach to guide practitioners in obtaining better WSDL designs that aligns with the technologies and techniques commonly used in the industry for building services.

[1]  Ramanath Subramanyam,et al.  Empirical Analysis of CK Metrics for Object-Oriented Design Complexity: Implications for Software Defects , 2003, IEEE Trans. Software Eng..

[2]  Marcelo R. Campo,et al.  Automatically Detecting Opportunities for Web Service Descriptions Improvement , 2010, I3E.

[3]  Jehad Al Dallal Measuring the Discriminative Power of Object-Oriented Class Cohesion Metrics , 2011, IEEE Transactions on Software Engineering.

[4]  Marcelo R. Campo,et al.  The EasySOC Project: A Rich Catalog of Best Practices for Developing Web Service Applications , 2011, CLEI Electron. J..

[5]  Frank Tsui,et al.  Essentials of software engineering , 2006 .

[6]  Collin McMillan,et al.  A search engine for finding highly relevant applications , 2010, 2010 ACM/IEEE 32nd International Conference on Software Engineering.

[7]  Diomidis Spinellis,et al.  Tool Writing: A Forgotten Art? , 2005, IEEE Softw..

[8]  Fabio Kon,et al.  A Study of the Relationships between Source Code Metrics and Attractiveness in Free Software Projects , 2010, 2010 Brazilian Symposium on Software Engineering.

[9]  Martin Bichler,et al.  Service-oriented computing , 2006, Computer.

[10]  Kyle A. Gallivan,et al.  The gSOAP Toolkit for Web Services and Peer-to-Peer Computing Networks , 2002, 2nd IEEE/ACM International Symposium on Cluster Computing and the Grid (CCGRID'02).

[11]  Tibor Gyimóthy,et al.  Empirical validation of object-oriented metrics on open source software for fault prediction , 2005, IEEE Transactions on Software Engineering.

[12]  David Taniar,et al.  Intelligent Dynamic XML Documents Clustering , 2008, 22nd International Conference on Advanced Information Networking and Applications (aina 2008).

[13]  James Pasley Avoid XML schema wildcards for Web service interfaces , 2006, IEEE Internet Computing.

[14]  Sylvain Giroux,et al.  A semantic approach for accessible services delivery in a smart environment , 2009, Int. J. Web Grid Serv..

[15]  Chris F. Kemerer,et al.  A Metrics Suite for Object Oriented Design , 2015, IEEE Trans. Software Eng..

[16]  Cagatay Catal,et al.  Software fault prediction: A literature review and current trends , 2011, Expert Syst. Appl..

[17]  Keng Siau,et al.  Web Services, Service-Oriented Computing, and Service-Oriented Architecture: Separating Hype from Reality , 2008, J. Database Manag..

[18]  Stephen M. Stigler,et al.  Fisher and the 5% Level , 2008 .

[19]  Subbarao Kambhampati,et al.  A snapshot of public web services , 2005, SGMD.

[20]  Shari Lawrence Pfleeger,et al.  Software Metrics : A Rigorous and Practical Approach , 1998 .

[21]  Tore Risch,et al.  Automated web service query service , 2010, Int. J. Web Grid Serv..

[22]  M. Brian Blake,et al.  Taming Web Services from the Wild , 2008, IEEE Internet Computing.

[23]  Marcelo Campo,et al.  An analysis of frequent ways of making undiscoverable Web Service descriptions , 2010 .

[24]  Mike P. Papazoglou,et al.  Service-oriented design and development methodology , 2006, Int. J. Web Eng. Technol..

[25]  Javier Soriano,et al.  A user-centric approach for developing and deploying service front-ends in the future internet of services , 2009, Int. J. Web Grid Serv..

[26]  Marcelo R. Campo,et al.  A Survey of Approaches to Web Service Discovery in Service-Oriented Architectures , 2011, J. Database Manag..

[27]  Thomas Erl,et al.  SOA Principles of Service Design , 2007 .

[28]  Brian Henderson-Sellers,et al.  Coupling and cohesion (towards a valid metrics suite for object-oriented analysis and design) , 1996, Object Oriented Syst..

[29]  Marcelo R. Campo,et al.  Revising WSDL Documents: Why and How , 2010, IEEE Internet Computing.

[30]  Beniamino Di Martino Semantic web services discovery based on structural ontology matching , 2009, Int. J. Web Grid Serv..

[31]  Kenneth L. Morris,et al.  Metrics for object-oriented software development environments , 1989 .

[32]  Marcelo R. Campo,et al.  Easy web service discovery: A query-by-example approach , 2008, Sci. Comput. Program..

[33]  Marcelo R. Campo,et al.  Improving Web Service descriptions for effective service discovery , 2010, Sci. Comput. Program..

[34]  Frank Tsui,et al.  Essentials of Software Development , 2006 .

[35]  Jun Zhang,et al.  Simlarity Search for Web Services , 2004, VLDB.

[36]  Carl G. Davis,et al.  A Hierarchical Model for Object-Oriented Design Quality Assessment , 2002, IEEE Trans. Software Eng..