Ruby - based Web Service Application
- Author
- YiSiGanDe(Isgender)
- Advisor
- LiHui
- School
- Beijing University of Chemical Technology
- Major
- Computer Applications
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 5
- Citations
- 0
Abstract
Web services technologies are advancing fast and being extensively deployed in many different application environments. Web services based on the eXtensible Markup Language (XML), the Simple Object Access Protocol (SOAP), and related standards, and deployed in Service-Oriented Architectures (SOAs) are the key to Web-based interoperability for applications within and across organizations. Furthermore, they are making it possible to deploy applications that can be directly used by people, and thus making the Web a rich and powerful social interaction medium.Web-services allows for the applications written in the different languages of programming and working on different firmware platforms, it is easy to exchange the data through the clear-specific interfaces. In their essence, the Web-services are one of the embodiment of technology RPC remote procedure call-in. Remote call-in of procedures-the class of the technologies, which make possible for computer programs to cause functions or procedures in other address space (as a rule, on the remote computers). Usually, the realization RPC of technology includes two components:net protocol for the exchange in the regime client-server and the language of objects. At the basis of Web-services the following standards lie:●XML-for the transmission of structured data;●SOAP-protocol of the exchange of communications on the base XML;●WSDL-language of the description of the interfaces of Web-services;●UDDI-catalog of Web-services.In this work I mentioned about that as to be connected to the Web-services with the use of language of programming Ruby. As an example I will examine Web-service of the CBR (Central bank of Russian Federation) for obtaining the rate of change.Most Web-Service development frameworks allow us to generate code from a WSDL, either client code for calling the web service specified in the WSDL or server stubs for implementing the service instead. To make this code generation easier and also allow for easy comparison between different frameworks, soapUI provides a graphical front-end for most of them.A WSDL can expose any number of services (bindings in WSDL-speak), which expose a certain contract ("portType") for a specified protocol; the same contract being exposed with two bindings, one for SOAP 1.1 ("CurrencyConverterSoap") and one for SOAP 1.2 ("CurrencyConverterSoap 12").
Table of contents
ABSTRACT 4-8
Chapter 1: Introduction 8-14
1.1. Purpose and meaning of the research 8
1.2 An Overview of Web Services Security and Technology 8-10
1.3 An overview of Ruby 10-11
1.4 Thesis Organizational Structure 11-14
Chapter 2. Web Services Principles 14-28
2.1 The Framework of the Web Service 14-17
2.2 SOAP (Simple Object Access Protocol) 17-21
2.2 .1 SOAP Message Processing 18-19
2.2.2 Message Format 19-20
2.2.3 SOAP Features 20-21
2.3 UDDI (Universal Description Discovery and Integration) 21-24
2.4 WSDL (Web Services Description Language) 24-28
Chapter 3. Web Service Design with Ruby 28 -50
3.1 Why use Ruby? 28-29
3.1.1 Ruby language features 28-29
3.2 Installing Ruby 29-33 < br /> 3.2.1 Installing Ruby with a Package Manager 30
3.2.2 Installing Ruby from Source Code 30-31
3.2.3 Installing Ruby with its Tools 31-32
3.2.4 Installing Applications and Libraries from RAA 32-33
3.3 Process XML Documents the Ruby Way 33-37
3.3.1 Use XML Files as Models 34-37
3.4 Web Service Design with Ruby 37-44
3.4.1 Obtaining and Installing xmlrpc4r 38
3.4 .2 Configuring xmlrpc4r 38-39
3.4.3 Writing XML-RPC Clients 39-42
3.4.4 Writing XML-RPC Servers 42-44 < br /> 3.5 Application of retrieving exchange rate 44-50
Chapter 4. Designing Experiments 50-58
4.1 Obtaining exchange rate result 50-54
4.2 Data Analyze 54-58
Conclusion 58-62
Acknowledgements 62-64
References 64-66
Acknowledgements 66-68
Appendix 1. Creating demands for the current date 68-72
Appendix 2 Web Service description in the WSDL language 72 - 97
the postgraduate dissertation defense committee resolution book 97-98
Related dissertations
- Research on Database Legacy System Migration to the Integrated Web Service
- Research of Web Service Security Model Based on Simple Object Access Protocol
- Design and Implementation on Digital Campus Basing on Web Service
- The Research&Implementation of Web Service Test Data Generation
- Study on Quick Response System for Apparel Supply Chain Based on Web Services
- Research on Personalized Information Service of Digital Library in the Cloud Computing Environment
- The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
- Design and Implementation of the Campus Network Application Based on SOA
- Design and implementation of temperature and humidity measurement and control system based on Internet
- Research and Application of Mobile Augmented Reality Interact with Web Service
- Research of Heterogeneous Database Integration Based on Web Service and XML
- Data Exchange Services of the Group Enterprise and Its Applied Research
- Design and Implementation of Picture Sharing Application System Based on iOS
- Design and Implementation of Digital Media Resources Collaborative Production Platform Based on SOA
- Research and Realization of University Equipment Management System Based on SOA
- 3D Accounting Training Platform Based on Flash Technology Design and Implementation
- Construction and Application of Technology of Biological Information Workflow
- The Research and Application of Warehouse Management System Based on SOA
- Two-Dimensional Code Verification Ticket System Based on Web
- With the Implementation of Emergency Management System Based on WEB Service