You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <de...@tuscany.apache.org> on 2009/11/07 00:36:32 UTC

[jira] Commented: (TUSCANY-3201) OASIS otest ASM_5034_TestCase has invalid composte

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

ant elder commented on TUSCANY-3201:
------------------------------------

Diff to fix:

Index: General/src/main/resources/Test_ASM_5034.composite
===================================================================
--- General/src/main/resources/Test_ASM_5034.composite  (revision 400)
+++ General/src/main/resources/Test_ASM_5034.composite  (working copy)
@@ -33,8 +33,8 @@
         <property name="serviceName">service1</property>
         <reference name="Reference1">
                <interface.wsdl interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
-               <binding.sca uri="TestComponent2/Service1"/>
-               <binding.ws uri="http://localhost:8080/TestComponent2"/>
+               <binding.sca name="foo" uri="TestComponent2/Service1"/>
+               <binding.ws uri="http://localhost:8080/TestComponent2/Service1"/>
         </reference>
     </component>

@@ -43,7 +43,7 @@
                <implementation.composite name="test:TestComposite1"/>
         <service name="Service1">
                <interface.wsdl interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
-               <binding.sca/>
+               <binding.sca name="foo" />
                    <binding.ws/>
         </service>
         <property name="serviceName">service2</property>


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