tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Laws (JIRA)" <...@tuscany.apache.org>
Subject [jira] Resolved: (TUSCANY-2352) Recusive composition binding overiding not working corectly.
Date Wed, 02 Jul 2008 10:22:45 GMT

     [ https://issues.apache.org/jira/browse/TUSCANY-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Simon Laws resolved TUSCANY-2352.
---------------------------------

    Resolution: Fixed

Commited to 1.3 branch at revision: 673348  


> Recusive composition binding overiding not working corectly. 
> -------------------------------------------------------------
>
>                 Key: TUSCANY-2352
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2352
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-1.2
>         Environment: WinXP SP2 IBM JDK 5.0
>            Reporter: Simon Laws
>            Assignee: Simon Laws
>             Fix For: Java-SCA-1.3
>
>
> The following recursive composition (dervied from that in itest/recursive-ws) does not
work as the builder cannot match the reference binding to a service binding. 
>     <component name="TargetClientComponent">
>         <implementation.java class="policy.TargetClientImpl"/>
>         <reference name="targetService" target="OuterTargetServiceComponent">
>             <binding.ws/>
>         </reference>
>     </component>
>    
>     <component name="OuterTargetServiceComponent">
>         <implementation.composite name="policy:PolicyInnerComposite"/>
>         <service name="TargetService">
>             <interface.java interface="policy.Target"/>
>             <binding.ws uri="http://localhost:8085/OuterTargetServiceComponent"/>
>         </service>
>     </component>
> And PolicyInnerComposite
>      <service name="TargetService" promote="TargetServiceComponent">
>     </service>
>    
>     <component name="TargetServiceComponent">
>         <implementation.java class="policy.TargetServiceImpl"/>
>     </component>
> I also doesn't work if you move the binding down to the inner composite service (TargetService)
> It does work if you move the binding down to the inner component service
> There is is code in EndpointBuilderImpl  which replaces the outer endpoint target with
the inner endpoint target. This seems suspect and requires further investigation. 

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


Mime
View raw message