作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (13): 40-43. doi: 10.3969/j.issn.1000-3428.2012.13.011

• 软件技术与数据库 • 上一篇    下一篇

一种考虑消息类型的服务可替换性验证方法

刘 伟,杨 勇,张 亮   

  1. (复旦大学计算机科学技术学院,上海 200433)
  • 收稿日期:2012-04-13 出版日期:2012-07-05 发布日期:2012-07-05
  • 作者简介:刘 伟(1984-),男,硕士研究生,主研方向:Web服务替换;杨 勇,博士;张 亮,教授、博士生导师
  • 基金资助:
    国家自然科学基金资助项目(60873115)

Service Substitutability Validation Method Considering Message Type

LIU Wei, YANG Yong, ZHANG Liang   

  1. (School of Computer Science, Fudan University, Shanghai 200433, China)
  • Received:2012-04-13 Online:2012-07-05 Published:2012-07-05

摘要: 针对SOA中成员服务失效率较高的问题,提出一种考虑消息类型的、基于Web服务描述语言(WSDL)的服务可替换性验证方法。通过解析服务的WSDL描述文件给出服务的形式化表达式,根据服务契约判定2个服务形式化表达式间的替换关系,对比存在替换关系的2个服务的消息类型,得出2个服务是否可替换的结论。实验结果表明,该方法能得到更严格的服务可替换性关系。

关键词: Web服务描述语言, 服务契约, 形式化, 服务相容性, 服务可替换性

Abstract: Against the high possibility of component service failure in Service-oriented Architecture(SOA), a method considering message type for verifying service substitutability is proposed. It translates the Web Service Description Language(WSDL) description of services to the formal expressions, determines the substitution relationship of the formal expressions of two services according to service contract, and makes the contrast of their messages type for the results existing substitution relationship to obtain the conclusion whether two services can be substituted by each other. Experimental results demonstrate that the method can obtain the stricter relationship of service substitution.

Key words: Web Service Description Language(WSDL), service contract, formalization, service compatibility, service substitutability

中图分类号: