用户名: 密码: 验证码:
基于.Net架构的XML Web Services技术研究与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
Web是为了实现程序到用户的交互,而Web服务则是为程序到程序的交互做准备。Web服务使公司可以降低进行电子商务的成本、更快的部署解决方案以及开拓新机遇。其关键在于通用的程序到程序的通信模型,该模型应建立在现有的和新兴的标准之上,例如HTTP、可扩展标记语言(Extensible Markup Language,XML)、简单对象访问协议(Simple Object Access Protocol,SOAP)、Web服务描述语言(Web Service Description Language,WSDL)以及通用描述、发现和集成机制(Universal Description Discovery and Integration,UDDI)。
     Web服务使应用程序的集成比以前更快、更容易而且更便宜。集成在协议栈中较高层发生,它基于更注重服务语义而不那么注重网络协议语义的消息,从而实现业务功能的松散集成。这些特性对于在企业之间和企业内部通过Web连接业务功能是非常理想的。它们提供一种一致化的编程模型,从而在企业内外都可以利用通用的基础设施并以一种通用的方法进行应用程序集成。利用现有的语言和平台以及旧应用程序,可以以一种增量的方式来集成和应用Web服务。
     面向服务的体系结构(SOA)表示开发者可以如何使用Web服务的总体背景和指导原则。Web服务规范定义了实现服务以及与它们的交互所需要的细节。然而,面向服务的体系结构(SOA)是一种用于构建分布式系统的方法,采用SOA这种方法构建的分布式应用程序可以将功能作为服务交付给终端用户,也可以构建其他的服务。面向服务的体系结构(SOA)可以基于Web服务,但是它也可能改为使用其他的技术来代替。在使用面向服务的体系结构(SOA)设计分布式应用程序时,开发人员可以将Web服务的使用从简单的客户端-服务器模型扩展成任意复杂的系统。SOA只是设计、开发、部署和管理网络中计算机程序逻辑(称作为“服务”)具体模块的方法的最新规范原则,它是构成应用程序、组织IT基础设施和业务功能标准化的一种方法。虽然SOA常常与XML和Web Services连在一起,但后者只是SOA原则针对具体应用环境的技术实现。
     作者根据Microsoft .Net与IBM WebSphere所引领和倡导的技术发展趋势及业界对系统快速安全集成等方面日益增长的要求,提出了以Web服务技术来改造原有传统高成本系统的集成模式,从而实现快速与松散耦合进行系统集成的主张,并通过使用Microsoft针对.Net策略发布出来的诸如Windows 2003、Visual Studio.Net以及SQL Server 2000等重要核心产品,先后分别从局部到整体的,全面而系统的实现诸如:基于XML文档的解析与处理、基于Web服务技术的ADO.Net数据库查询技术及监控系统的开发、及其包含Web服务、UML等技术在内的综合电子商务系统的研究开发与演示过程。
What the Web did for program-to-user interactions, Web Services are poised to do for program-to-program interactions. Web Services allow companies to reduce the cost of doing e-business, to deploy solutions faster and to open up new opportunities. The key to reaching this new horizon is a common program-to-program communications model, built on existing and emerging standards such as HTTP, Extensible Markup Language (XML), Simple Object Access Protocol[19][22][29] (SOAP), Web Services Description Language (WSDL) and Universal Description, Discovery and Integration (UDDI).
    Web Services allow applications to be integrated more rapidly, easily and less expensively than ever before. Integration occurs at a higher level in the protocol stack, based on messages centered more on service semantics and less on network protocol semantics, thus enabling loose integration of business functions. These characteristics are ideal for connecting business functions across the Web both between enterprises and within enterprises. They provide a unifying programming model so that application integration inside and outside the enterprise can be done with a common approach, leveraging a common infrastructure. The integration and application of Web Services can be done in an incremental manner, using existing languages and platforms and by adopting existing legacy applications.
    SOA presents the big picture of what you can do with Web Services. Web Services specifications define the details needed to implement services and interact with them. However, SOA is an approach to build distributed systems that deliver application functionality as services to end-user applications or to build other services. SOA can be based on Web Services, but it may use other technologies instead. In using SOA to design distributed applications, you can expand the use of Web Services from simple client-server models to systems of arbitrary complexity. SOA is the new principle used as logic module in the computer program(named as Services),which can be thought as a guidance of design,exploitation,deployment ,arrangement of the logic module,and it can form a proper way to build application program,organize the IT fundamental infrastructure and operation function.Although SOA is often linked with XML and Web Services technology,the latter is usually nothing more than regarded as the technical realization of
     the SOA principle in allusion to the real application surroundings.
    Based on the trend which Microsoft.Net and IBM WebSphere has being brought out ,advocated and the demand that more and more company and enterprise gave out increasingly day by day, the author put forward the opinion that only by alteration of
    
    
    
    the orthodox and heave cost integration mode,the expeditiousness and unfixed coupling system integration can be realized. And at the same time, by using the core and important products such as Windows 2003.Visual Studio.Net and SQL Server 2000, some technology has been realized systematic from part to whole, such as the parse and process of the xml document, query technique and the development of the supervision system, at the end part of this paper, the compositive Web system has been exploited and demonstrated using Web Services, UML, some very important and profound technique.
