天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

多框架Web Services統(tǒng)一調(diào)用組件的設(shè)計與實現(xiàn)

發(fā)布時間:2018-08-24 15:31
【摘要】:面向服務(wù)的軟件架構(gòu)(Service Oriented Architecture, SOA)以重用和互操作為核心概念,將企業(yè)的資源整合成可操作的、基于標準的服務(wù),使其能被重新組合和應(yīng)用,構(gòu)造松耦合的企業(yè)架構(gòu)。Web Services是面向服務(wù)軟件架構(gòu)的一種實現(xiàn)方式,通過定義公共的服務(wù)接口,實現(xiàn)企業(yè)服務(wù)的網(wǎng)絡(luò)可操作性并構(gòu)建高內(nèi)聚低耦合的企業(yè)業(yè)務(wù)系統(tǒng)。不同Web Services框架為Web服務(wù)的創(chuàng)建提供了可靠的框架結(jié)構(gòu)和成熟的開發(fā)模式,規(guī)范了Web服務(wù)的開發(fā)流程,提高了Web服務(wù)的開發(fā)效率。但由于框架原理和實現(xiàn)方式的不同,不同框架搭建的Web服務(wù)會出現(xiàn)調(diào)用不兼容的現(xiàn)象,這直接導(dǎo)致了Web服務(wù)不能夠統(tǒng)一化和標準化,給企業(yè)系統(tǒng)間集成帶來了麻煩。 本課題研究了Axis、Axis2、XFire和CXF四種流行Web Services框架的工作原理和框架結(jié)構(gòu)。通過框架性能對比實驗分析了四種框架服務(wù)端在客戶請求不斷增加的情況下的性能表現(xiàn);通過Web服務(wù)相互調(diào)用實驗分析了不同Web服務(wù)相互調(diào)用存在的問題和產(chǎn)生問題的原因。不同框架產(chǎn)生Web服務(wù)描述的差異性造成了不同框架間Web服務(wù)出現(xiàn)無法調(diào)用的現(xiàn)象。為了實現(xiàn)多框架Web服務(wù)的統(tǒng)一調(diào)用,本文提出了一種數(shù)據(jù)解析轉(zhuǎn)換的思想,通過解析不同Web服務(wù)相互調(diào)用時的請求消息,根據(jù)目標Web服務(wù)描述文件的要求,將請求信息重新封裝以使其符合Web服務(wù)的調(diào)用要求。通過這種消息轉(zhuǎn)換機制,對于服務(wù)的請求者而言,不同Web服務(wù)描述的差異性得以消除,實現(xiàn)了Web Services服務(wù)的統(tǒng)一化和標準化。本文測試表明,通過統(tǒng)一調(diào)用組件的使用,不同Web服務(wù)能夠?qū)崿F(xiàn)相互調(diào)用。 本課題研究了Web Services的主要技術(shù)和主流的Web Services框架,內(nèi)容包括XML、SOAP消息的解析、創(chuàng)建,不同框架生成WSDL文件的解析等。通過對目標Web服務(wù)描述文件的解析獲取請求消息的格式要求,通過對請求消息的解析獲取請求參數(shù),最后將重新封裝的消息發(fā)送到服務(wù)端調(diào)用Web服務(wù)。最后,本課題在積成公司電力用戶信息采集系統(tǒng)iES-E200PRO的基礎(chǔ)上,設(shè)計并實現(xiàn)了基于Web Services統(tǒng)一調(diào)用組件和Fusion Chart的用電數(shù)據(jù)展示系統(tǒng)。該系統(tǒng)實現(xiàn)了不同Web服務(wù)框架的統(tǒng)一調(diào)用,較之原有系統(tǒng)具有更好的系統(tǒng)兼容性和更好的數(shù)據(jù)顯示效果。
[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

【參考文獻】

相關(guān)期刊論文 前5條

1 馬殿富,葛聲,劉旭東;WSDL表示模型與實現(xiàn)方法[J];北京航空航天大學學報;2003年10期

2 姜海;;用電信息采集系統(tǒng)遠程通信方案[J];電力系統(tǒng)通信;2010年04期

3 岳昆,王曉玲,周傲英;Web服務(wù)核心支撐技術(shù):研究綜述[J];軟件學報;2004年03期

4 楊芙清;軟件工程技術(shù)發(fā)展思索[J];軟件學報;2005年01期

5 芮雄健,王忠民;UDDI的原理與實現(xiàn)[J];計算機工程與設(shè)計;2005年06期

,

本文編號:2201250

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2201250.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶c52e7***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com