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

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

Added Files:
	NonUniqueBinding.wsdl NonUniqueBinding-Extended.wsdl 
	TestMetadata.xml 
Log Message:
Committed patch from Chathura for testcases that violate assertions.

--- NEW FILE: NonUniqueBinding.wsdl ---
<description xmlns="http://www.w3.org/2006/01/wsdl"
	xmlns:tns="http://www.wso2.com/wsdl/2006/interop/EchoService"
	xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap"
	xmlns:whttp="http://www.w3.org/2006/01/wsdl/http"
	xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
	targetNamespace="http://www.wso2.com/wsdl/2006/interop/EchoService"
	xmlns:wwis="http://www.wso2.com/schemas/2006/interop/EchoService">

	<documentation>
		This is a bad WSDL that violates the assertion 57. The binding
		on the WSDL has non unique name property.
	</documentation>

	<types>
		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
			xmlns="http://www.wso2.com/schemas/2006/interop/EchoService"
			targetNamespace="http://www.wso2.com/schemas/2006/interop/EchoService"
			elementFormDefault="unqualified"
			attributeFormDefault="unqualified">
			<xs:element type="tEchoString" name="echoString" />
			<xs:complexType name="tEchoString">
				<xs:sequence>
					<xs:element type="xs:string" name="echoStringParam" />
				</xs:sequence>
			</xs:complexType>
			<xs:element type="xs:string" name="echoStringResponse" />

			<xs:element type="tEchoXML" name="echoXML" />
			<xs:complexType name="tEchoXML">
				<xs:sequence>
					<xs:element type="xs:anyType" name="echoXMLParam" />
				</xs:sequence>
			</xs:complexType>
			<xs:element type="xs:anyType" name="echoXMLResponse" />

		</xs:schema>
	</types>
	<interface name="echoServiceInterface">
		<operation pattern="http://www.w3.org/2006/01/wsdl/in-out"
			name="echoString">
			<input element="wwis:echoString" messageLabel="In" />
			<output element="wwis:echoStringResponse"
				messageLabel="Out" />
		</operation>
		<operation pattern="http://www.w3.org/2006/01/wsdl/in-out"
			name="echoXML">
			<input element="wwis:echoXML" messageLabel="In" />
			<output element="wwis:echoXMLResponse" messageLabel="Out" />
		</operation>
	</interface>
	<binding interface="tns:echoServiceInterface"
		type="http://www.w3.org/2006/01/wsdl/soap" name="echoServiceBinding"
		wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP">
		<operation
			wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"
			ref="tns:echoString" />
		<operation
			wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"
			ref="echoXML" />
	</binding>


</description>

--- 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/Binding-3B
	</Identifier>
	<Title>Bad Document - Non-Unique Binding</Title>
	<Purpose></Purpose>
	<Description>This violates the Binding 57 Asertion.</Description>
	<Status>accepted</Status>
	<SpecRef></SpecRef>
	<Preconditions>none</Preconditions>
	<Inputs>
		<Input>NonUniqueBinding.wsdl</Input>
		<Input>NonUniqueBinding-Extended.wsdl</Input>
	</Inputs>
	<ExpectedResults>
		<Successful>false</Successful>
		<ViolatesAssertion>Binding-0057</ViolatesAssertion>
	</ExpectedResults>
	<Version>1.0</Version>
	<Contributor>
		<Name>Chathura Herath</Name>
		<Affiliation>Indiana University, Extreme!! Lab</Affiliation>
		<EMail>cherath@cs.indiana.edu</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/2006/CR-wsdl20-20060327/#Binding-0057</Reference></SeeAlso>
</TestMetadata>

--- NEW FILE: NonUniqueBinding-Extended.wsdl ---
<description xmlns="http://www.w3.org/2006/01/wsdl"
	xmlns:tns="http://www.wso2.com/wsdl/2006/interop/EchoService"
	xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap"
	xmlns:whttp="http://www.w3.org/2006/01/wsdl/http"
	xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
	targetNamespace="http://www.wso2.com/wsdl/2006/interop/EchoService"
	
	xmlns:wwis="http://www.wso2.com/schemas/2006/interop/EchoService">

	<include location="NonUniqueBinding.wsdl"></include>
	<binding interface="tns:echoServiceInterface"
		type="http://www.w3.org/2006/01/wsdl/http"
		name="echoServiceBinding">
		<operation ref="tns:echoString" whttp:method="GET" />
		<operation ref="echoXML" whttp:method="GET" />
	</binding>

</description>

Received on Tuesday, 11 July 2006 02:39:30 UTC