sca-assembly message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: [NEW ISSUE] TestComposite63.composite contains an incorrect <service/> name
- From: Mike Edwards <mike_edwards@uk.ibm.com>
- To: "OASIS Assembly" <sca-assembly@lists.oasis-open.org>
- Date: Thu, 6 Aug 2009 13:08:10 +0100
Raiser:
Mike Edwards
Target:
sca-assembly-1.1-testsuite-cd01.zip
Description:
TestComposite63.composite, from contribution
ASM_8010, has an incorrect service name for the service
offered by the component TestComposite63TestComponent1.
The service has @name=Service5, while
the composite which implements the component
actually has a service with @name=Service1
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
targetNamespace="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
xmlns:test="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
name="TestComposite63">
<service
name="Service1" promote="TestComposite63TestComponent1/Service5">
<!-- Callback interface here is not compatible
with the callback interface of the promoted service -->
<interface.wsdl interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service5)"
callbackInterface="http://test.sca.oasisopen.org/#wsdl.porttype(Service8Callback)"/>
</service>
<property name="serviceName"
type="string"/>
<component name="TestComposite63TestComponent1">
<implementation.composite name="test:TestComposite55"/>
<service
name="Service5">
<interface.wsdl
interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service5)"
callbackInterface="http://test.sca.oasisopen.org/#wsdl.porttype(Service5Callback)"/>
</service>
<property
name="serviceName" source="$serviceName"/>
</component>
</composite>
Proposal:
Change the @name attribute of the <service/>
of TestComposite63TestComponent1 to "Service1", and change the
@target of the reference that
uses this service to match:
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
targetNamespace="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
xmlns:test="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
name="TestComposite63">
<service
name="Service1" promote="TestComposite63TestComponent1/Service1">
<!-- Callback interface here is not compatible
with the callback interface of the promoted service -->
<interface.wsdl interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service5)"
callbackInterface="http://test.sca.oasisopen.org/#wsdl.porttype(Service8Callback)"/>
</service>
<property name="serviceName"
type="string"/>
<component name="TestComposite63TestComponent1">
<implementation.composite name="test:TestComposite55"/>
<service
name="Service1">
<interface.wsdl
interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service5)"
callbackInterface="http://test.sca.oasisopen.org/#wsdl.porttype(Service5Callback)"/>
</service>
<property
name="serviceName" source="$serviceName"/>
</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]