[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [NEW ISSUE] Conformance Assertion [ASM50012] is invalid
"If no binding elements are specified
for the reference, then the bindings specified for the
equivalent reference in the componentType of the implementation MUST be
used, but if
the componentType also has no bindings specified, then <binding.sca/>
MUST be used
as the binding. If binding elements are specified for the reference, then
those bindings
MUST be used and they override any bindings specified for the equivalent
reference in the
componentType of the implementation."
The problem is that IF no bindings are
specified in the <reference> of the <component>
and there are no bindings specified
in the reference of the <componentType/>, then the
only way of identifying a target service
is through the @target attribute of the <reference/>
element.
We have a rule [ASM50026] which precludes
there being ANY <binding/>
child elements of the <reference/>
in the case where there is a value for the @target
attribute of the <reference/>.
This is so that the binding used for the wire is determined
by the bindings attached to the target
service, not by the reference.
So the statement that <binding,sca/>
MUST be used where there are no bindings
declared for the reference is incorrect
and should be removed. In this case there is
simply no <binding/> present and
the binding used is determined by the target service.
Proposal:
Change conformance assertion [ASM50012]
to read as follows:
"If no binding elements are specified
for the reference, then the bindings specified for the
equivalent reference in the componentType of the implementation MUST be
used. If binding
elements are specified for the reference, then those bindings MUST be used
and they
override any bindings specified for the equivalent reference in the componentType
of the
implementation. [ASM50012]"
Add the following explanatory words
following [ASM50012]:
"It is valid for there to be no
binding elements on the component reference and none on the
reference in the componentType - the
binding used for such a reference is determined by
the target service"
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
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]