用户名: 密码: 验证码:
Web Services与CORBA的互操作中复杂数据类型传递的研究与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
当前,中间件技术的不断发展和应用大大加快了企业应用系统在网络环境下的开发过程。中间件平台在底层屏蔽了网络环境的开放性、异构性等各种复杂特性,在较高层次上提供了对底层网络环境的抽象,方便了应用系统的开发与部署。但由于各种中间件技术在实现高层抽象时往往通过不同的技术途径或采取不同的技术手段,导致了异构中间件应用系统在更高层次上的互操作问题。
     本文以Web Services/CORBA互操作为例,重点研究出站适配技术中的复杂数据类型传递问题,在全面分析了Web Services/CORBA出站适配相关的规范和协议后,改进了基于Web Services/CORBA路由器的网关系统模型;设计和实现Web Services/CORBA复杂数据类型适配器;设计和改进了SOAP消息序列化和反序列化分析器,使其可以准确分析出SOAP消息中的复杂数据类型以及SOAP消息编码形式;在改进SOAP消息序列化和反序列化分析器的同时,网关系统可以依据Web Services客户端发出的SOAP Enccoded类型编码风格,产生相应的SOAP Enccoded类型编码风格,以便使不同的Web Services客户端可以无障碍的互操作。
     在此期间重点研究出站适配技术,完成的主要工作如下:
     (1)全面分析了Web Services/CORBA出站适配相关的规范和协议,提出基于WebServcices/CORBA网关系统的路由器模型,以使Web Services客户端应用能透明地访问CORBA。
     (2)为了增强Web Services/CORBA网关路由器的应用性,改进了SOAP消息序列化和反序列化分析器,使其可以分析出用户自定义的结构类型,数组类型,枚举类型等多种含有复杂数据结构的SOAP消息。
     (3)根据Web Services的产生和运行的要求,相应增加了Web Servcices/CORBA网关系统中路由器。其作用是用于鉴别Web Services客户端的SOAP请求的编码风格;用于分析该SOAP请求中的数据结构,使其产生相应的正确的IIOP数据。
     (4)介绍了Web Servcices/CORBA网关系统的路由器的具体实现,包括主要模块的功能划分,类与类之间的关系以及重要方法的逻辑流程等等。
     (5)Web Servcices/CORBA网关系统的路由器进行了测试,包括使用测试用例验证IDL toWSDL编译器的语义和语法的正确性,设计模拟实验测试网关对各种复杂数据类型的分析能力以及正确性和对各种Web Services客户端的支持。
     论文完成的工作和取得的成果,对其他中间件应用系统出站适配的研究和实现,具有一定的理论和实际意义。
Nowadays, enterprise application system development in network environment has been greatly accelerated by the development and application of the middleware technology. Middleware platform masks the complexities of network environment such as openness characteristics, heterogeneousness in the low layer. It also provides a high level abstraction of the low layers in the network environment, and makes the development and deployment of application system easier. But unfortunately, different middleware vendors implement their high abstraction in different ways. Therefore, they have much difficulty in interoperating with different applications on different middleware platforms.
     We research the transation of the complicated datatype in Outbound Adaption through a example of the operates of Web Sercies and CORBA.After the analyse CORBA to WSDL/SOAP Interworking Specification , SOAP and IIOP,we improve the functions of gateway system ; Research and implementation adaption of complicated datatype of Web Services/CORBA; Design and improve the analyzer of SOAP which can analyze the complicated datatype and encoded type in SOAP.
     First, we analyze specifications and protocols related with Web Services/CORBA inbound adaptation, and propose a model of router gateway system based on Web Services/CORBA, this model enables Web Services clients to access CORBA transparently.
     Second, in order to improve the usability of router-gateway system, such as support array, enum, struct, we upswing the serializer/deserializer of SOAP.
     Third, in order to satisfy the requirement of Web Services' creation and running in the model, we defined some term to describe status of router-gateway system. So that the system can distinguish the difference of SOAP Encode, and product the IIOP.
     Then, we explain some technical details about implementation of router-gateway system, including sub modules definitions, relationship of classes, algorithms of important methods, and soon.
     At last, we test the router gateway system: the use of test case to verify correction of IDL to WSDL compiler in semantic and syntax, and the design of a simulation to test Interruption of the router-gateway server.
     The work and contribution of this paper have a definite rationale and realistic significance to the research and implementation of Web Services/CORBA outbound adaptation, and have considerable referential values to related research.
