[ http://issues.apache.org/jira/browse/TUSCANY-912?page=all ]

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

    Component/s: Java SCA Core
                     (was: Java Spec APIs)

This is not yet implemented

> Can not define reference in component with multiple value(List or Array)
> ------------------------------------------------------------------------
>
>                 Key: TUSCANY-912
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-912
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core
>    Affects Versions: Java-M2
>         Environment: Windows XP
>            Reporter: Yang Lei
>
> 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: 
http://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