Raheel Raheel - 21 days ago 5
reST (reStructuredText) Question

Does SOAP HAVE 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 HAVE to be stateful, I have worked with SOAP where the exact definition of REST would seem to be true for SOAP as well ?

Answer

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.

Comments