Defining a service within a component definition as an alternative to promoting 
as a composite service seems to have a different effect
---------------------------------------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-1291
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1291
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Samples
    Affects Versions: Java-SCA-0.90
            Reporter: Venkatakrishnan


The JSON-RPC sample 
(https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/helloworld-jsonrpc/)
 had the following composite : 

composite xmlns="http://www.osoa.org/xmlns/sca/1.0";
      targetNamespace="http://sample";
      xmlns:sample="http://sample";
           name="helloworldjsonrpc">
           
    <component name="HelloWorldJSONServiceComponent">
<service name="HelloWorldService" 
promote="HelloWorldJSONServiceComponent/HelloWorldService">
         <interface.java interface="helloworldjsonrpc.HelloWorldService"/>
         <binding.jsonrpc/>
     </service>
        <implementation.java class="helloworldjsonrpc.HelloWorldServiceImpl"/>
    </component>

</composite>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to