在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;南京