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

Luciano Resende updated TUSCANY-912:
------------------------------------

        Fix Version/s: Java-M3
    Affects Version/s:     (was: Java-M2)
                       Java-M3

> 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-M3
>         Environment: Windows XP
>            Reporter: Yang Lei
>             Fix For: Java-M3
>
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to