sca-assembly message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: [NEW ISSUE] Problems with Assembly ASM_40xx, ASM_50xx ASM_60xx and ASM_80xxtestcases
- From: Mike Edwards <mike_edwards@uk.ibm.com>
- To: "OASIS Assembly" <sca-assembly@lists.oasis-open.org>
- Date: Tue, 10 Nov 2009 10:08:55 +0000
Target:
SCA Assembly Test Suite
Description:
1) ASM_8001
- missing contribution ASM_8001_Java
In the move to the new testcase structure,
the ASM_8001_Java contribution was forgotten
It contains various artifacts that are
mandatory for the ASM_8001 testcase
2) ASM_8011
- TestComposite62.composite in contribution
ASM_8011 has a component with 2 <implementation/> elements
This is a static error and causes the
test to fail
3) sca-contribution.xml
...in various contributions: 4002,
4003, 4004, 5023, 6028,
contain an unused and incorrect <import.java/>
statement, which can cause an "import not found" error
4) TestComposite3 in General_Java contribution
Has 2 promote attributes with the wrong
name for the promoted component reference:
<reference
name="Reference1"
promote="TestComponent1/Reference1">
the actual component reference name
is "reference"
5) Complex Type namespace tagging in
ASM_5026
Test_ASM_5026.composite and TestComposite13.composite,
both in contribution "General" use the XSD complex type
"test:GlobalElement1". However,
the declaration of the property value does not use a namespace qualifier
and the
XPath expressions referencing parts
of the value do not use a namespace qualifier. As a result, the XPath
expressions
fail to find any data values and the
test erroneously fail.
6) ASM_5033 and ASM_5034 have a reference/service
with multiple bindings without unique names
Test_ASM_5033.composite and Test_ASM_5034.composite
each have a reference with multiple bindings,
but the bindings have no names applied
so that their names are not unique as required by [ASM90002]
Test_ASM_5034 also has a service with
multiple bindings with the same fault.
7) ASM_8005_TestCase.java has wrong
list of Contributions
ASM_8005_TestCase.java uses the following
list:
"ASM_8005",
"General",
"General"
+ _Lang
ASM_8005 does not exist - ASM_8005_Lang
is used as the only implementations here are language specific
Proposal
1) ASM_8001
Re-create the ASM_8001_Java contribution
- Service3.java, service3Impl.java
- TestComposite51.composite
- sca-contribution.xml
2) ASM_8011
- Correct TestComposite62.composite
to use a single <implementation/> as follows:
<implementation.composite
name="test:TestComposite54"/>
3) sca-contribution.xml
Remove the unnecessary <import.java/>
statements in contributions 4002, 4003, 4004, 5023, 6028
4) TestComposite3 in General_Java contribution
Replace the promote attributes as follows:
<reference
name="Reference1"
promote="TestComponent1/reference1">
5) Complex Type namespace tagging in
ASM_5026
Update Test_ASM_5026.composite and TestComposite13.composite,
so that all references to test:globalElement1
use the test: namespace prefix, which
is mapped to "http://docs.oasis-open.org/ns/opencsa/scatests/200903"
(Test_ASM_5026)
<test:globalElement1>
<test:firstData>complex1</test:firstData>
<test:secondData>complex2</test:secondData>
</test:globalElement1>
(TestComposite13)
<property
name="serviceData1"
source="$complexType/test:firstData"/>
<property
name="serviceData2"
source="$complexType/test:secondData"/>
6) ASM_5033 and ASM_5034 have a reference
with multiple bindings without unique names
Test_ASM_5033.composite and Test_ASM_5034.composite
is updated to give the multiple bindings unique names:
a)
<binding.sca
uri="TestComponent2/Service1"
name="first"/>
<binding.sca
uri="TestComponent2/Service1"
name="second"/>
b)
<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>
<service
name="Service1">
<interface.wsdl
interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
<binding.sca
name="first"/>
<binding.ws
name="second"/>
</service>
7) ASM_8005_TestCase.java has wrong
list of Contributions
ASM_8005_TestCase.java is changed to
use the following list:
"ASM_8005"
+ _Lang,
"General",
"General"
+ _Lang
...this picks up ASM_8005_Java contribution
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]