引文
[1] 李慧盈 李德昌.利用 J2EE 构建XML Web Services的研究.计算机工程与应用.2004.40(5):128~130
    [2] 罗军红韩江洪.基于Web Service的多层分布式体系结构.合肥工业大学学报—自然科学版.2004.27(1):18~22
    [3] 王继梅金连甫.Web服务安全问题研究和解决.计算机应用与软件.2004.21(2):91-93
    [4] 李朋 张景.XML Web Services在电子办公中的应用.计算机工程与应用.2004.40(3):194~197
    [5] 张大陆 刘畅.Web服务语义描述的架构.计算机工程.2004.30(2):73-75
    [6] 罗荣良 朱勇.基于模型驱动架构的Web Services应用开发.计算机应用与软件.2004.21(1):110~111
    [7] 秦天保 白庆华.Web服务在B2B电子商务中的应用.计算机应用研究.2004.21(1):234~236
    [8] 张忠林.Web服务与随需应变的电子商务.南京理工大学学报.社会科学版.2003.16(4):52~55
    [9] 赵晨霞 郭世民.Web服务及其在电子商务中的应用.生产力研究.2003(5):272~273
    [10] 杜宗霞 怀进鹏.组合Web Service支撑系统的研究与实现.北京航空航天大学学报.2003.29(10):889~892
    [11] Matthew Macdonald. Microsoft .NET Distributed Applications: Integrating XML Web Services and .NET Remoting. Microsoft Press. 2003
    [12] K James Naftel Scott McLean. Microsoft .NET Remoting. Microsoft Press.2002
    [13] David Sceppa. Microsoft ADO.NET (Core Reference). Microsoft Press.2002
    [14] Jeffrey Richter. Applied Microsoft .NET Framework Programming. Microsoft Press.2002
    [15] David Conger. Remoting with C# and .NET: Remote Objects for Distributed Applications (Gearhead Press--In the Trenches). John Wiley & Sons.2003
    [16] John Robbins. Debugging Applications for Microsoft .NET and Microsoft Windows. Microsoft Press.2003
    [17] Dino Esposito. Applied XML Programming for Microsoft .NET. Microsoft Press.2002
    [18] Dino Esposito. Programming Microsoft ASP.NET. Microsoft Press.2003
    [19] Douglas K. Barry. Web Services and Service-Oriented Architectures: The Savvy Manager's Guide. Morgan Kaufmann.2003
    [20] Keith Ballinger. NET Web Services: Architecture and Implementation with .NET. Addison-Wesley Pub Co.2003
    [21] Matthew MacDonald. Alex Ferrara. Programming .NET Web Services. O'Reilly & Associates.2002
    [22] Eric Newcomer. Understanding Web Services: XML, WSDL, SOAP, and UDDI. Addison-Wesley Pub Co.2002
    [23] Doug Kaye. Loosely Coupled: The Missing Pieces of Web Services. RDS Press.2003
    
    
    [24] Allen Jones Adam Freeman,Adam Freeman, Allen Jones. Microsoft .NET XML Web Services Step by Step. Microsoft Press.2002
    [25] Jesse Liberty. Programming C#,Third Edition. O'Reilly & Associates.2003
    [26] Jesse Liberty, Dan Hurwitz. Programming ASRNET (O'Reilly Windows). O'Reilly & Associates.2002
    [27] Mark O'Neill. Web Services Security. McGraw-Hill Osborne Media.2003
    [28] Bill Evjen. XML Web Services for ASRNET. John Wiley & Sons.2002
    [29] Ethan Cerami. Web Services Essentials (O'Reilly XML). O'Reilly & Associates.2002
    [30] Eric A, Marks, Mark J. Werrell. Executive's Guide to Web Services. John Wiley & Sons.2003
    [31] Douglas K. Barry. Web Services and Service-Oriented Architectures: The Sawy Manager's Guide. Morgan Kaufmann.2003
    [32] Steve Graham, Simeon Simeonov, Toufic Boubez, Glen Daniels, Doug Davis, Yuichi Nakamura, Ryo Neyama. Building Web Services with Java: Making Sense of XML, SOAP, WSDL and UDDI. SAMS.2001
    [33] Frank P. Coyle. XML, Web Services, and the Data Revolution (Addison-Wesley Information Technology Series). Addison-Wesley Pub Co.2002
    [34] Aaron Skonnard, Martin Gudgin. Essential XML Quick Reference: A Programmer's Reference to XML, XPath, XSLT, XML Schema, SOAP, and More. Addison-Wesley Pub Co.2001
    [35] James McGovem, Sameer Tyagi, Michael Stevens, Sunil Mathew. Java Web Services Architecture. Morgan Kaufmann.2003
    [36] Yasser Shohoud. Real World XML Web Services: For VB and VB .NET Developers. Addison-Wesley Pub Co.2002
    [37] Jothy Rosenberg, David Remy. Securing Web Services with WS-Security : Demystifying WS-Security, WS-Policy, SAML, XML Signature, and XML Encryption. Pearson Higher Education.2004
    [38] Ravi Trivedi. Professional Web Services Security. Wrox Press Inc.2002
    [39] Bret Hartman, Donald J. Flinn, Konstantin Beznosov, Shirley Kawamoto. Mastering Web Services Security. John Wiley & Sons.2003
    [40] Donald E. Eastlake, Kitty Niles. Secure XML: The New Syntax for Signatures and Encryption. Addison-Wesley Pub Co.2002
    [41] Simon Robinson, K. Scott Allen, Ollie Comes, Jay Glynn, Zach Greenvoss, Burton Harvey, Christian Nagel, Morgan Skinner, Karli Watson. Professional C#, Second Edition. Wrox.2002
    [42] G. Andrew Duthie, Matthew MacDonald. ASP.NET in a Nutshell, Second Edition. O'Reilly & Associates.2003
    [43] Michael Howard, David C. LeBlanc. Writing Secure Code, Second Edition. Microsoft Press.2002
    [44] Paul B. Monday. Web Services Patterns: Java Edition. APress.2003
    [45] Hanspeter Moessenboeck, Wolfgang Beer, Dietrich Bimgruber, Albrecht Woess. NET Application Development : With C#, ASP.NET, ADO.NET, and Web Services. Pearson Addison Wesley.2004
    [46] Dino Esposito. Building Web Solutions with ASP.NET and ADO.NET. Microsoft Press.2002
    
    
    [47] David Gefen, Chittibabu Govindarajulu. Advanced Visual Basic.NET: Programming Web and Desktop Applications in ADO.NET and ASP.NET. Prentice Hall.2003
    [48] Charles Crawford, Jr. Caison. ASP.NET Programmer's Reference. Osborne Pub.2002
    [49] A. Russell Jones. Mastering ASP.Net with Visual C#. Sybex.2002
    [50] G. Andrew Duthie. Microsoft ASP.NET Programming with Microsoft Visual C# .NET Version 2003 Step By Step. Microsoft Press.2003
    [51] Edward Whalen, Marcilina Garcia. Microsoft SQL Server 2000 Performance Tuning Technical Reference. Microsoft Press.2001
    [52] Robert Vieira. Professional SQL Server 2000 Programming. Wrox.2000
    [53] Ray Rankins, Paul Jensen, Paul Bertucci. Microsoft SQL Server 2000 Unleashed (2nd Edition). SAMS.2002
    [54] Ken England. Microsoft SQL Server 2000 Performance Optimization and Tuning Handbook. Digital Press.2001
    [55] Jim Arlow, Ila Neustadt. UML and the Unified Process: Practical Object-Oriented Analysis and Design. Addison-Wesley Pub Co.2001
    [56] Craig Larman. Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process (2nd Edition). Prentice Hall PTR.2001
    [57] Bernd Bruegge, Allen H. Dutoit. Object-Oriented Software Engineering: Using UML, Patterns and Java, Second Edition. Prentice Hall.2003
    [58] Andrew Filev, Tony Loton, Kevin McNeish, Ben Schoellmann, John Slater, Chaur G. Wu. Professional UML with Visual Studio .NET. Wrox.2002
    [59] Craig Larman. Applying UML and Patterns Training Course: A Desktop Seminar from Craig Larman (2nd Edition). Prentice Hall PTR.2002
    [60] Lethbridge, Timothy Lethbridge, Robert Laganiere. Object-Oriented Software Engineering: Practical Software Development using UML and Java. McGraw-Hill.2002
    [61] Alan Dennis, Barbara Haley Wixom, David Tegarden. Systems Analysis and Design: An Object-Oriented Approach with UML. Wiley Text Books.2001
    [62] Sharon Crawford, Charlie Russel, Jason Gerend. Microsoft Windows Server 2003 Administrator's Companion. Microsoft Press.2003
    [63] William R. Stanek, William R. Stanek. Microsoft Windows Server 2003 Administrator's Pocket Consultant. Microsoft Press.2003
    [64] Holt Adams, Dan Gisolfi, James Snell., Raghu Varadan, Best practices for Web Services. http://www-900.ibm.com/developerWorks/cn/webServices/ws-best/
    [65] Heather Kreger. Web Services Conceptual Architecture(WSCA 1.0). http://www-900.ibm.com/developerWorks/cn/webServices/ws-wsca
    [66] Web Services specifications. http://www-900.ibm.com/developerWorks/cn/webServices/ws-spec/index eng.shtml
    [67] Kyle Brown Michael Ellis. Best practices for Web Services versioning, Keep your Web Services current with WSDL and UDDI. http://www-900.ibm.com/developerworks/cn/webServices/ws-version/index eng.shtml

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

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

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