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

Raymond Feng commented on TUSCANY-2662:
---------------------------------------

Fixed in trunk under r711710

> Tuscany models cannot read/write composite/component reference's multiplicity 
> attribute
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2662
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2662
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-SCA-1.3
>         Environment: Win XP
>            Reporter: Raymond Lai
>            Assignee: Raymond Feng
>
> When I use the Tuscany models to load a composite file, the composite and its 
> components are successfully loaded. However, the multiplicity attribute in 
> the composite/component reference is not loaded in the read, and is lost in 
> the write.
> Sample XML:
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"; name="composite1" 
> targetNamespace="http://temp";>
>   <component name="data7">
>     <implementation.java class="temp.EchoImpl"/>
>     <service>
>       <interface.wsdl 
> interface="http://echo.webservice#wsdl.interface(Echo)"/>
>     </service>
>     <reference multiplicity="0..n" name="reference" requires=""/>
>   </component>
>   <reference multiplicity="1..n" name="reference" promote="" requires=""/>
> </composite>

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