Hi,

I have a composite file like the following:

<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0";
          name="SensorProcess">

   <component name="SensorProcessServiceComponent">
<implementation.java class="sensorprocess.SensorProcessServiceImpl"/> <reference name="ADC2KelvinService" target="ADC2KelvinServiceComponent" /> <reference name="kelvin2CelsiusService" target="Kelvin2CelsiusServiceComponent" /> <reference name="celsius2FahrenheitService" target="Celsius2FahrenheitServiceComponent" />
   </component>

   <component name="ADC2KelvinServiceComponent">
       <implementation.java class="sensorprocess.ADC2KelvinServiceImpl"/>
   </component>

   <component name="Kelvin2CelsiusServiceComponent">
<implementation.java class="sensorprocess.Kelvin2CelsiusServiceImpl"/>
   </component>

   <component name="Celsius2FahrenheitServiceComponent">
<implementation.java class="sensorprocess.Celsius2FahrenheitServiceImpl"/>
   </component>

</composite>

I found that if I put the reference name of each service to a slightly 
different name. it will not find the reference object. so is there any 
requirement on reference name definition?

in my example, I have two different naming problems. for example: if I use 
ADC2KelvinService, it will work, but not aDC2KelvinService
, and in second case, if I use Kelvin2CelsiusService, it won't work.
--
regards;

Peizhao


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

Reply via email to