Web service architectures

As part of a web service architecture, there exist three major roles. We discuss them next.

Service Provider is the program that implements the service agreed for the web service and exposes the service over the internet/intranet for other applications to interact with.

Service Requestor is the program that interacts with the web service exposed by the Service Provider. It makes an invocation to the web service over the network to the Service Provider and exchanges information.

Service Registry acts as the directory to store references to the web services.

The following are the steps involved in a basic SOAP web service operational behavior:

  1. The client program that wants to interact with another application prepares its request content as a SOAP message.
  2. Then, the client program sends this SOAP message to the server web service as an HTTP POST request with the content passed as the body of the request.
  3. The web service plays a crucial role in this step by understanding the SOAP request and converting it into a set of instructions that the server program can understand.
  4. The server program processes the request content as programmed and prepares the output as the response to the SOAP request.
  5. Then, the web service takes this response content as a SOAP message and reverts to the SOAP HTTP request invoked by the client program with this response.
  6. The client program web service reads the SOAP response message to receive the outcome of the server program for the request content it sent as a request.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset