tri-layer web services architecture
Three main components:
1. Clients
2. Service Servers
3. Implementation Components
1. Accept requests in SOAP messages from clients.
2. gSoap library functions will dispatch the request to correspondent handling functions. At this point, the soap message is de-serialized to native C/C++ data.
3. The handling functions will invoke the implementation components at the back end which will perform the actual operations to the requests.
4. The implementation components will then return the processed results in the form of XML which is part of the payload of returned SOAP payload.
5. The handling functions will wrap up the returned XML data to the SOAP payload and send it back to clients to fulfill the web service requests.