2002/ws/desc/test-suite/documents/bad/Include-1B EchoImpl.wsdl,NONE,1.1 Echo.wsdl,NONE,1.1 TestMetadata.xml,NONE,1.1

Update of /sources/public/2002/ws/desc/test-suite/documents/bad/Include-1B
In directory hutz:/tmp/cvs-serv26660/test-suite/documents/bad/Include-1B

Added Files:
	EchoImpl.wsdl Echo.wsdl TestMetadata.xml 
Log Message:
added testcases from Lawrence Mandel 2006-06-07

--- 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/Include-1B
	</Identifier>
	<Title>Bad Document Include-1B</Title>
	<Purpose></Purpose>
	<Description></Description>
	<Status>accepted</Status>
	<SpecRef></SpecRef>
	<Preconditions>none</Preconditions>
	<Inputs>EchoImpl.wsdl</Inputs>
	<ExpectedResults>
		<Successful>false</Successful>
		<ViolatesAssertion>Include-0069</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#Include-0069</Reference></SeeAlso>
</TestMetadata>

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

	<wsdl:types>
		<xs:schema targetNamespace="http://example.org/Echo">
			<xs:element name="parameter" type="xs:string"/>
		</xs:schema>
	</wsdl:types>

	<wsdl:interface name="EchoInterface">
		<wsdl:operation name="echoOperation"
			pattern="http://www.w3.org/2006/01/wsdl/in-out">
			<wsdl:input element="tns:parameter" />
			<wsdl:output element="tns:parameter" />
		</wsdl:operation>
	</wsdl:interface>
</wsdl:description>

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

	<wsdl:documentation>
		This test shows an invalid use of a WSDL include. The
		wsdl:include element MUST reference a WSDL document with the
		same target namespace as this document. The included WSDL
		document contains a different namespace.
		
		This document violates assertion Include-0069.
	</wsdl:documentation>
	
	<wsdl:include location="Echo.wsdl"/>

	<wsdl:binding name="EchoSOAPBinding"
		type="http://www.w3.org/2006/01/wsdl/soap"
		wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/" />

	<wsdl:service name="EchoService" interface="tns:EchoInterface">
		<wsdl:documentation>The Echo service.</wsdl:documentation>
		<wsdl:endpoint name="SOAPEndpoint"
			binding="tns:EchoSOAPBinding" />
	</wsdl:service>
		
	
</wsdl:description>

Received on Thursday, 6 July 2006 14:49:42 UTC