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...

The ____ command standardizes the names of similar files.

A. Rename B. Copy C. Name D. Format

Computer Science & Information Technology

Which command would you give to mount on the local system the /home directory hierarchy that resides on the file server named plum? Assume the mounted directory hierarchy will appear as /plum.home on the local system. How would you mount the same directory hierarchy if it resided on the fileserver at 192.168.1.1? How would you unmount /home?

What will be an ideal response?

Computer Science & Information Technology

____ can include strokes, fills, or both strokes and fills.

A. Ovals B. Rectangles C. Polygons D. Any of the above

Computer Science & Information Technology

Another term for a computer program is ____.

A. hardware B. software C. object D. procedure

Computer Science & Information Technology