Font Size: a A A

Ruby-based Web Service Application

Posted on:2011-11-01Degree:MasterType:Thesis
Country:ChinaCandidate:S G D I s g e n d e r YiFull Text:PDF
GTID:2218330368458928Subject:Computer applications
Abstract/Summary:
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").
Keywords/Search Tags:Web service, XML Encryption, SOAP4R, WSDL, Ruby
Related items