Difference between SOAP and HTTP protocol?

前端 未结 3 527
悲哀的现实
悲哀的现实 2021-01-31 02:46

What is the difference between the SOAP and HTTP protocol. When we say \"SOAP over HTTP\", what does that mean.?

3条回答
  •  情歌与酒
    2021-01-31 03:00

    SOAP stands for Simple Object Access protocol. It is XML based used for sending and receiving messages. It is defined with in XML.

    Example.

    
    
    
    
    
      
        1.90
      
    
    
     
    

    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.

提交回复
热议问题