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

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-bpel message

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


Subject: Re: [sca-bpel] [Issue 52] CT generation (section 2.1.1) does not take intoconsideration the multRefFrom attribute [Alternative proposal based onPartner Link as multi-valued reference]



Folks,

I'm not against some of the ideas behind this proposal, but there is a crucial thing that does not
hang together.

One thing that *MUST* be true is that for each SCA reference, there must be a place for the value of
the reference to be "injected" into the BPEL process at runtime.

For a 1..1 reference, the injection point is the partnerLink variable itself.  Straightforward.

For a x..n reference, the injection point has to be a variable which has the sca-bpel:multiReference extension.

The crucial point is that ONE SCA reference must have ONE injection point.

So I think that this means that each partnerLink that identifies itself as a x..n reference MUST be associated with ONE
variable AND that only ONE partnerLink can reference a given variable with the sca-bpel:multiReference extension.

It's the second point that is missing.  The reason you can't have 2 partnerLinks point to the same variable, is that the
variable gets injected with the targets for the SCA reference - and you clearly can't inject 2 completely separate sets
of targets into the same BPEL variable (not if you want to make things make sense, anyway).

So, I think that at minimum, the proposal must be extended to express this one-to-one linkage between the BPEL
variable and the partnerLink.


Yours,  Mike.

Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014    Mobile: +44-7802-467431  
Email:  mike_edwards@uk.ibm.com



From: "Najeeb Andrabi" <nandrabi@tibco.com>
To: "OASIS BPEL" <sca-bpel@lists.oasis-open.org>
Date: 26/08/2009 20:26
Subject: [sca-bpel] [Issue 52] CT generation (section 2.1.1) does not take into consideration the multRefFrom attribute [Alternative proposal based on Partner Link as multi-valued reference]






I have created an alternative proposal based on arguments that I made in
support of the partner link representing a multi-valued reference
instead of a variable.

The pros for partner link representing a multi-valued reference are as
follows:

1) BPEL process interfaces with external systems using partner links.
Since multi-valued reference is just a special case of single reference,
its declaration must follow the same paradigm.

2) SCA-BPEL specification uses partner links to determine what
constitutes a service or a reference. Why should a multi-valued
reference be determined by an alternative mechanism?

3) BPEL variables are meant for holding meta-data/state of the process
not for defining external interfaces.

Cons for using a partner link to represent multi-valued reference are as
follows:

1) It breaks backwards compatibility, as SCA-BPEL 1.0 uses a variable to
represent multi-valued reference.

2) There is an extra level of indirection as partner link refers to a
variable that in-turn holds the meta-data for multi-valued reference.

Changes:

Section 2.1.1: I have added [SBPEL2004.1] and [SBPEL2004.2] based on the
original proposal sent by Anish.

Section 3.2: The partner link having "sca-bpel:multiRefForm" attribute
is manifested as a multi-valued reference instead of a variable having
"sca-bpel:multiReference" child element. Made partnerLinkType and
partnerRole attributes of "sca:bpel:multiReference" element optional.


--Najeeb


           


-----Original Message-----
From: Anish Karmarkar [
mailto:Anish.Karmarkar@oracle.com]
Sent: Wednesday, August 19, 2009 11:16 PM
Cc: OASIS BPEL
Subject: Re: [sca-bpel] [Issue 52] CT generation (section 2.1.1) does
not take into consideration the multRefFrom attribute -- Version 2

Version 2 based on last week's comments.
Attached.
The only change is in SBPEL2010.

-Anish
--

