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

Jim Marino updated TUSCANY-912:
-------------------------------

        Fix Version/s:     (was: Java-SCA-M3)
                       Java-SCA-2.0-Alpha
    Affects Version/s:     (was: Java-SCA-M3)
                       Java-SCA-2.0-Alpha

> Can not define reference in component with multiple value(List or Array)
> ------------------------------------------------------------------------
>
>                 Key: TUSCANY-912
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-912
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core
>    Affects Versions: Java-SCA-2.0-Alpha
>         Environment: Windows XP
>            Reporter: Yang Lei
>         Assigned To: Jim Marino
>             Fix For: Java-SCA-2.0-Alpha
>
>
> I tryied both List<MyServcie> and MyService []
>     <component name="MyNewListService">
>         <implementation.java 
> class="mysca.test.myservice.impl.MyListServiceImpl"/>
>               <reference 
> name="myListService">MyNCService/MyListService</reference>
>               <reference 
> name="myListService">MyListServiceFor2006/MyListService</reference>
>               <property name="serviceYear">2007</property>
>     </component>
> Both throw exception on type mis match:
> Caused by: org.apache.tuscany.spi.wire.IncompatibleServiceContractException: 
> The remotable settings don't match [Service
> Contract[MyListService;],ServiceContract[MyListService]]
>         at 
> org.apache.tuscany.spi.wire.WireServiceExtension.checkCompatibility(WireServiceExtension.java:60)
>         at 
> org.apache.tuscany.core.builder.ConnectorImpl.checkIfWireable(ConnectorImpl.java:444)
>         ... 25 more

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