Friday, May 18, 2012

SOAP/HTTP vs SOAP/TCP

Recently I had to check out SOAP/HTTP and SOAP/TCP as solutions to a WCF service. I know SOAP/TCP was not there in previous WCF versions. However, after analyzing WCF 4.0, I came to know that it is still not there but can be implemented only thru custom binding.
Tabulated below are some key differentiators on SOAP/HTTP vs SOAP/TCP


SOAP/HTTP
SOAP/TCP
Not connection-based
Connection-based
Stateless
Stateful
Request-Response delivery mechanism
Supports fast infoset
Need to use WSReliableMessaging for reliable data delivery
Reliable data delivery,

Provides duplex communication
Slowest of the three
Fastest of the three, since only the new/changed data packets are transmitted
OOTB WCF binding available
Custom binding to be created, third-party component available

No comments: