Hi Jeremy,
 When trying out the sample for the RMI Binding, I encounterd the following
problem: -

1) There seems to be a attribute named 'target' that
org.apache.tuscany.core.loader.ServiceLoader.load is expecting out of the
'service' element in a composite.  What is this attribute and what must be
its value?  From the context I can imagine that a target for a service
element of a composite is what we specify in the 'reference' child element
of this composite isn't it?  Just in case this is confusing.. here is the
composite... where I have had to put in the target attribute

<composite xmlns="http://www.osoa.org/xmlns/sca/1.0";
          xmlns:rmi="
http://tuscany.apache.org/xmlns/binding/rmi/1.0-SNAPSHOT";
          name="HelloWorldComposite">

   <service name="HelloWorldRmiService"
target="HelloWorldServiceComponent">
       <interface.java interface="helloworld.HelloWorldService"/>
       <rmi:binding.rmi  uri="HelloWorldRMIService"/>
       <reference>HelloWorldServiceComponent</reference>
   </service>

   <component name="HelloWorldServiceComponent">
       <implementation.java class="helloworld.HelloWorldImpl"/>
   </component>
</composite>

Is this right?  What purpose does it server if it is indeed right?

Thanks

- Venkat



On 7/31/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote:

On Jul 31, 2006, at 7:16 AM, Venkata Krishnan wrote:

> Hi Jeremy,
>
> I will start looking at these and take your help as I go along.

Cool - thanks.
--
Jeremy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to