Re: How to determine if an operation is synchronous

"Sanjiva Weerawarana" <[email protected]>
Newsgroups gmane.comp.web.services.ws-arch
Message-ID <030401c27ab3$3b6a1da0$8100a8c0@lankabook2>
+1 to Ugo's position. AFAIK nothing in WSDL says that a request/resp
operation must be synchronous. All it says is that a message goes
and another comes .. that's it.

Sanjiva.

----- Original Message -----
From: "Ugo Corda" <[email protected]>
To: "'Assaf Arkin'" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, October 23, 2002 9:19 PM
Subject: RE: How to determine if an operation is synchronous


>
> You are still implying that a request/response operation must be
synchronous
> (even though it might be implemented by two asynchronous communications).
I
> am saying that the request/response operation itself can be asynchronous.
> Let's just agree to disagree.
>
> Ugo
>
> -----Original Message-----
> From: Assaf Arkin [mailto:[email protected]]
> Sent: Tuesday, October 22, 2002 10:08 PM
> To: Ugo Corda
> Cc: [email protected]
> Subject: RE: How to determine if an operation is synchronous
>
>
> 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.