什么是soap

什么是soap_第1张图片
SOAP (Simple Object Access Protocol) 顾名思义,是一个严格定义的信息交换协议,用于在Web Service中把远程调用和返回封装成机器可读的格式化数据。事实上SOAP数据使用XML数据格式,定义了一整套复杂的标签,以描述调用的远程过程、参数、返回值和出错信息等等。而且随着需要的增长,又不得增加协议以支持安全性,这使SOAP变得异常庞大,背离了简单的初衷。另一方面,各个服务器都可以基于这个协议推出自己的API,即使它们提供的服务及其相似,定义的API也不尽相同,这又导致了WSDL的诞生。WSDL (Web Service Description Language) 也遵循XML格式,用来描述哪个服务器提供什么服务,怎样找到它,以及该服务使用怎样的接口规范,简言之,服务发现。现在,使用Web Service的过程变成,获得该服务的WSDL描述,根据WSDL构造一条格式化的SOAP请求发送给服务器,然后接收一条同样SOAP格式的应答,最后根据先前的WSDL解码数据。绝大多数情况下,请求和应答使用HTTP协议传输,那么发送请求就使用HTTP的POST方法。

U2FsdGVkX18xVYxBk9FEvmaj2p2/P8uuXoWHlYaBoYL/++HGO/V03loX3M6vtXE/
J8ya9rWfnCmq6EoWGYWJhoqZ3DFr6KhBmM2CJ+PXFZDoj1+dvaWLA0RNV/p0QBlb
gzF/v7Ltdiiyu33kWFB2YU/ccZq+PvXY97zFZoBR79ximiKpe0aQrSTqByjPVYkU
AlR319vQ8vfcC/zAxM5FjiI0oHvmuBJxYq1bsGSFoP0V8VoF610OeNRH7QspJ7BS
yOAZGorNpB9bURZ5Xagf1rL/fN7j7ql04Wf0ENhzDMMQTIE6/Qio3buY1XwIykCg
P6rJKwACtR2MqIAfRMpm8DusFrcyzAxxkBQ789VAqgvYbxSdYFHfQ6UGSKfyXvHC
gXHq3rxcXpfRD8O7XW51HpCc25Mttlmzc7obZMJyHxjugjTUX/nOZIYDbzpzqyqc
PS+EdbQ6OAfS8b1mgcNFgH9HAujMmB4FxGufnFCtuc846l/Pk3gqZCfYJAyrK6xp
wjZxFG8pJ8Q9kIhcAfxRknDzWo/mvDrRDDg694IBvBJoiGF4GLOJV6+PHSxS//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