[ 
https://issues.apache.org/jira/browse/TUSCANY-3179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737830#action_12737830
 ] 

Luciano Resende commented on TUSCANY-3179:
------------------------------------------

It's not clear here what do you mean by "different deployable composites" ? Is 
the FrontEndNewsComponent component in one composite and then 
SDONewsServiceComponent in another one ? Are these in two separated domains ? 
If so, you would have to specify the uri on the front end reference in the 
binding.atom... Also, a piece of the code that is contributing these composites 
would be helpful.

> Binding uri is built incorrectly when the target attribute is used across 
> deployable composites
> -----------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3179
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3179
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA ATOM Binding Extension
>            Reporter: Kaushik Mukherjee
>
> If the two components below are in different deployable composites the 
> binding URI is not resolved correctly in the front end. In AtomBindingInvoker 
> the uri formed looks like the web service uri:
> http://localhost:9080/SDONewsServiceComponent/NewsService
> instead of..
> http://localhost:9080/sdoNewsService
>     <component name="FrontEndNewsComponent">
>         <implementation.java class="test.abdera.NewsImpl"/>
>         <service name="NewsClient">
>           <interface.java interface="test.abdera.NewsClient"/>
>               </service>
>         <reference name="newsServiceRef" 
> target="SDONewsServiceComponent/NewsService" >
>           <ts:binding.atom />
>         </reference>
>     </component>
>     <component name="SDONewsServiceComponent">
>       <implementation.java class="test.abdera.NewsServiceImpl"/>
>       <service name="NewsService">
>         <!--<interface.wsdl 
> interface="http://abdera.test/#wsdl.interface(NewsService)"/>-->
>         <interface.java interface="test.abdera.NewsService"/>
>         <ts:binding.atom uri="/sdoNewsService"/>
>       </service>
>     </component> 

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

Reply via email to