更新时间:2021-08-19 22:18:01
有Web服务相关的两个主要协议。
There are two main protocols related to web services.
1,传输协议 - 例如
HTTP(常用),TCP,UDP
1st, transport protocols - e.g. HTTP(commonly used), TCP, UDP
2,的消息传递协议 - 例如肥皂,
XML,JSON或二进制EN codeD的消息
2nd, messaging protocols - e.g. SOAP, XML, JSON or binary encoded messages
一般而言,
一个真实的例子:
HTTP就像是电话沟通,SOAP是喜欢英语。
A real world example: HTTP is like telephone communication, SOAP is like English.
您在SOAP消息调用Web服务通过HTTP,如您通过手机和英语交谈打电话给你的朋友。
You call the web service over HTTP in SOAP messages such as you call your friend by mobile phone and talking in English.