W3C home > Mailing lists > Public > public-ws-desc-eds@w3.org > November 2006

2002/ws/desc/test-suite/documents/bad/InterfaceFault-3B InterfaceFault.wsdl,NONE,1.1 TestMetadata.xml,NONE,1.1

From: Arthur Ryman via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 14 Nov 2006 08:29:37 +0000
To: public-ws-desc-eds@w3.org
Message-Id: <E1Gjtfl-0005q4-Ei@lionel-hutz.w3.org>

Update of /sources/public/2002/ws/desc/test-suite/documents/bad/InterfaceFault-3B
In directory hutz:/tmp/cvs-serv22129/documents/bad/InterfaceFault-3B

Added Files:
	InterfaceFault.wsdl TestMetadata.xml 
Log Message:
Added test cases from Lawrence Mandel 2006-11-14

--- NEW FILE: TestMetadata.xml ---
<?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/bad/InterfaceFault-3B
	</Identifier>
	<Title>Bad Document InterfaceFault-3B</Title>
	<Purpose></Purpose>
	<Description></Description>
	<Status>accepted</Status>
	<SpecRef></SpecRef>
	<Preconditions>none</Preconditions>
	<Inputs>
		<Input role="root">InterfaceFault.wsdl</Input>
	</Inputs>
	<ExpectedResults>
		<Successful>false</Successful>
		<ViolatesAssertion>InterfaceFault-0033</ViolatesAssertion>
		<ViolatesAssertion>InterfaceFault-1203001</ViolatesAssertion>
	</ExpectedResults>
	<Version>1.0</Version>
	<Contributor>
		<Name>Lawrence Mandel</Name>
		<Affiliation>IBM</Affiliation>
		<EMail>lmandel@ca.ibm.com</EMail>
	</Contributor>
	<Rights>http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231</Rights>
	<Grouping>/documents/bad</Grouping>
	<SeeAlso><Reference>http://www.w3.org/TR/wsdl20#InterfaceFault-0033</Reference>
	<Reference>http://www.w3.org/TR/wsdl20#InterfaceFault-1203001</Reference></SeeAlso>
</TestMetadata>

--- NEW FILE: InterfaceFault.wsdl ---
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:description targetNamespace="http://example.org/"
	xmlns:tns="http://example.org/"
	xmlns:wsdl="http://www.w3.org/2006/01/wsdl"
	xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<wsdl:documentation>
		This test shows a invalid use of WSDL 2.0 interface faults. 
		When an interface extends two interfaces that both
		define faults with the same name the component models
		of those faults must be equivalent. It also violates
		an optional assertion that states that all interface
		fault names within a namespace should be unique.
		
		This document violates assertion InterfaceFault-0033 and
		InterfaceFault-1203001.
	</wsdl:documentation>
	
	<wsdl:types>
		<xs:schema targetNamespace="http://example.org">
			<xs:element name="myElement" type="xs:string" />
		</xs:schema>
	</wsdl:types>
	
	<wsdl:interface name="myInterface">
		<wsdl:fault name="myFault">
		</wsdl:fault>
	</wsdl:interface>

	<wsdl:interface name="myInterface2">
		<wsdl:fault name="myFault" element="tns:myElement">
		</wsdl:fault>
	</wsdl:interface>
	
	<wsdl:interface name="myInterface3" extends="tns:myInterface tns:myInterface2">
	</wsdl:interface>

</wsdl:description>
Received on Tuesday, 14 November 2006 08:30:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:22 UTC