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.

Computer Science & Information Technology

You might also like to view...

What is a MAN?

What will be an ideal response?

Computer Science & Information Technology

To change a list item to the next level down, you should press the Enter key.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Explain how you would use crontab to schedule a script that finds and removes your old temporary files in /tmp at the start of each day.

What will be an ideal response?

Computer Science & Information Technology

A professional presentation has fonts sized between 10 and 14 points

Indicate whether the statement is true or false

Computer Science & Information Technology