OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-assembly message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [NEW ISSUE] Errors in Artifacts for a set of testcases in ASM_120xx range



Raiser:                Mike Edwards

Target:         sca-assembly-1.1-testsuite-cd01.zip

Description:

ASM_12005_TestCase artifacts contain errors:

1) sca-contribution.xml in contributions
ASM_12001
ASM_12002
ASM_12003
ASM_12007
ASM_12008
ASM_12009
ASM_12010
ASM_12012

- Contains an import.java when the contribution does not / should not contain references to Java artifacts
- (In some cases) Does not contain an import for the WSDL namespace, when artifacts in the contribution reference WSDLs:

<contribution
xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
xmlns:test="http://docs.oasis-open.org/ns/opencsa/scatests/200903">

<import namespace="http://docs.oasis-open.org/ns/opencsa/scatests/200903"/>  
<import.java package="test"/>

</contribution>


2) ASM_12008 contribution contains reference to Java artifacts

ASM_12008_TestCase is not Java specific and the contribution is not marked as being Java specific but
TestComposite5.composite uses Java interfaces and uses Java implementations


Proposal:

1) sca-contribution.xml in contributions
ASM_12001
ASM_12002
ASM_12003
ASM_12007
ASM_12008
ASM_12010
ASM_12012

- remove the import.java
- add an import for the WSDL namespace (if not already present)

<contribution
xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
xmlns:test="http://docs.oasis-open.org/ns/opencsa/scatests/200903">

<import namespace="http://docs.oasis-open.org/ns/opencsa/scatests/200903"/>
<import namespace="http://docs.oasis-open.org/ns/opencsa/scatests/2009032" location="Contribution1"/>

<import namespace="http://test.sca.oasisopen.org/"/> <!-- WSDL namespace -->

</contribution>

2) ASM_12008 contribution - TestComposite5.composite

- change to use WSDL interfaces and composite implementations:

<?xml version="1.0" encoding="UTF-8"?>
<!--
 *
 * Copyright(C) OASIS(R) 2005,2009. All Rights Reserved.
 * OASIS trademark, IPR and other policies apply.    
 *  
-->
<!--
Copy of TestComposite5 with different contents offering
        1 service, with a remotable interface type=Service1 (other TestComposite5 has Service2)
    0 references
-->
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
           targetNamespace="http://docs.oasis-open.org/ns/opencsa/scatests/2009032"
           name="TestComposite5">
           
        <service name="Service1" promote="TestComposite5Component1/Service1">
                <interface.wsdl interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
        </service>

    <property name="serviceName" type="string"/>
 
    <component name="TestComposite5Component1">
                <implementation.composite name="test:TestComposite5"/>
        <service name="Service1">
                <interface.wsdl interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
        </service>
        <!-- Note that the property is fixed as "servicex" which causes this string
             to appear in the output of the service, if invoked -->      
        <property name="serviceName">servicex</property>
    </component>

</composite>



Yours,  Mike.

Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014    Mobile: +44-7802-467431  
Email:  mike_edwards@uk.ibm.com





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU








[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]