tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Edwards (JIRA)" <...@tuscany.apache.org>
Subject [jira] Resolved: (TUSCANY-3339) Tuscany fixes to make ASM_12003 work
Date Thu, 05 Nov 2009 11:39:36 GMT

     [ https://issues.apache.org/jira/browse/TUSCANY-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mike Edwards resolved TUSCANY-3339.
-----------------------------------

    Resolution: Fixed

Fixed in OASIS SVN revision 379

> Tuscany fixes to make ASM_12003 work
> ------------------------------------
>
>                 Key: TUSCANY-3339
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3339
>             Project: Tuscany
>          Issue Type: Bug
>          Components: OASIS Compliance - OASIS
>    Affects Versions: Java-SCA-2.0-M3
>         Environment: All
>            Reporter: Simon Laws
>             Fix For: Java-SCA-2.0-M4
>
>
> 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/
> -  http://www.oasis-open.org/committees/download.php/32378/Service1z.xsd" >
> +xsi:schemaLocation="http://test2.sca.oasisopen.org/
> +  http://www.springframework.org/schema/sca/spring-sca.xsd">
>  <!-- Above schemaLocation is bogus - no such file exists -->
> -   <wsdl:message name="operation1Response">
> + 
> +  <wsdl:message name="operation1Response">
>      <wsdl:part name="operation1Response" element="tns:operation1Response">
>      </wsdl:part>
>    </wsdl:message>
> 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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message