Raheel Raheel - 4 years ago 124
reST (reStructuredText) Question

Does SOAP has to be stateful?

REST is clearly Stateless, meaning the request to the server contains all the information that the server requires to understand it, the server does not maintain a session. Now my question is, does SOAP has to be stateful, I have worked with SOAP where the exact definition of REST would seem to be true for SOAP as well?

Answer Source

Now my question is Does SOAP HAVE to be state-full..

No. SOAP can be stateful, but it definitely doesn't have to be. Actually, you have to put some effort in order to achieve stateful behaviour. I suggest reading this article.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download