引文
[2]S.Vinoski,Integration with webservices"IEEE Internet Computing,2003
    [3]S.Vinoski,Where is Middleware?" IEEE Internet Computing,vol.6,no.2,2002,pp.83-85.
    [4]S.Vinoski,Middleware 'Dark Matter',IEEE Internet Computing,vol.6,no.5,2002,pp.92-95.
    [6]R.Weisman,Online,Off Target:Retailers Must Integrate Sales,Boston Gl obe,14 Sept.2003,p.C2
    [7]W.Vogels,Web Services Are Not Distributed Objects,IEEE Internet Com puting,vol.7,no.6,2003,pp.59-66
    [8]Glenn Smith,Component Adaptation for Web Services,IEEE,0-7695-1254-2/01
    [9]TOM Japsen,SOAP Cleans up Interoperability problem on the web,IT Pro.January|February 2001
    [10]Simple Object Access Protocol(SOAP)1.1[EB/OL],W3C Note 08 May 2000,http://www.w3.org/TR/SOAP/,2001-06
    [12]The Object Management Group,The Common Object Request Broker:Architecture and Specification,Version 2.3,June 1999
    [13]Object Management Group,CORBA to WSDL/SOAP Interworking Specific ation,2003.11.02
    [14]WSDL/SOAP to CORBA Interworking OMG Draft Adopted Specification ptc/03-07-04
    [15]Henry S.Thompson,David Beech,Murray Maloney,Noah Mendelsohn,W3 C Recommendation "XML Schema Part 1:Structures",XML Schema Part 1:Structures,2 May 2001
    [16]Paul V.Biron,Ashok Malhotra,W3C Recommendation "XML Schema Pa rt 2:Datatypes",2 May 2001
    [17]IDL to Java Language Mapping Specification,2002.08.05
    [18]刘爱琴等,SOAP与CORBA集成探讨,计算机应用研究,2004年
    [19]曲红亭等,COM/DCOM与CORBA互操作的实现,计算机应用与软件
    [20]刘莉等,XML-CORBA框架的设计与实现,计算机应用,2003年,第23卷,第6期
    [21]孙荣胜等,Web Services与CORBA、DCOM三种分布式计算模型的互操作 性,江南大学学报,第2卷,第1期
    [22]胡继东等,基于Web Services的软件集成方法的研究与实现,计算机应用技术
    [23]岑玲,基于简单对象访问协议的分布式计算技术,微型机与应用,2001,20(7):30 31
    [24]李晨,张礼平,杨富平等,基于XML的松散耦合分布式计算,华东理工大学学报,2001,27(5):552-556
    [25]Michi Henning,Steve Vinoski著,基于C++CORBA高级编程,清华大学出版社,2002.07
    [26]Gamma,Helm et al.,Design Patterns:Elements of Reusable Object-Oriented Software,1995
    [27]韦乐平、薛军敖、孟骆明,CORBA体系结构、原理和规范,电子工业出版社
    [28]David A.Cbappel & Tyler Jetwell著,毛世杰 刘绍华译,Java Web服务,中国电力出版社
    [29]David A.Chappell & Tyler Jetwell著,JavaWeb服务,中国电力出版社,2003.03
    [30]Robert Englander,Java and SOAP中国电力出版社,2002
    [31]Cay S.Horstmann,Gary Cornell著,Java 2核心技术 卷Ⅰ:基础知识,机械工业出版社,2000
    [32]Cay S.Horstmann,Gary Comell著,Java 2核心技术 卷2:高级特性,机械工业出版社,2000
    [33]Bruce Eckel著,Java编程思想(第2版),机械工业出版社,2002.09
    [34]Jasnowski,M.著,Java,XML和Web服务宝典,电子工业出版社,2002.05
    [35]Jay Foster,Mick Porter著,应用Java API开发Web Services,中国水利水电出版社,2003.07
    [36]Harvey M.Deitel著,Java Web服务高级教程,机械工业出版社,2003.09
    [37]柴晓路 梁宇路著,Web Services技术、架构和应用,电子工业出版社,2003.01
    [38]Frank P.Coyle著,XML、Web服务和数据革命,清华大学出版社,2003.03

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700