RE: How to determine if an operation is synchronous

"Assaf Arkin" <[email protected]>
Newsgroups gmane.comp.web.services.ws-arch
Message-ID <[email protected]>
A synchronous operation can be performed by two asynchronous communications.
WSDL 1.1 allows you to specify a protocol binding that will use two
separate, opposite direction, one message exchanged, asynchronous
communications. The protocol would be asynchronous. The operation would be
synchronous. The two do not stand in conflict.

If you go back to my previous e-mail explaining the relation between node A
and node B, and how they 'synchronize' by performing such an operation, you
will see that nothing there says the message exchange is synchronous. In
fact, if you use a synchronous protocol like HTTP you probably don't need
all the lengthy time computation. You need that if you use an asynchronous
protocol with a significant latency as proof that the operation is
synchronous.

arkin

-----Original Message-----
From: Ugo Corda [mailto:[email protected]]
Sent: Tuesday, October 22, 2002 9:51 PM
To: 'Assaf Arkin'
Cc: [email protected]
Subject: RE: How to determine if an operation is synchronous


>From a WSDL operation definition you can determine that it is:
>
>- asynchronous  The operation involves a single message (one-way and
>notification in WSDL 1.1)
>- synchronous  The operation involves two messages in opposite directions,
>and indicates that it completes after receiving one and sending the other
>(request-response and solicit-response in WSDL 1.1)

Sorry, I disagree. I believe that a request-response operation can be either
synchronous or asynchronous. The author of the IBM series of articles on
asynchronous Web services messages seems to have the same belief. Look at
[1] (part 2 of the series), Pattern 2, Request/reply operations, where he
says: "In this pattern, request and response are two messages defined within
a single request/reply operation and sent as two separate and unrelated
transport-level transmissions."

Ugo


[1] http://www-106.ibm.com/developerworks/library/ws-asynch2/index.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.