Refactor wireable binding support to make it applicable to all bindings
-----------------------------------------------------------------------

                 Key: TUSCANY-1534
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1534
             Project: Tuscany
          Issue Type: Improvement
          Components: Java SCA Core Runtime
         Environment: All
            Reporter: Simon Laws


Extracted from the now closed https://issues.apache.org/jira/browse/TUSCANY-1526

There is consensus that all bindings are potentially wireable and that the 
current WireableBinding interface should either be removed or applied to all 
bindings. Hence the following should be a valid configuration.

 <component name="CalculatorServiceComponent">
   <implementation.java class="calculator.CalculatorServiceImpl"/>
        <reference name="addService" target="AddServiceComponent" />
        <reference name="subtractService" target="SubtractServiceComponent" />
        <reference name="multiplyService" target="MultiplyServiceComponent">
            <interface.java interface="calculator.MultiplyService" />
            <binding.ws 
wsdlElement="http://calculator#wsdl.binding(MultiplySoapBinding)"/>
        </reference>
        <reference name="divideService" target="DivideServiceComponent" />

    </component>

    <component name="MultiplyServiceComponent">
        <implementation.java class="calculator.MultiplyServiceImpl" />
        <service>
            <interface.java interface="calculator.MultiplyService" />
            <binding.ws 
wsdlElement="http://calculator#wsdl.binding(MultiplySoapBinding)"/>
        </service>
    </component> 

There is further discussion in the mail thread associated with TUSCANY-1526 
(http://www.mail-archive.com/[email protected]/msg21448.html)

-- 
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