Re: Question regarding SCAClientFactory.getService() and promoted service

2011-08-04 Thread Simon Laws
On Mon, Aug 1, 2011 at 4:30 PM, Mike Edwards wrote: > Folks, > > Simple answer to Scott's questions: > > On 26/07/2011 16:08, Scott Kurz wrote: >> >> Trying to understand myself as the spec doesn't seem crystal clear... >> >> I assume we'd agree also that the answer should be the same for this >>

Re: Question regarding SCAClientFactory.getService() and promoted service

2011-08-01 Thread Mike Edwards
Folks, Simple answer to Scott's questions: On 26/07/2011 16:08, Scott Kurz wrote: Trying to understand myself as the spec doesn't seem crystal clear... I assume we'd agree also that the answer should be the same for this variation: composite B with component C2

Re: Question regarding SCAClientFactory.getService() and promoted service

2011-07-27 Thread Greg Dritschler
I deleted the path in RuntimeComponentImpl.getServiceReference() that deals with implementation.composite specially and everything then worked as expected. It found the outer component's service, the endpoint, and the right binding (binding.sca). My guess is this logic relates to the Tuscany 1.x

Re: Question regarding SCAClientFactory.getService() and promoted service

2011-07-26 Thread Greg Dritschler
If C1 does not specify a binding, it inherits it from C2's composite service (which might in turn inherit it from the component service). On Tue, Jul 26, 2011 at 11:08 AM, Scott Kurz wrote: > Trying to understand myself as the spec doesn't seem crystal clear... > > I assume we'd agree also that

Re: Question regarding SCAClientFactory.getService() and promoted service

2011-07-26 Thread Scott Kurz
Trying to understand myself as the spec doesn't seem crystal clear... I assume we'd agree also that the answer should be the same for this variation: composite B with component C2                                                 In contrast, suppose we that compo

Re: Question regarding SCAClientFactory.getService() and promoted service

2011-07-26 Thread ant elder
On Mon, Jul 25, 2011 at 4:21 PM, Greg Dritschler wrote: > I have a question about how SCAClientFactory.getService() deals with a > promoted service. > Let's say I have composite A with component C1 >     >         >         >             >         >     > and composite B with component C2 >

Question regarding SCAClientFactory.getService() and promoted service

2011-07-25 Thread Greg Dritschler
I have a question about how SCAClientFactory.getService() deals with a promoted service. Let's say I have composite A with component C1 and composite B with component C2 When I use SCAClien