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

Mike Edwards resolved TUSCANY-3201.
-----------------------------------

    Resolution: Fixed

Fixed by allocating a unique name to each of the bindings on the reference:


    <!-- Implementation with a single reference with multiplicity 1..n which
         has multiple concrete bindings applied to it -->
    <component name="TestComponent1">
                <implementation.composite name="test:TestComposite6"/>
        <service name="Service1">
                <interface.wsdl 
interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
        </service>
        <property name="serviceName">service1</property>
        <reference name="Reference1">
                <interface.wsdl 
interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
                <binding.sca uri="TestComponent2/Service1" name="first"/>
                <binding.ws 
uri="http://localhost:8080/TestComponent2/Service1/second"; name="second"/>
        </reference>
    </component> 

    <!-- A component with a service that has multiple bindings explicitly set 
on it -->
    <component name="TestComponent2">
                <implementation.composite name="test:TestComposite1"/>
        <service name="Service1">
                <interface.wsdl 
interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
                <binding.sca name="first"/>
                    <binding.ws name="second"/>
        </service>
        <property name="serviceName">service2</property>
    </component>


Available in OASIS SVN revision 

> OASIS otest ASM_5034_TestCase has invalid composte
> --------------------------------------------------
>
>                 Key: TUSCANY-3201
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3201
>             Project: Tuscany
>          Issue Type: Bug
>          Components: OASIS Compliance - OASIS
>            Reporter: ant elder
>            Priority: Blocker
>             Fix For: Java-SCA-2.0
>
>
> It looks like Test_ASM_5034.composite used by the ASM_5034_TestCase has a 
> service with two bindings trying to use the default name which isn't allowed 
> is it (violates ASM900002), and this is causing ASM_5034_TestCase to fail:
>    <component name="TestComponent2">
>       <implementation.composite name="test:TestComposite1"/>
>       <service name="Service1">
>          <interface.wsdl 
> interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
>             <binding.sca/>
>             <binding.ws/>
>       </service>
>       <property name="serviceName">service2</property>
>    </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