What is the difference between the SOAP and HTTP protocol. When we say "SOAP over HTTP", what does that mean.?
相关问题
- Angular RxJS mergeMap types
- Google Apps Script: testing doPost() with cURL
- How to instantiate Http service in main.ts manuall
- C#使用http访问网络,有办法用指定网卡访问网络嘛?
- PHP Empty $_POST
相关文章
- C#使用http访问网络,有办法用指定网卡访问网络嘛?
- Is a unicode user agent legal inside an HTTP heade
- Cannot use org.jvnet.jax-ws-commons.jaxws-maven-pl
- git: retry if http request failed
- Flutter - http.get fails on macos build target: Co
- PHP SoapClient constructor very slow
- C# HttpClient.SendAsync always returns 404 but URL
- Response body is null, status is 200
You can serve any content over HTTP such as HTML, images, sound, video, etc. SOAP is an XML-based encoding of messages that are typically sent over HTTP, but could be sent over SMTP or even FTP, although I've never seen such a system used in a production environment.
Just like HTTP sits on top of TCP/IP, SOAP sits on top of HTTP. Layers on top of layers...
If you look at a SOAP request, you can see both layers, with the HTTP headers at the top, followed by the SOAP message. From the w3schools SOAP tutorial:
More reading for you:
To interact with server, request should be in XML encoded format using SOAP. But in case of HTTP, request can be sent in HTML, Image, video format etc. SOAP request are sent using HTTP protocol.
SOAP stands for Simple Object Access protocol. It is XML based used for sending and receiving messages. It is defined with in XML.
Example.
smtp stands for Simple Mail Transfer Protocol. Simple Mail Transfer Protocol is a way to transfer email reliably and efficiently. smtp is used to send mail to the recipient's mailbox,thus using various methods to access the emails in his mailbox. smtp by default uses tcp port 25. The protocol for mail submission is the same, but uses port 587. smtp connections secured by [SSL], known as smtps, default to port 465 (nonstandard, but sometimes used for legacy reasons). We can send messages synchronously or asynchronously. Sessions can be automatically managed.
SOAP is language dependent, But SMTP is Language independent. SOAP is mainly used for XML webservices. SMTP is also using http protocol to get or post information.