webservice——基本概念

本文解析了SOAP(简单对象访问协议)、WSDL(Web服务定义语言)及UDDI(通用描述、发现与集成)的概念及其相互间的关系。介绍了SOAP作为轻量级协议在分布式环境中交换结构化信息的作用;WSDL定义了描述网络服务的标准XML语法;UDDI则提供了发布和发现网络软件组件的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. SOAP--Simple Object Access Protocal<o:p></o:p>

SOAP is a lightweight protocol intented to exchanging structured information in a decentralized, distributed environment.The two major goals for SOAP is simplicity and extensibility.<o:p></o:p>

SOAP is widely used for XML messaging as it :<o:p></o:p>

    defines thin layer on top of widely understood HTTP 
    is flexible and extensible 
    enjoys broad industry and developer community support <o:p></o:p>

Main uses of SOAP are for <o:p></o:p>

    messaging: sending XML data orders, invoices, forms 
    RPC: invoking services querying data sources, transacting<o:p></o:p>

2. WSDL--Web Service Definition Language<o:p></o:p>

As the communication protocols and message formats are standardized in the web community, it becomes increasingly possible and important to be able to describe the communication s in some structured way.WSDL addresses this need by defining an XML grammar for describing network services as collections of communication endpoints capable of exchanging messages.<o:p></o:p>

3.  UDDI-- Universal Description, Discovery, and Integration <o:p> </o:p>

UDDI protocol is a central element of the group of related standards that comprise the Web services stack. The specification defines a standard method for publishing and discovering the network-based software components of a service-oriented architecture.<o:p></o:p>

4.  the relationship between SOAP,WSDL and UDDI <o:p> </o:p>

web service client 需要定位另一个应用程序或者是网络上的某一段业务逻辑, client 通过 name catagory identifier 或者 specification 来从 UDDI registry 中查询服务,定位以后, client UDDI registry 中得到 WSDL 文档的位置信息。在 WSDL 文档的 XML schema 中包含了如何访问 web service 和请求信息的格式, client 按照 xml schema 的格式来创建一个 soap 消息,并向 host 发送请求。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值