Why is TCP SOAP more efficient than Http SOAP?

  • Thread starter Thread starter Reshma Prabhu
  • Start date Start date
R

Reshma Prabhu

Hi All.

In Remoting, There are 4 combinations possible.
HTTP -SOAP
HTTP - Binary
TCP - SOAP
TCP - Binary.

The above combinations are in increasing order of
interoperability and in decreasing order of efficiency. Can any one please
tell me the reason why TCP with SOAP is more efficient than HTTP with SOAP

Thanks
Reshma
 
HTTP uses TCP as a transport. By using TCP alone, you eliminate the need to
parse the HTTP protocol.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

I recycle.
I send everything back to the planet it came from.
 
HTTP - SOAP builds on top of TCP. And it is adding all sorts of HTML tags
that are not needed. TCP - SOAP still has the overhead of generating XML as
plain text, but there are no HTML tags to be added / removed.

And of course Binary is the best because the XML Doc is not sent as text.
The number 32756 can be stored in an int, but as XML Text it must be written
using 5 characters - a LOT more data.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top