Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3339

Tuscany fixes to make ASM_12003 work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Java-SCA-2.0-M3
    • Java-SCA-2.0-M4
    • None
    • All

    Description

      The service1b.wsdl and Test_ASM_12003.composite needs to change as shown below.

      Index: Service1b.wsdl
      ===================================================================
      — Service1b.wsdl (revision 372)
      +++ Service1b.wsdl (working copy)
      @@ -6,17 +6,18 @@

      • -->
        <wsdl:definitions name="Service1Service"
        -targetNamespace="http://test.sca.oasisopen.org/"
        -xmlns:tns="http://test.sca.oasisopen.org/"
        +targetNamespace="http://test2.sca.oasisopen.org/"
        +xmlns:tns="http://test2.sca.oasisopen.org/"
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
        xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:SOAP11="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        -xsi:schemaLocation="http://test.sca.oasisopen.org/

      Index: Test_ASM_12003.composite
      ===================================================================
      — Test_ASM_12003.composite (revision 372)
      +++ Test_ASM_12003.composite (working copy)
      @@ -1,38 +1,38 @@
      -<?xml version="1.0" encoding="UTF-8"?>
      <!-

      • *
      • * Copyright(C) OASIS(R) 2005,2009. All Rights Reserved.
      • * OASIS trademark, IPR and other policies apply.
      • *
        --->
        <!-
        -Tests that where a WSDL document references its schema using @schemaLocation attribute
        -(schema artifact specific artifact resolution mechanism), that this is used to resolve
        -the schema rather than SCA mechanisms.
        --->
        -<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"
        +<?xml version="1.0" encoding="UTF-8"?>
        +<!--
        + *
        + * Copyright(C) OASIS(R) 2005,2009. All Rights Reserved.
        + * OASIS trademark, IPR and other policies apply.
        + *
        +-->
        +<!--
        +Tests that where a WSDL document references its schema using @schemaLocation attribute
        +(schema artifact specific artifact resolution mechanism), that this is used to resolve
        +the schema rather than SCA mechanisms.
        +-->
        +<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="TEST_ASM_12003">
      • +
        <component name="TestClient">
        <implementation.composite name="test:TestClient_0002"/>
        <service name="TestInvocation">

      • <interface.wsdl interface="http://test.sca.oasisopen.org/#wsdl.porttype(TestInvocation)"/>
        + <interface.wsdl interface="http://test2.sca.oasisopen.org/#wsdl.porttype(TestInvocation)"/>
        <binding.ws/>
        </service>
      • <reference name="reference1" target="TestComponent1/Service1" >
      • <interface.wsdl interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
        + <reference name="reference1" target="TestComponent1/Service1" >
        + <interface.wsdl interface="http://test2.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
        </reference>
        <property name="testName">ASM_12003</property>
        </component>
        -
      • <component name="TestComponent1">
      • <implementation.composite name="test:TestComposite1"/>
        +
        + <component name="TestComponent1">
        + <implementation.composite name="test:TestComposite1"/>
        <service name="Service1">
      • <interface.wsdl interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
      • </service>
      • <property name="serviceName">service1</property>
      • </component>
        -
        -</composite>
        + <interface.wsdl interface="http://test2.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
        + </service>
        + <property name="serviceName">service1</property>
        + </component>
        +
        +</composite>

      Attachments

        Activity

          People

            Unassigned Unassigned
            simonslaws Simon Laws
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: