`
iloveflower
  • 浏览: 78953 次
社区版块
存档分类
最新评论
  • iloveflower: 呵呵。好好学习。。。。。。。。。。。。
    java 读书
  • Eric.Yan: 看了一点,不过是电子版的……你这一说到提醒我了,还要继续学习哈 ...
    java 读书

web service introduce

阅读更多
Web Services Introduction

Before understanding why web services are popular or so important, you should first assess ‘What is Web Services, what’s its use and how does it work?’ The nature and functionality of web services have made it very popular. Nowadays, our business systems have matured, transparent and more logical and high tech, and all for these are because of web services.

Definition

Web services are the amalgamation of eXtensible Markup Language (XML) and HyperText Transfer Protocol HTTP that can convert your application into a Web-application, which publish its function or message to the rest of the world.

In other words, we can say, web services are just Internet Application Programming Interfaces (API) that can be accessed over a network, such as Internet and intranet, and executed on a remote system hosting the requested services.

Web-applications are simple applications that run on the web. Web services are browsers and operating system independent service, which means it can run on any browser without the need of making any changes. Web Services take Web-applications to the Next Level.

The World Wide Web Consortium (W3C) has defined the web services. According to W3C, “Web Services are the message-based design frequently found on the Web and in enterprise software. The Web of Services is based on technologies such as HTTP, XML, SOAP, WSDL, SPARQL, and others.”

The Elements of Web Services
Web services use XML to code and to decode data, and SOAP to transport it (using open protocols). Besides these, HTTP, Web Services Description Language (WSDL), Universal Description, Discovery and Integration (UDDI), and SPARQL are the elements of Web Services.

To understand clearly about Web Services, it is mandatory to have some brief knowledge of web services elements.

HTTP

HyperText Transfer Protocol in short HTTP is the most widely used protocol by World Wide Web. It defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands.

One of the shortcomings of HTTP is that it is a stateless protocol, which means each command is executed independently, without any knowledge of the commands that came before it. This shortcoming has been resolved in new technologies includes ActiveX, Java, JavaScript and cookies.

Simple Object Access Protocol (SOAP)

SOAP is a simple XML-based protocol that allows to communicate applications information over HTTP without the dependency of OS platform. SOAP uses HTTP and XML as the mechanisms for information exchange.

Universal Description, Discovery and Integration (UDDI)

Universal Description, Discovery and Integration in short UDDI is a web based distributed directory like traditional phone book's yellow and white pages that enables businesses to list themselves on the Internet and discover each other. It defines a registry service – a Web service that manages information about service providers, service implementations, and service metadata – for Web services and for other electronic and non-electronic services.

The service providers can use UDDI to advertise the services they offer while service consumers can use UDDI to discover services.

Web Services Description Language (WSDL)

The WSDL refers to Web Services Description Language, is an XML based protocol used for sending and receiving the information through decentralized and distributed environments. WSDL is an integral part of UDDI that was developed jointly by Microsoft and IBM.

It defines what services are available in its Web service and also defines the methods, parameter names, parameter data types, and return data types for the Web service. The WSDL document is quite reliable and applications that use web services accept it

SPARQL
SPARQL refers to SPARQL Protocol and RDF Query Language is an RDF query language that defines a standard query language and data access protocol for use with the Resource Description Framework (RDF) data model. It works for any data source that can be mapped to RDF. SPARQL allows a query to be consisted of triple patterns, conjunctions, disjunctions, and optional patterns. It is standardized by the RDF Data Access Working Group (DAWG) of the W3C, and is considered a key semantic web technology.

Uses of Web Services
Web services are a set of tools that can be used in a number of ways most commonly in three styles:

•Remote Procedure Calls
•Service-oriented architecture
•Representational state transfer
Moreover, it is also used as Reusable application-components and Connect existing software.

Remote procedure calls (RPC)
The Remote procedure calls Web services present a distributed function call interface, which is familiar to many developers. Typically, the basic unit of RPC Web services is the WSDL operation.

Service-oriented architecture (SOA)
Under Service-oriented architecture (SOA) Web services is used to implement an architecture in which the basic unit of communication is a message, rather than an operation. This is often referred to as "message-oriented" services. Major software vendors and industry analysts support the SOA Web Services.

Representational state transfer (REST)
The Representational State Transfer (REST) Web Services attempts to describe architectures based on REST can use WSDL to describe SOAP messaging over HTTP, which defines the operations. REST describes operations, can be implemented as an abstraction purely on top of SOAP or can be created without using SOAP at all.

In Reusable application-components uses Web Services offers most frequently used services like currency conversion, weather reports, language translation and much more.

In Connect existing software, Web Services offers you to exchange data between different applications and different platforms. In this type of uses, you can solve the interoperability problem by giving different applications a way to link their data.

Now, you have assessed why web services is so popular and why it is widely in use.

In this section we introduced you with the Web services. In next section you will learn about the importance of Web services.

Web   Service本质在一般情况下就是用HTTP发送一组XML数据包非WEB上的HTML
分享到:
评论

相关推荐

    Web Service and primitive SOA

    Web Service and primitive SOA INTRODUCE

    introduce to linux.html

    4. 系统管理:了解如何使用sysctl、service、systemctl等工具调整系统设置和服务状态。 5. 软件安装:学会使用包管理器如apt(Debian系)、yum(RHEL系)或dnf(Fedora)安装和更新软件。 6. 配置网络:配置IP地址...

    SSAS Introduce

    SSAS(Sql Server Analysis Service)是微软开发的一种用于企业级数据仓库和商务智能的分析服务。它是SQL Server数据库管理系统的一部分,特别适用于处理大量数据的离线分析和报告,提供了高效能和高度定制化的用户...

    Clean Architectures in Python A practical approach to better software design

    The first chapter discusses briefly the components and the ideas behind this software structure, while chapter 2 runs through a concrete example of clean architecture for a very simple web service....

    jboss seam introduce

    这个框架集成了多种技术,如JavaServer Faces (JSF)、Java Persistence API (JPA)、Enterprise JavaBeans (EJB)、Java Message Service (JMS)等,为开发者提供了一个统一的开发环境,旨在提升开发效率并减少代码复杂...

    Internet Infrastructure_Networking, Web Services, and Cloud Computing-CRC2018

    These chapters introduce local area networks (LANs), wide area networks (WANs), wireless LANs, tools for exploring networks, and the domain name system. Such a course could also spotlight later ...

    Effective Amazon Machine Learning

    Furthermore, you will learn to leverage the Amazon Web Service (AWS) ecosystem for extended access to data sources, implement realtime predictions, and run Amazon Machine Learning projects via the ...

    mastering-spring-cloud2018

    An active internet connection Java 8+ Docker Maven Git client Chapter 1, Introduction to Microservices, will introduce you to the ...on these platforms using command-line tools or web console.

    Cloud Native Go(Addison,2016)

    They also introduce Go, a “simply elegant” high-performance language that is especially well-suited for cloud development. You’ll walk through creating microservices in Go, adding front-end web ...

    spring.microservices.in.action

    We’ll cover the basics of setting up an OAuth2 service to protect your services and also how to use JavaScript Web Tokens (JWT) in your OAuth2 implementation. Chapter 8 looks at how you can ...

    intro to websphere

    Web应用程序服务器结合了面向对象技术的最佳实践(如客户端、表示层的Servlets、JavaServer Pages)与最新的软件实现业务模型的技术(如Web服务、企业级Java Beans)。此外,应用服务器还利用最新的集成软件(如连接...

    SHH简单集成示例

    项目包SSH 环境:eclipse下ssh集成,数据库mysql 运行:  1、直接导入该SSH项目 2、applicationContext-common.xml对dataSource修改为你的url,... 还可以根据文件夹中的introduce.txt根据自己的项目实际需要添加.

    TransportLayer_TCP_UDP

    These problems can degrade the quality of service for applications relying on this layer. - TCP congestion control mechanisms, such as slow start and congestion avoidance, help manage network ...

    NIST SP800-52.pdf

    None guide Federal users and system administrators to adequately protect sensitive but unclassified Federal Government data against the most serious threats on the World Wide Web – eavesdropping, ...

    英语面试自我介绍范例精选.doc

    1. "Introduce myself, I called XX, majoring in finance. Because schools have different experiences and experience, I can organize different types of meetings, planning meetings, production contracts, ...

Global site tag (gtag.js) - Google Analytics