Compare the request reply protocol as described in Section 4.4 with the implementation of client- server communication in SOAP. State two reasons why the use of asynchronous messages by SOAP is more appropriate for use over the Internet. To what extent does the use of HTTP by SOAP reduce the difference between the two approaches?
What will be an ideal response?
The request reply communication protocol proposes an infrastructure consisting of a synchronous request- reply exchange, whereas SOAP specifies the use of a pair of asynchronous messages. In addition, the request reply protocol passes the remote object reference of an object to be invoked, whereas SOAP does not support remote objects. In the request reply protocol the method to be invoked is part of the communication protocol, whereas in SOAP it is specified in the message body.
Use over the internet:
i) SOAP uses asynchronous messages in order to reduce the closer coupling between client and server which occurs with a synchronous protocol.
ii) In addition, SOAP allows the transport of single documents.
The use of HTTP enables the request and reply messages to be related to one another in that the HTTP response carries the reply to a SOAP request. In addition, the method name may be specified as an action header in HTTP.
You might also like to view...
The get function reads
a. one integer value b. one float value c. one double value d. one character value
Answer the following statements true (T) or false (F)
1: You must login to use the system. It means that, in response to prompts you type your user Id and password. 2: You terminate your session by turning off the terminal. 3: Options and arguments are necessary parts of each command. 4: At the end of each command line you must press the return key to signal the completion of your command. 5: UNIX is not case sensitive, and you may type commands in lower or upper case letters.