- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 11 Apr 2006 13:33:03 +0000
- To: public-ws-chor-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3109
Summary: hasExchangeOccurred
Product: WS Choreography
Version: unspecified
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P2
Component: Uncategorized
AssignedTo: martin.chapman@oracle.com
ReportedBy: martin.chapman@oracle.com
QAContact: public-ws-chor-comments@w3.org
Implementation issue from Gary:
. Example: request for quote, while waiting for suitable quote (on refresh
loop),
until quote accepted
– Interaction: --> request for quote
Interaction: <-- quote
workunit guard=”hasDurationPassed(30sec)” block=”true”
repeat=“!quoteAccepted” {
Interaction <-- updateQuote
}Interaction: --> quote accepted
. Currently only possible with parallel construct setting state variable to
indicate
when quote is acceptable, as quote provider as no means to detect when quote
has been accepted, and therefore break out of the loop
. Suggestion: having a 'hasExchangeOccurred' to finish the loop once the quote
accept has been received
Send rfq Receive rfq
Receive quote Send quote
Parallel{ Parallel{
when quoteAcc when .....
Send quoteAcc Receive quoteAcc
[rec quoteAcced] [rec quoteAcced]
when refresh && when refresh &&
!quoteAcced .. !quoteAcced
} }
Received on Tuesday, 11 April 2006 13:33:30 UTC