Web service的个段经典比喻

本文通过电话通话的比喻,形象地解释了HTTP协议、UDDI、SOAP、XML和WSDL等WebService关键技术之间的联系,并深入浅出地介绍了每项技术的作用。

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

    在oracleUCM的soap_wsdl_10en.pdf文档有一段关于webservice的经典描述,英文原著如下:

    To help grasp the connection between these technologies(HTTP protocol,UDDI,SOAP,XML,WSDL), consider this simple analogy:
Think of HTTP as the telephone wire (transport between applications) and UDDI as a telephone book (where a developer can browse a UDDI registry to locate a registered service). SOAP could be described as the voices of the people talking on the telephone (the exchange of information), and XML as the language they are speaking in (the underlying structure for the exchange of data). To continue with the telephone analogy, WSDL would be the phone number that calls a specific web service (of course, WSDL is more than just a "telephone number" as it includes information such as the available functions and data types).

    翻译如下:为了更好地掌握HTTP协议,UDDI(Universal Descripton Discovery and Integration),XML,WSDL之间的联系可以以电话为例来做比喻:

1、HTTP协议可以认为是电话线,在不同的应用间传递信息。

2、UDDI是我们日常使用的电话簿,电话号码可以被电话使用者查询到。

3、SAOP是双方电话里面所说的内容。

4、XML是双方电话所说的语言,我们打电话时可以说中文,英文,俄语等,但是在webservice中我们就只能说“XML”语了。

5、WSDL就是“电话号码”了,当然WSDL不止是一个电话号码,它还可以描述“打电话”时双方说话的一些规则等。(其实笔者认为是双方说话要遵守的一些规则,毕竟wsdl是在服务端定义的)

                                                                             Thmoas Yang

                                                                             2010.6.30;南京

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值