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...
A(n) ________ is a single piece of information in a record in a database
A) object B) table C) field D) cell
Which of the following would be sent to an SNMP network management system in the event that a failure or predefined threshold was crossed?
A. SNMP trap B. History log C. System log D. SNMP agent