This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 3109 - hasExchangeOccurred
Summary: hasExchangeOccurred
Status: RESOLVED REMIND
Alias: None
Product: WS Choreography
Classification: Unclassified
Component: Implementation/CR Issue (show other bugs)
Version: unspecified
Hardware: PC Windows 2000
: P2 normal
Target Milestone: --
Assignee: Martin Chapman
QA Contact: WS Choreography mailing-list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-11 13:33 UTC by Martin Chapman
Modified: 2006-08-01 21:37 UTC (History)
0 users

See Also:


Attachments

Description Martin Chapman 2006-04-11 13:33:03 UTC
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
}                                   }
Comment 1 Martin Chapman 2006-08-01 21:37:05 UTC
At the meeting on 1st August 2006 we agreed that since a workaround for this issue exists we will defer this till version 2. (resolve/remind)