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] TestComposite63.composite contains an incorrect <service/> name



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]