基于Ruby的Web Service应用

来源 :北京化工大学 | 被引量 : 0次 | 上传用户:jianlovepan
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Web services technologies are advancing fast and being extensivelydeployed in many different application environments. Web services based onthe eXtensible Markup Language (XML), the Simple Object Access Protocol(SOAP), and related standards, and deployed in Service-OrientedArchitectures (SOAs) are the key to Web-based interoperability forapplications within and across organizations. Furthermore, they are making itpossible to deploy applications that can be directly used by people, and thusmaking the Web a rich and powerful social interaction medium. Web- services allows for the applications written in the differentlanguages of programming and working on different firmware platforms, itis easy to exchange the data through the clear- specific interfaces. In theiressence, the Web- services are one of the embodiment of technology RPC -remote procedure call-in. Remote call-in of procedures - the class of thetechnologies, which make possible for computer programs to causefunctions or procedures in other address space (as a rule, on the remotecomputers). Usually, the realization RPC of technology includes twocomponents: net protocol for the exchange in the regime client- server andthe language of objects. At the basis of Web- services the followingstandards 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 Iwill 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 codefrom a WSDL, either client code for calling the web service specified in theWSDL or server stubs for implementing the service instead. To make thiscode generation easier and also allow for easy comparison between differentframeworks, 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; thesame contract being exposed with two bindings, one for SOAP 1.1("CurrencyConverterSoap") and one for SOAP 1.2("CurrencyConverterSoap 12").
其他文献
针对现行DDoS攻击检测方法存在着诸如检测率不高、适用范围不广、突发业务流与DDoS攻击难于区分等缺陷。在分析了DDoS攻击对网络流量大小和IP地址相关性的影响基础上,本文提
自动识别技术的诞生促进了信息化、智能化、一体化的发展。射频识别技术RFID作为自动识别技术的一种,凭借其多个技术优点,成为标签时代的宠儿,在多个领域有广阔的应用前景,成为各
视频数据包含极为丰富的信息,诸如图像、音频、文本等多媒体信息,而这些信息与人们的日常生活、工作以及休闲、娱乐息息相关,越来越受到人们的关注和重视。然而,由于视频数据的剧
图形聚类分析是图像处理研究领域的热点之一。它的应用涉及到国民经济的许多领域,目前已经有许多学者进行了大量的研究。由于将聚类分析应用到图像模式识别可以对统一图像分
随着网络的不断推广,网络安全问题越来越严重,网络安全技术中的入侵检测技术也成为目前安全领域中研究的热点和重点。入侵检测(ID)技术是继防火墙、数据加密等传统安全保护措
随着计算机网络的快速发展和在各行各业的广‘泛应用,但网络在给人类带来高效、便捷的同时,也带来了许多挑战,面对错综复杂的网络环境,选择合适的组网模式和网络安全策略直接
基于ZigBee技术的小区智能安防监控系统以微处理器S3C6410,嵌入式LINUX2.6操作系统为核心,实现通过无线传感网络实时采集视频监控现场数据并通过ZigBee无线网络CC2430结点发
近几年来,随着农务信息化建设步伐的加快和信息产业的发展,农务信息量呈几何级增长。许多地方也先后建立了一些农务的信息服务平台,但很多都还仅仅停留在传统的模式上,并没有有效
随着现代科学技术的迅速发展,当今社会己进入信息时代。计算机技术的飞速发展特别是Internet的广泛应用,使得信息化成为现代社会发展的主要推动形式。在线考试系统是现代教育考
近年来,深度图像的相关技术在人机交互、3D重建等方面得到了广泛的应用。然而普通深度传感器(如微软Kinect),其深度图像精度有限,且存在着与彩色图像不一致、深度区域缺失、