SOAP and any other protocol that uses XML usually inflates your messages quite a bit - this may or may not be a problem depending on the context.
Something like JSON would be more compact and maybe serialize / deserialize faster, but not use it solely for this reason. Do what you feel makes sense at the time and change it if that is a problem.
Everything that HTTP typically uses (if not reusing the keepalive HTTP 1.1 connection, which is not implemented by many implementations) starts a new TCP connection for each request; this is pretty bad, especially for high latency links. HTTPS is much worse. If you have many short requests from one sender to one recipient, think about how you can take this overhead.
Using HTTP for any type of RPC (be it SOAP or something else) will always incur overhead. Other RPC protocols usually allow you to open a connection.
MarkR Sep 20 '08 at 7:53 2008-09-20 07:53
source share