Anish Karmarkar wrote:
> Spec with inlined proposed amendment, listed by Michael (below),
attached.
>
> -Anish
> --
>
> Michael Rowley wrote:
>>  
>>
>> Proposal amendment: Change 2.1.1 so that any partner link with
>> MultiRefFrom attribute is not made into a service or reference and
the
>> partner link must not include a sca:reference or sca:service
annotation.
>>
>>  
>>
>> Also the <multireference> element should also include a name
attribute
>> so that people can customize the reference name that is generated.
>>
>>  
>>
>> Michael
>>
>>  
>>
>>  
>>
>> *From:* Michael Rowley
>> *Sent:* Thursday, July 23, 2009 1:48 PM
>> *To:* Michael Rowley; Danny van der Rijn
>> *Cc:* Anish Karmarkar; OASIS BPEL
>> *Subject:* RE: [sca-bpel] [Issue 52] CT generation (section 2.1.1)
>> does not take into consideration the multRefFrom attribute
>>
>>  
>>
>>  
>>
>> This time with attachment.
>>
>>  
>>
>> *From:* Michael Rowley
>> *Sent:* Thursday, July 23, 2009 1:47 PM
>> *To:* 'Danny van der Rijn'
>> *Cc:* Anish Karmarkar; OASIS BPEL
>> *Subject:* RE: [sca-bpel] [Issue 52] CT generation (section 2.1.1)
>> does not take into consideration the multRefFrom attribute
>>
>>  
>>
>>  
>>
>> Sure.  Here is a marked up spec.
>>
>>  
>>
>> Michael
>>
>>  
>>
>> *From:* Danny van der Rijn [
mailto:dannyv@tibco.com]
>> *Sent:* Thursday, July 23, 2009 1:14 PM
>> *To:* Michael Rowley
>> *Cc:* Anish Karmarkar; OASIS BPEL
>> *Subject:* Re: [sca-bpel] [Issue 52] CT generation (section 2.1.1)
>> does not take into consideration the multRefFrom attribute
>>
>>  
>>
>> I'm having trouble shuffling this all around in my head.  If it's not

>> too much trouble could you either include context-diff-like text or a

>> marked up spec doc?
>>
>> Fuzzily yours,
>> Danny
>>
>> Michael Rowley wrote:
>>
>>  
>>
>> Alternative proposal:
>>
>> Move requirements 3006 and 3007 to the end of section 2.1.1 (and
>> possibly renumber the requirements).
>>
>> In the place where those requirements used to exist, insert the text:

>> "The introspected component type will include a reference with
>> multiplicity 0..n for this variable, as specified in section 2.1.1."
>>
>> Michael
>>
>> -----Original Message-----
>> From: Anish Karmarkar [
mailto:Anish.Karmarkar@oracle.com]
>> Sent: Wednesday, July 15, 2009 8:11 PM
>> To: OASIS BPEL
>> Subject: [sca-bpel] [Issue 52] CT generation (section 2.1.1) does not

>> take into consideration the multRefFrom attribute
>>
>> This is now issue 52
>>
http://osoa.org/jira/browse/BPEL-52
>>
>> Anish Karmarkar wrote:
>>>  Title: CT generation (section 2.1.1) does not take into
consideration
>>>  the multRefFrom attribute
>>>
>>>  Target: BPEL C&I spec
>>>
>>>  Description:
>>>  If a partnerLink does not contain a sca-bpel:reference or a
>>>  sca-bpel:service attribute, the algorithm in section 2.1.1
Generating
>>>  Services and References requires doing a static analysis
(SBPEL2005) to
>>>  figure out if the PL should be mapped to a sca reference or a
service.
>>>  It does not give any consideration to the sca-bpel:multiRefFrom
>>>  attribute that may be present on the PL.
>>>
>>>  A PL with such a attribute should be mapped to an SCA reference and
>>>  never to a SCA service.
>>>
>>>  Proposal:
>>>
>>>  Add two new requirement (after SBPEL2004):
>>>  [SBPEL2004.1] If a partner link specifies a sca-bpel:multiRefFrom
>>>  attribute, then a reference MUST be generated for the introspected
>>>  component type. [SBPEL2004.2] If the name of the partner link is
unique
>>>  within the process, then it MUST be used as the name of the
reference.
>>>  Otherwise, the name is determined according to the rules of section

>>> 2.3.
>>>
>>>  Modify SBPEL2005 as follows:
>>>  s/If neither sca-bpel:service nor sca-bpel:reference is present/If
none
>>>  of the attributes: sca-bpel:service, sca-bpel:reference or
>>>  sca-bpel:multiRefFrom is present/
>>>
>>>  Modify SBPEL2007 to include the two new requirements.
>>>
>>>  -Anish
>>>  --
>>>
>>>
---------------------------------------------------------------------
>>>  To unsubscribe from this mail list, you must leave the OASIS TC
that
>>>  generates this mail.  Follow this link to all your TCs in OASIS at:
>>>
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this mail list, you must leave the OASIS TC that
>> generates this mail.  Follow this link to all your TCs in OASIS at:
>>
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this mail list, you must leave the OASIS TC that
>> generates this mail.  Follow this link to all your TCs in OASIS at:
>>
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
>>
>
>
------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail.  Follow this link to all your TCs in OASIS at:
>
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php

[attachment "sca-bpel-1 1-spec-cd02-rev2+issue52-na.doc" deleted by Mike Edwards/UK/IBM] ---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php







Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU








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