当前位置:主页 > 管理论文 > 移动网络论文 >

多框架Web Services统一调用组件的设计与实现

发布时间:2018-08-24 15:31
【摘要】:面向服务的软件架构(Service Oriented Architecture, SOA)以重用和互操作为核心概念,将企业的资源整合成可操作的、基于标准的服务,使其能被重新组合和应用,构造松耦合的企业架构。Web Services是面向服务软件架构的一种实现方式,通过定义公共的服务接口,实现企业服务的网络可操作性并构建高内聚低耦合的企业业务系统。不同Web Services框架为Web服务的创建提供了可靠的框架结构和成熟的开发模式,规范了Web服务的开发流程,提高了Web服务的开发效率。但由于框架原理和实现方式的不同,不同框架搭建的Web服务会出现调用不兼容的现象,这直接导致了Web服务不能够统一化和标准化,给企业系统间集成带来了麻烦。 本课题研究了Axis、Axis2、XFire和CXF四种流行Web Services框架的工作原理和框架结构。通过框架性能对比实验分析了四种框架服务端在客户请求不断增加的情况下的性能表现;通过Web服务相互调用实验分析了不同Web服务相互调用存在的问题和产生问题的原因。不同框架产生Web服务描述的差异性造成了不同框架间Web服务出现无法调用的现象。为了实现多框架Web服务的统一调用,本文提出了一种数据解析转换的思想,通过解析不同Web服务相互调用时的请求消息,根据目标Web服务描述文件的要求,将请求信息重新封装以使其符合Web服务的调用要求。通过这种消息转换机制,对于服务的请求者而言,不同Web服务描述的差异性得以消除,实现了Web Services服务的统一化和标准化。本文测试表明,通过统一调用组件的使用,不同Web服务能够实现相互调用。 本课题研究了Web Services的主要技术和主流的Web Services框架,内容包括XML、SOAP消息的解析、创建,不同框架生成WSDL文件的解析等。通过对目标Web服务描述文件的解析获取请求消息的格式要求,通过对请求消息的解析获取请求参数,最后将重新封装的消息发送到服务端调用Web服务。最后,本课题在积成公司电力用户信息采集系统iES-E200PRO的基础上,设计并实现了基于Web Services统一调用组件和Fusion Chart的用电数据展示系统。该系统实现了不同Web服务框架的统一调用,较之原有系统具有更好的系统兼容性和更好的数据显示效果。
[Abstract]:(Service Oriented Architecture, SOA), a service-oriented software architecture, takes reuse and interoperability as the core concepts to integrate enterprise resources into operable, standards-based services so that they can be recombined and applied. The construction of loosely coupled enterprise architecture. Web Services is a way to implement service-oriented software architecture. By defining common service interfaces, we can realize the network operability of enterprise services and construct enterprise business systems with high cohesion and low coupling. Different Web Services frameworks provide a reliable framework and mature development model for the creation of Web services, standardize the development process of Web services, and improve the efficiency of Web services development. However, due to the difference of framework principle and implementation method, Web services built by different frameworks will be called incompatibly, which directly leads to the Web services can not be unified and standardized, and brings trouble to the integration of enterprise systems. The working principle and frame structure of four popular Web Services frameworks, Axis,Axis2,XFire and CXF, are studied in this paper. This paper analyzes the performance of four kinds of frame service in the case of increasing customer requests through the performance comparison experiment of the framework, and analyzes the problems and causes of different Web services calling each other through the experiment of Web services calling each other. The difference of Web service description between different frameworks results in the phenomenon that Web services can not be invoked between different frameworks. In order to realize the unified invocation of multi-frame Web services, this paper presents an idea of data parsing and transformation. By parsing the request messages when different Web services call each other, according to the requirements of the target Web service description file, the paper proposes a new method to solve the problem. Rewrap the request information to conform to the Web service invocation requirements. Through this mechanism, the differences of different Web service descriptions can be eliminated for service requesters, and the unification and standardization of Web Services services can be realized. The test results show that different Web services can invoke each other by using unified calling components. In this paper, the main technology of Web Services and the main Web Services framework are studied, including the parsing of XML,SOAP messages, the creation of XML,SOAP messages, the parsing of WSDL files generated by different frameworks, and so on. The format requirement of the request message is obtained by parsing the target Web service description file, and the request parameters are obtained by parsing the request message. Finally, the re-encapsulated message is sent to the server to invoke the Web service. Finally, on the basis of iES-E200PRO, a data display system based on Web Services and Fusion Chart is designed and implemented. This system realizes the unified call of different Web service frameworks, and has better system compatibility and better data display effect than the original system.
【学位授予单位】:山东大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.09;TP311.52

【参考文献】

相关期刊论文 前5条

1 马殿富,葛声,刘旭东;WSDL表示模型与实现方法[J];北京航空航天大学学报;2003年10期

2 姜海;;用电信息采集系统远程通信方案[J];电力系统通信;2010年04期

3 岳昆,王晓玲,周傲英;Web服务核心支撑技术:研究综述[J];软件学报;2004年03期

4 杨芙清;软件工程技术发展思索[J];软件学报;2005年01期

5 芮雄健,王忠民;UDDI的原理与实现[J];计算机工程与设计;2005年06期



本文编号:2201250

资料下载
论文发表

本文链接:https://www.wllwen.com/guanlilunwen/ydhl/2201250.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户c52e7***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com