asp.net - SOAP versus HTTP -
I have read that web services are broadcast via HTTP on SOAP. Then what is the difference between SOAP and HTTP , if they are both communications protocols?
Is there a difference or is HTTP used by SOAP?
There are two main protocols related to the web service.
-
1, Transport Protocol - e.g. HTTP (commonly used), TCP, UDP
-
2, Message Protocol - e.g. SOAP, XML, JSON or Binary Encoded Message
Generally,
- Messaging Protocol for exchanging Responsible
- Transport Protocol is responsible for distributing messages and how to communicate it.
A real world example: HTTP is like telephone communication, SOAP is like English
You call web services at SOAP messages over HTTP as if you Call the friend with a mobile phone and talk in English.
Comments
Post a Comment