1.1 What Are Web Services?
A web service is a piece of business logic, located somewhere on the Internet, that
accessible through standard-based Internet protocols such as HTTP or SMTP. Using a w
service could be as simple as logging into a site or as complex as facilitating a mul
organization business negotiation.
A web service has special behavioral characteris
1)XML-based
2)Loosely coupled :
A consumer of a web service is not tied to that web service directly; the web service
interface can change over time without compromising the client's ability to interact
with the service
3)Coarse-grained:
Web services technology provides a natural way of defining coarse-grained services that access the right amount
of business logic.
4)Ability to be synchronous or asynchronous
In synchronous invocations, the client blocks and waits for the service to complete its
operation before continuing.
Asynchronous operations allow a client to invoke a service and then execute other functions.
Asynchronous capability is a key factor in enabling loosely coupled systems.
5) Supports Remote Procedure Calls (RPCs)
6)Supports document exchange
Web services support the transparent exchange of documents to facilitate business integration.
1.1.1 The Major Web Services Technologies
1)Simple Object Access Protocol (SOAP) :
SOAP provides a standard packaging structure for transporting XML documents over
a variety of standard Internet technologies, including SMTP, HTTP, and FTP. It also
defines encoding and binding standards for encoding non-XML RPC invocations in
XML for transport. SOAP provides a simple structure for doing RPC: document
exchange. By having a standard transport mechanism, heterogeneous clients and
servers can suddenly become interoperable. .NET clients can invoke EJBs exposed
through SOAP, and Java clients can invoke .NET Components exposed through
SOAP.
2)Web Service Description Language (WSDL):
WSDL is an XML technology that describes the interface of a web service in a
standardized way. WSDL standardizes how a web service represents the input and
output parameters of an invocation externally, the function's structure, the nature of
the invocation (in only, in/out, etc.), and the service's protocol binding. WSDL allows
disparate clients to automatically understand how to interact with a web service.
3)Universal Description, Discovery, and Integration (UDDI)
UDDI provides a worldwide registry of web services for advertisement, discovery, and
integration purposes. Business analysts and technologists use UDDI to discover
available web services by searching for names, identifiers, categories, or the
specifications implemented by the web service. UDDI provides a structure for
representing businesses, business relationships, web services, specification metadata,
and web service access points
三种技术的交互:
an application acting in the role of a web services client needs to locate another
application or a piece of business logic located somewhere on the network. The client queries
a UDDI registry for the service either by name, category, identifier, or specification
supported. Once located, the client obtains information about the location of a WSDL
document from the UDDI registry. The WSDL document contains information about how to
contact the web service and the format of request messages in XML schema. The client
creates a SOAP message in accordance with the XML schema found in the WSDL and sends
a request to the host (where the service is).
分享到:
相关推荐
webService学习笔记
WebService学习笔记 比较经典
webservice学习笔记doc文档,喜欢或想要了解webservice的朋友可以下载学习一下。
Webservice学习笔记
尚硅谷Webservice学习笔记,详情请参看文档,仅供个人学习
122158-Webservice学习笔记.doc
122158_Webservice学习笔记.doc
SAP与其他外围系统交互使用的一种通讯方式,具体讲述了WSDL文件的发布与在SAP中的部署,以及接口的测试和配置方式
webservice学习笔记,对掌握和理解webservice有很好的帮助,特此分享
什么是 Web 服务? 2, 什么是SOAP?3, 什么是Axis? 4, Axis相比Soap v2的优点5, 什么是WSDL? 6, 什么是WSDD? 7, 什么是UDDI? 8, AXIS的几种服务类型二, 开发,部署Web服务: 三, 在IDE下开发Web服务:
包括服务端配置工程和客户端配置工程。 是我这个周末的学习总结.. 已测试可运行。
NULL 博文链接:https://lanccj.iteye.com/blog/1463329
webservice学习笔记1DTD是为了校验XML 2语法 3 schema
WebService学习笔记
NULL 博文链接:https://sunwei-07.iteye.com/blog/1139814
刘冬编写的Spring.NET学习笔记21——整合WebService的例子。 原文:http://www.cnblogs.com/GoodHelper/archive/2009/11/19/SpringNet_WebService.html
对于网络服务不是很了解的朋友就下载看看吧。