Saturday, 2 April 2016

How SOAP based system works for server side ?


Here, we have these components :
1. HTTP request handler
2. SOAP package : 
       a. SOAP Servlet
       b. HTTP & SOAP Encoding / Decoding
       c. service code

STEPS
1. HTTP request handler recieves HTTP request from SOAP client. And channel the request to SOAP servlet.
2. SOAP servlet sends request to Decoder.
3. HTTP & SOAP Encoding / Decoding: decodes HTTP request and deserialize the SOAP-XML request.
4. HTTP & SOAP Encoding / Decoding: sends response back to SOAP servlet.
5. SOAP servlet invokes service method.
6. Run the service method logic and sends response back to SOAP servlet.
7. SOAP servlet sends response to Encoder.
8. HTTP & SOAP Encoding / Decoding: serialize the method result into SOAP-XML response and encodes the HTTP response.
9. HTTP & SOAP Encoding / Decoding: sends response back to SOAP servlet.
10. SOAP servlet sends response back to HTTP request handler.
11. HTTP request handler sends the HTTP response to SOAP client.

 

No comments:

Post a Comment

Note: only a member of this blog may post a comment.