[Fwd: Re: Some more tests]

Woups,
forget the attachment.

youenn fablet wrote:

>
> Please find some good documents related to @element, interface 
> inheritance and interfaceless bindings.
>    Youenn
>
>
### Eclipse Workspace Patch 1.0
#P test-suite
Index: test-suite.xml
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/test-suite.xml,v
retrieving revision 1.12
diff -u -r1.12 test-suite.xml
--- test-suite.xml	6 Jul 2006 17:56:09 -0000	1.12
+++ test-suite.xml	6 Jul 2006 19:18:44 -0000
@@ -267,6 +267,26 @@
 		<folder>SparqlQuery-1G</folder>
 		<file>sparql-protocol-query.wsdl</file>
 	</test-case>
+	<test-case id="documents/good/Storage-1G">
+		<folder>Storage-1G</folder>
+		<file>storage.wsdl</file>
+	</test-case>
+	<test-case id="documents/good/Storage-2G">
+		<folder>Storage-2G</folder>
+		<file>storage.wsdl</file>
+	</test-case>
+	<test-case id="documents/good/Storage-3G">
+		<folder>Storage-3G</folder>
+		<file>storage.wsdl</file>
+	</test-case>
+	<test-case id="documents/good/Storage-4G">
+		<folder>Storage-4G</folder>
+		<file>storage.wsdl</file>
+	</test-case>
+	<test-case id="documents/good/Storage-5G">
+		<folder>Storage-5G</folder>
+		<file>storage.wsdl</file>
+	</test-case>
 	<test-case id="documents/good/TicketAgent-1G">
 		<folder>TicketAgent-1G</folder>
 		<file>TicketAgent.wsdl</file>
@@ -290,4 +310,4 @@
 		<file>reservationItems.wsdl</file>
 	</test-case>
 	
