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

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-assembly message

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


Subject: Re: [sca-assembly] Inconsistency with the valid source/target for wireelement



Raymond,

You've spotted an inconsistency that needs fixing - thanks, I'll raise an issue for it.

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



Raymond Feng <rfeng@us.ibm.com>

16/07/2008 19:12

To
sca-assembly@lists.oasis-open.org
cc
Mike Edwards/UK/IBM@IBMGB
Subject
[sca-assembly] Inconsistency with the valid source/target for wire element






Hi,


There is an inconsistency in the sca-assembly-1.1-spec-WD-03.pdf about what are valid value of the @source/@target of the <wire>:


Line 1568:

The wire element has the following attributes:

• source (required) – names the source component reference. Valid URI schemes are:

o <component-name>/<reference-name>

􀂃 where the source is a component reference. The specification of the reference name is optional if the source component only has one reference

• target (required) – names the target component service. Valid URI schemes are

o <component-name>/<service-name>

􀂃 where the target is a service of a component. The specification of the service name is optional if the target component only has one service with a compatible interface


Line 4173:

SCA wires connect service references to services.

Within a composite, valid wire sources are component references and composite services. Valid wire targets are component services and composite references.


IMO, composite services/references now use the "promote" to connect to the promoted component services/references. I assume we only allow component reference as the source and component service as the target for <wire>.


Is it a known issue? Can somebody clarify?


Thanks,

Raymond


Raymond Feng
Senior Software Engineer, Open Source SCA Development, Apache Tuscany Project

IBM Bay Area Lab, 1001 E Hillsdale Blvd, Suite 400, Foster City, CA 94404, USA
E-mail
:
rfeng@us.ibm.com, Notes: Raymond Feng/Burlingame/IBM, Tel: 650-645-8117, T/L: 367-8117
Web & Blog
:
www.enjoyjava.com - The Cyber Cafeteria to Enjoy Java








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]