Overview of Web Services

 
An organization can offer its application services to other organization by using the standards-based model of web services. Web services can be used within a business to integrate various critical applications, or web services can be made available to other businesses or individuals.
Web services rely on a variety of published standards for communication, security, data exchange, and so on. Standards-based technology enables businesses and individuals to use each other’s web services, regardless of the underlying applications or implementations of the service. Most web services comply with the following standards:
HyperText Transfer Protocol (HTTP) or Java Message Service (JMS) — HTTP and JMS are transports, that is mechanisms for relaying information. Web services use a transport mechanism such as a Web server or JMS server to store and relay messages. TIBCO ActiveMatrix BusinessWorks supports HTTP and JMS as transports for web service messages.
Simple Object Access Protocol (SOAP) version 1.1 or 1.2 — SOAP is the communications protocol for web services. SOAP defines message structure and bindings to the underlying transports.
EXtensible Markup Language (XML) — XML is used to define data schemas for SOAP message content.
Web Service Definition Language (WSDL) — WSDL describes the interface to a web service. A web service provider publishes a WSDL file that describes the offered service. A client uses the WSDL file to determine the appropriate input, output, and fault messages for the service.
Web Service Security (WS-Security) — WS-Security specification defines the standards-based approach to message-level security. Unlike transport-level session security (such as HTTPS), message-level security allows you to secure messages that may travel through multiple hops on a distributed transport channel. Message-level security is important for organizations that require trusted, secure communication between web services and clients.
The World Wide Web Consortium (W3C) maintains the standards upon which web services are based. See http://www.w3.org/ for more information about the currently supported web services standards.
Figure 43 illustrates a typical interaction between a web service client and server. In this example, the web service provider uses HTTP as the underlying transport for sending and receiving messages. The client first retrieves the interface for the web service by requesting the WSDL file. Retrieving the WSDL file can be done either through a direct request to the service provider (as illustrated) or by searching well-known directories of web services. See WSIL Files and UDDI Registries for more information about using directories of web service providers.
Next, the client invokes an operation in the service by sending a SOAP message with the appropriate input defined in the WSDL. The web service executes the appropriate implementation and either successfully completes (and optionally sends a message containing the results of the operation) or sends a fault message detailing any errors encountered during the operation. Operations can be one-way (no information returned) or request-response (a response message is returned). If the operation returns information, the client then processes the information.
 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值