-</test-suite>
\ No newline at end of file
+</test-suite>
Index: documents/good/Storage-5G/TestMetadata.xml
===================================================================
RCS file: documents/good/Storage-5G/TestMetadata.xml
diff -N documents/good/Storage-5G/TestMetadata.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ documents/good/Storage-5G/TestMetadata.xml	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<TestMetadata xmlns="http://www.w3.org/2006/02/wsdl/TestMetadata">
+	<Identifier>
+		http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/good/Storage-5G
+	</Identifier>
+	<Title>Good Document Storage-5G</Title>
+	<Purpose>stub</Purpose>
+	<Description>
+		This WSDL shows the use of function inheritance.
+	</Description>
+	<Status>new</Status>
+	<SpecRef></SpecRef>
+	<Preconditions>none</Preconditions>
+	<Inputs>storage.wsdl</Inputs>
+	<ExpectedResults>
+		<Successful>true</Successful>
+	</ExpectedResults>
+	<Version>1.0</Version>
+	<Contributor>
+		<Name>Youenn Fablet</Name>
+		<Affiliation>Canon</Affiliation>
+		<EMail>youenn.fablet@crf.canon.fr</EMail>
+	</Contributor>
+	<Rights>
+		http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231
+	</Rights>
+	<Grouping>/documents/good</Grouping>
+	<SeeAlso>
+		<Reference>http://www.w3.org/TR/wsdl20</Reference>
+	</SeeAlso>
+</TestMetadata>
Index: documents/good/Storage-1G/storage.wsdl
===================================================================
RCS file: documents/good/Storage-1G/storage.wsdl
diff -N documents/good/Storage-1G/storage.wsdl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ documents/good/Storage-1G/storage.wsdl	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<description xmlns="http://www.w3.org/2006/01/wsdl"
+	targetNamespace="http://example.org/soapStorage"
+	xmlns:tns="http://example.org/soapStorage"
+	xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap">
+
+	<types>
+		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+			targetNamespace="http://example.org/soapStorage">
+
+			<xs:element name="storedContent" type="xs:base64Binary"/>
+			
+			<xs:element name="acknowledgement" type="tns:tAcknowledgement" />
+			
+			<xs:complexType name="tAcknowledgement">
+				<xs:sequence>
+					<xs:element name="date" type="xs:date" />
+					<xs:element name="status" type="xs:string" />
+					<xs:element name="size" type="xs:int" />
+				</xs:sequence>
+			</xs:complexType>
+		</xs:schema>
+	</types>
+
+	<interface name="storageInterface">
+		<operation name="acknowledgedStorage"
+			pattern="http://www.w3.org/2006/01/wsdl/in-out">
+			<input element="tns:storedContent" />
+			<output element="tns:acknowledgement" />
+		</operation>
+		<operation name="silentStorage"
+			pattern="http://www.w3.org/2006/01/wsdl/in-out">
+			<input element="tns:storedContent" />
+			<output element="#none" />
+		</operation>
+	</interface>
+
+	<binding name="storageBinding"
+		interface="tns:storageInterface"
+		type="http://www.w3.org/2006/01/wsdl/soap"
+		wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP">
+
+	</binding>
+
+	<service name="storageService"
+		interface="tns:storageInterface">
+
+		<endpoint name="storageEndpoint"
+			binding="tns:storageBinding"
+			address="http://example.org/storageService" />
+
+	</service>
+
+</description>
Index: documents/good/Storage-2G/TestMetadata.xml
===================================================================
RCS file: documents/good/Storage-2G/TestMetadata.xml
diff -N documents/good/Storage-2G/TestMetadata.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ documents/good/Storage-2G/TestMetadata.xml	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<TestMetadata xmlns="http://www.w3.org/2006/02/wsdl/TestMetadata">
+	<Identifier>
+		http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/good/Storage-2G
+	</Identifier>
+	<Title>Good Document Storage-2G</Title>
+	<Purpose>stub</Purpose>
+	<Description>
+		This WSDL shows the use of wsdl:input/@element="#any".
+	</Description>
+	<Status>new</Status>
+	<SpecRef></SpecRef>
+	<Preconditions>none</Preconditions>
+	<Inputs>storage.wsdl</Inputs>
+	<ExpectedResults>
+		<Successful>true</Successful>
+	</ExpectedResults>
+	<Version>1.0</Version>
+	<Contributor>
+		<Name>Youenn Fablet</Name>
+		<Affiliation>Canon</Affiliation>
+		<EMail>youenn.fablet@crf.canon.fr</EMail>
+	</Contributor>
+	<Rights>
+		http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231
+	</Rights>
+	<Grouping>/documents/good</Grouping>
+	<SeeAlso>
+		<Reference>http://www.w3.org/TR/wsdl20</Reference>
+	</SeeAlso>
+</TestMetadata>
Index: documents/good/Storage-4G/storage.wsdl
===================================================================
RCS file: documents/good/Storage-4G/storage.wsdl
diff -N documents/good/Storage-4G/storage.wsdl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ documents/good/Storage-4G/storage.wsdl	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<description xmlns="http://www.w3.org/2006/01/wsdl"
+	targetNamespace="http://example.org/soapStorage"
+	xmlns:tns="http://example.org/soapStorage"
+	xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap">
+
+	<types>
+		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+			targetNamespace="http://example.org/soapStorage">
+
+			<xs:element name="storedContent" type="xs:base64Binary"/>
+			<xs:element name="acknowledgement" type="tns:tAcknowledgement" />
+			<xs:element name="storageFailure" type="tns:tFaultDetails" />
+			<xs:element name="storageError" type="tns:tFaultDetails" />
+			<xs:element name="storageMistake" type="tns:tFaultDetails" />
+			<xs:complexType name="tAcknowledgement">
+				<xs:sequence>
+					<xs:element name="date" type="xs:date" />
+					<xs:element name="status" type="xs:string" />
+					<xs:element name="size" type="xs:int" />
+				</xs:sequence>
+			</xs:complexType>
+			<xs:complexType name="tFaultDetails">
+				<xs:sequence>
+					<xs:element name="date" type="xs:date" />
+					<xs:element name="details" type="xs:string" />
+				</xs:sequence>
+			</xs:complexType>
+		</xs:schema>
+	</types>
+
+	<interface name="faultInterface">
+		<fault name="failure" element="tns:storageFailure" />
+		<fault name="error" element="tns:storageError" />
+		<fault name="mistake" element="tns:storageMistake" />
+	</interface>
+	
+	<interface name="storageInterface" extends="tns:faultInterface">
+		<operation name="store"
+			pattern="http://www.w3.org/2006/01/wsdl/in-out">
+			<input element="tns:storedContent" />
+			<output element="tns:acknowledgement" />
+			<outfault ref="tns:failure"/>
+			<outfault ref="tns:error"/>
+		</operation>
+	</interface>
+
+	<binding name="storageBinding"
+		interface="tns:storageInterface"
+		type="http://www.w3.org/2006/01/wsdl/soap"
+		wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP">
+		
+		<fault ref="tns:failure"/>
+		<fault ref="tns:error"/>
+	</binding>
+
+	<service name="storageService"
+		interface="tns:storageInterface">
+
+		<endpoint name="storageEndpoint"
+			binding="tns:storageBinding"
+			address="http://example.org/storageService" />
+
+	</service>
+
+</description>
+
Index: documents/good/Storage-3G/storage.wsdl
===================================================================
RCS file: documents/good/Storage-3G/storage.wsdl
diff -N documents/good/Storage-3G/storage.wsdl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ documents/good/Storage-3G/storage.wsdl	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<description xmlns="http://www.w3.org/2006/01/wsdl"
+	targetNamespace="http://example.org/soapStorage"
+	xmlns:tns="http://example.org/soapStorage"
+	xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap">
+
+	<types>
+		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+			targetNamespace="http://example.org/soapStorage">
+
+			<xs:element name="storedContent" type="xs:base64Binary"/>
+			<xs:element name="acknowledgement" type="tns:tAcknowledgement" />
+			<xs:complexType name="tAcknowledgement">
+				<xs:sequence>
+					<xs:element name="date" type="xs:date" />
+					<xs:element name="status" type="xs:string" />
+					<xs:element name="size" type="xs:int" />
+				</xs:sequence>
+			</xs:complexType>
+		</xs:schema>
+	</types>
+
+	<interface name="storageInterface">
+		<operation name="store"
+			pattern="http://www.w3.org/2006/01/wsdl/in-out">
+			<input element="tns:storedContent" />
+			<output element="tns:acknowledgement" />
+		</operation>
+	</interface>
+
+	<binding name="storageBinding"
+		type="http://www.w3.org/2006/01/wsdl/soap"
+		wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP">
+	</binding>
+
+	<service name="storageService"
+		interface="tns:storageInterface">
+
+		<endpoint name="storageEndpoint"
+			binding="tns:storageBinding"
+			address="http://example.org/storageService" />
+
+	</service>
+
+</description>
+
Index: documents/good/Storage-2G/storage.wsdl
===================================================================
RCS file: documents/good/Storage-2G/storage.wsdl
diff -N documents/good/Storage-2G/storage.wsdl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ documents/good/Storage-2G/storage.wsdl	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<description xmlns="http://www.w3.org/2006/01/wsdl"
+	targetNamespace="http://example.org/soapStorage"
+	xmlns:tns="http://example.org/soapStorage"
+	xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap">
+
+	<types>
+		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+			targetNamespace="http://example.org/soapStorage">
+
+			<xs:element name="storedContent" type="xs:base64Binary"/>
+			
+			<xs:element name="acknowledgement" type="tns:tAcknowledgement" />
+			
+			<xs:complexType name="tAcknowledgement">
+				<xs:sequence>
+					<xs:element name="date" type="xs:date" />
+					<xs:element name="status" type="xs:string" />
+					<xs:element name="size" type="xs:int" />
+				</xs:sequence>
+			</xs:complexType>
+		</xs:schema>
+	</types>
+
+	<interface name="storageInterface">
+		<operation name="acknowledgedStorage"
+			pattern="http://www.w3.org/2006/01/wsdl/in-out">
+			<input element="#any" />
+			<output element="tns:acknowledgement" />
+		</operation>
+	</interface>
+
+	<binding name="storageBinding"
+		interface="tns:storageInterface"
+		type="http://www.w3.org/2006/01/wsdl/soap"
+		wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP">
+
+	</binding>
+
+	<service name="storageService"
+		interface="tns:storageInterface">
+
+		<endpoint name="storageEndpoint"
+			binding="tns:storageBinding"
+			address="http://example.org/storageService" />
+
+	</service>
+
+</description>
Index: documents/good/Storage-1G/TestMetadata.xml
===================================================================
RCS file: documents/good/Storage-1G/TestMetadata.xml
diff -N documents/good/Storage-1G/TestMetadata.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ documents/good/Storage-1G/TestMetadata.xml	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<TestMetadata xmlns="http://www.w3.org/2006/02/wsdl/TestMetadata">
+	<Identifier>
+		http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/good/Storage-1G
+	</Identifier>
+	<Title>Good Document Storage-1G</Title>
+	<Purpose>stub</Purpose>
+	<Description>
+		This WSDL shows the use of wsdl:input/@element="#none".
+	</Description>
+	<Status>new</Status>
+	<SpecRef></SpecRef>
+	<Preconditions>none</Preconditions>
+	<Inputs>storage.wsdl</Inputs>
+	<ExpectedResults>
+		<Successful>true</Successful>
+	</ExpectedResults>
+	<Version>1.0</Version>
+	<Contributor>
+		<Name>Youenn Fablet</Name>
+		<Affiliation>Canon</Affiliation>
+		<EMail>youenn.fablet@crf.canon.fr</EMail>
+	</Contributor>
+	<Rights>
+		http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231
+	</Rights>
+	<Grouping>/documents/good</Grouping>
+	<SeeAlso>
+		<Reference>http://www.w3.org/TR/wsdl20</Reference>
+	</SeeAlso>
+</TestMetadata>
Index: documents/good/Storage-3G/TestMetadata.xml
===================================================================
RCS file: documents/good/Storage-3G/TestMetadata.xml
diff -N documents/good/Storage-3G/TestMetadata.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ documents/good/Storage-3G/TestMetadata.xml	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<TestMetadata xmlns="http://www.w3.org/2006/02/wsdl/TestMetadata">
+	<Identifier>
+		http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/good/Storage-3G
+	</Identifier>
+	<Title>Good Document Storage-3G</Title>
+	<Purpose>stub</Purpose>
+	<Description>
+		This WSDL shows the use of interfaceless bindings.
+	</Description>
+	<Status>new</Status>
+	<SpecRef></SpecRef>
+	<Preconditions>none</Preconditions>
+	<Inputs>storage.wsdl</Inputs>
+	<ExpectedResults>
+		<Successful>true</Successful>
+	</ExpectedResults>
+	<Version>1.0</Version>
+	<Contributor>
+		<Name>Youenn Fablet</Name>
+		<Affiliation>Canon</Affiliation>
+		<EMail>youenn.fablet@crf.canon.fr</EMail>
+	</Contributor>
+	<Rights>
+		http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231
+	</Rights>
+	<Grouping>/documents/good</Grouping>
+	<SeeAlso>
+		<Reference>http://www.w3.org/TR/wsdl20</Reference>
+	</SeeAlso>
+</TestMetadata>
Index: documents/good/Storage-5G/storage.wsdl
===================================================================
RCS file: documents/good/Storage-5G/storage.wsdl
diff -N documents/good/Storage-5G/storage.wsdl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ documents/good/Storage-5G/storage.wsdl	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<description xmlns="http://www.w3.org/2006/01/wsdl"
+	targetNamespace="http://example.org/soapStorage"
+	xmlns:tns="http://example.org/soapStorage"
+	xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap">
+
+	<types>
+		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+			targetNamespace="http://example.org/soapStorage">
+
+			<xs:element name="basicContent" type="xs:base64Binary"/>
+			<xs:element name="advancedContent" type="xs:base64Binary"/>
+			<xs:element name="basicAcknowledgement" type="xs:boolean" />
+			<xs:element name="advancedAcknowledgement" type="tns:tAcknowledgement" />
+			<xs:complexType name="tAcknowledgement">
+				<xs:sequence>
+					<xs:element name="date" type="xs:date" />
+					<xs:element name="status" type="xs:string" />
+					<xs:element name="size" type="xs:int" />
+				</xs:sequence>
+			</xs:complexType>
+		</xs:schema>
+	</types>
+
+	<interface name="baseInterface">
+		<operation name="basicstore"
+			pattern="http://www.w3.org/2006/01/wsdl/in-out">
+			<input element="tns:basicContent" />
+			<output element="tns:basicAcknowledgement" />
+		</operation>
+	</interface>
+
+	<interface name="extendedInterface" extends="tns:baseInterface">
+		<operation name="advancedstore"
+			pattern="http://www.w3.org/2006/01/wsdl/in-out">
+			<input element="tns:advancedContent" />
+			<output element="tns:advancedAcknowledgement" />
+		</operation>
+	</interface>
+
+	<binding name="storageBinding"
+		type="http://www.w3.org/2006/01/wsdl/soap"
+		wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP">
+	</binding>
+
+	<service name="storageService"
+		interface="tns:extendedInterface">
+
+		<endpoint name="storageEndpoint"
+			binding="tns:storageBinding"
+			address="http://example.org/storageService" />
+
+	</service>
+
+</description>
+
Index: documents/good/Storage-4G/TestMetadata.xml
===================================================================
RCS file: documents/good/Storage-4G/TestMetadata.xml
diff -N documents/good/Storage-4G/TestMetadata.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ documents/good/Storage-4G/TestMetadata.xml	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<TestMetadata xmlns="http://www.w3.org/2006/02/wsdl/TestMetadata">
+	<Identifier>
+		http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/good/Storage-4G
+	</Identifier>
+	<Title>Good Document Storage-4G</Title>
+	<Purpose>stub</Purpose>
+	<Description>
+		This WSDL shows the use of fault-only interface inheritance.
+	</Description>
+	<Status>new</Status>
+	<SpecRef></SpecRef>
+	<Preconditions>none</Preconditions>
+	<Inputs>storage.wsdl</Inputs>
+	<ExpectedResults>
+		<Successful>true</Successful>
+	</ExpectedResults>
+	<Version>1.0</Version>
+	<Contributor>
+		<Name>Youenn Fablet</Name>
+		<Affiliation>Canon</Affiliation>
+		<EMail>youenn.fablet@crf.canon.fr</EMail>
+	</Contributor>
+	<Rights>
+		http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231
+	</Rights>
+	<Grouping>/documents/good</Grouping>
+	<SeeAlso>
+		<Reference>http://www.w3.org/TR/wsdl20</Reference>
+	</SeeAlso>
+</TestMetadata>

Received on Thursday, 6 July 2006 19:38:18 UTC