OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsbpel message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Q: Matching <reply> with <receive>


Hi,

I have a few questions about the rule of matching <reply> with <receive>.


[Q1] Must <reply> always specify all the correlation sets specified by the
corresponding <receive>?

For example, if there are two <receive>'s outstanding as follows,

   receive name="rec1" partnerLink="pl" portType="pt" operation="op"
     correlation set="cs1" initiate="no"
     correlation set="cs2" initiate="no"
     correlation set="cs3" initiate="yes"
     correlation set="cs4" initiate="yes"

   receive name="rec2" partnerLink="pl" portType="pt" operation="op"
     correlation set="cs1" initiate="no"
     correlation set="cs2" initiate="no"
     correlation set="cs5" initiate="yes"
     correlation set="cs6" initiate="yes"

Must a <reply> specify all of the corresponding <receive>'s CS's? That is,
for rec1,
   reply name="rep1" partnerLink="pl" portType="pt" operation="op"
     correlation set="cs1" initiate="no"
     correlation set="cs2" initiate="no"
     correlation set="cs3" initiate="no"
     correlation set="cs4" initiate="no"

Or only as many as necessary to disambiguate the matching?
   reply name="rep1" partnerLink="pl" portType="pt" operation="op"
     correlation set="cs3" initiate="no"

[Q2] Does it follow that if a <receive> specify a correlation set, the
corresponding reply can only send a message that contains the correlation
set?

If it does, then the rule seems to be too restrictive. For example, the
following process will be illegal.

1. receive a Purchase Order and initialize correlation set CS-PO.
2. synchronously reply with an acknowledge message not containing CS-PO.
       <- Illegal
3. receive and/or invoke using CS-PO to perform the rest of the PO process.

Yuzo Fujishima
NEC Corporation




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]