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: [ASSEMBLY-31] Wiring from a reference with no binding to a service witha binding



Peter,

My comments and responses inline....

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


"Peshev, Peter" <peter.peshev@sap.com> wrote on 29/11/2007 15:08:11:

> Hi Dave,
>
> A question for your scenario :
>
> Suppose someone exposes on the domain a service with binding.xyz (no XYZ
> related intents), than deploys another component that wires to this
> service and there is no binding (or only binding.sca) on the reference
> of this second component.
>
> What should happen at runtime with the reference with the "morphed"
> binding.sca being used :
>
>
> A) The runtime implementation of "morphed" binding.sca MUST use the
> transport protocol as specific to binding.xyz


It is my view that IF binding.sca is not present on the service, THEN
the wire from the client MUST use binding.xyz.  So this is what I think
happens for both my proposal and Dave's variation.

>
> B) The binding.sca MAY use the transport protocol  (or for example it
> may do local calls satisfying the policies if the vendor detects that
> both components are from the same JVM / process / etc.)


No, tough, the configuration says that the wire MUST use binding.xyz. This
is not allowed.

There IS a way of getting behaviour B) - the service should be declared
explicitly with both binding.xyz AND binding.sca.

>
>
> Best Regards
> Peter
>






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]