You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Mike Edwards (JIRA)" <de...@tuscany.apache.org> on 2009/05/15 09:48:45 UTC

[jira] Created: (TUSCANY-3028) Tuscany attempts to execute a component with a reference which has conflicting configuration

Tuscany attempts to execute a component with a reference which has conflicting configuration
--------------------------------------------------------------------------------------------

                 Key: TUSCANY-3028
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3028
             Project: Tuscany
          Issue Type: Bug
    Affects Versions: Java-SCA-2.0
            Reporter: Mike Edwards
            Assignee: Mike Edwards
             Fix For: Java-SCA-2.0


OASIS SCA Assembly testcase Test_ASM_5024 includes a reference which has a @target attribute declared and also a <binding/> subelement present:

        <reference name="Reference1" target="TestComponent2/Service1">
        	<interface.wsdl interface="http://test/#wsdl.porttype(Service1)"/>
        	<!-- A binding which contradicts the @target attribute -->
        	<binding.ws/>
        </reference>

This configuration is incorred according to the OASIS SCA Assembly specification and should be rejected by an SCA runtime.

However, Tuscany runs this component and then fails with a NullPointerException when the component attempts to invoke the reference configured as above.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.