First of all, TCP/IP is basically a faster in terms of performance than SOAP http because http is built on top of TCP and will have additional features.
SOAP offers you several features in terms of security - especially the entire request is enveloped using Soap Header and Soap Body and these features are specific SOAP. When you work with SOAP - you will work with XML.
Typically, you will use SOAP in distributed applications, when you are developing your components loosely coupled (not depend on each other) and can be deployed independently in servers. Using XML gives you interoperability (i.e., can be understood by any
other technology). Ex, your .net SOAP services can be consumed by Java services or vice-versa.
Contributor
2231 Points
3706 Posts
What is the difference between SOAP over http protocol and Binary over TCP protocol
Nov 07, 2016 09:02 AM|sudip_inn|LINK
please tell me the difference between SOAP over http protocol and Binary over TCP protocol.
which one best and when ?
please give me as much as article link on this topic as a result i get more points. thanks
Star
9052 Points
2255 Posts
Re: What is the difference between SOAP over http protocol and Binary over TCP protocol
Nov 07, 2016 10:55 AM|Siva Krishna Macha|LINK
SOAP http is used
1. When you need more Security than internal applications.
2. It offers Interoperability as XML was preferred approach (I'm not going yet up to JSON) than objects being passed in across the layers
3. For Distributed applications using Service oriented arch applications
Remember Http is built on top of TCP.
Binary TCP is used
1. When you are looking for more performance.
2. Mostly for internal applications / when using transferring the binary data like jpeg etc
Thanks & Regards,
Siva
Contributor
2231 Points
3706 Posts
Re: What is the difference between SOAP over http protocol and Binary over TCP protocol
Nov 07, 2016 12:24 PM|sudip_inn|LINK
Sorry not very clear.
Star
9052 Points
2255 Posts
Re: What is the difference between SOAP over http protocol and Binary over TCP protocol
Nov 07, 2016 12:44 PM|Siva Krishna Macha|LINK
First of all, TCP/IP is basically a faster in terms of performance than SOAP http because http is built on top of TCP and will have additional features.
SOAP offers you several features in terms of security - especially the entire request is enveloped using Soap Header and Soap Body and these features are specific SOAP. When you work with SOAP - you will work with XML.
Typically, you will use SOAP in distributed applications, when you are developing your components loosely coupled (not depend on each other) and can be deployed independently in servers. Using XML gives you interoperability (i.e., can be understood by any other technology). Ex, your .net SOAP services can be consumed by Java services or vice-versa.
Thanks & Regards,
Siva