2002/ws/desc/test-suite/documents/bad/InterfaceOperation-1B TestMetadata.xml,NONE,1.1 echo-extended.wsdl,NONE,1.1 echo.wsdl,NONE,1.1

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

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

--- 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/InterfaceOperation-1B
	</Identifier>
	<Title>Bad Document - Non Equivalent operations due to interface extension</Title>
	<Purpose></Purpose>
	<Description>This violates the InterfaceOperation-0036 Asertion.</Description>
	<Status>accepted</Status>
	<SpecRef></SpecRef>
	<Preconditions>none</Preconditions>
	<Inputs>
		<Input>echo.wsdl</Input>
		<Input>echo-extended.wsdl</Input>
	</Inputs>
	<ExpectedResults>
		<Successful>false</Successful>
		<ViolatesAssertion>InterfaceOperation-0036</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/#InterfaceOperation-0036</Reference></SeeAlso>
</TestMetadata>

--- NEW FILE: echo-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: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 violates the asseretion that requires if two operation that
		ended up in the same interface have the same name due to
		interface extension that they should be equivalent
	</documentation>

	<interface name="echoServiceInterface-extended"
		extends="echoServiceInterface">

		<operation pattern="http://www.w3.org/2006/01/wsdl/in-out"
			name="echo">
			<input element="wwis:echoXML" messageLabel="In" />
			<output element="wwis:echoXMLResponse" messageLabel="Out" />
		</operation>
	</interface>

	<binding interface="tns:echoServiceInterface-extended"
		type="http://www.w3.org/2006/01/wsdl/soap"
		name="echoServiceSOAPBinding"
		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="tns:echoXML" />
	</binding>
	<service name="echoService"
		interface="tns:echoServiceInterface-extended">
		<endpoint
			address="http://www-lk.wso2.com/axis2/services/EchoService"
			binding="tns:echoServiceSOAPBinding"
			name="echoServiceSOAPBinding_http" />
	</service>

</description>


--- NEW FILE: echo.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: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 violates the asseretion that requires if two operation that
		ended up in the same interface have the same name due to
		interface extension that they should be equivalent
	</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="echo">
			<input element="wwis:echoString" messageLabel="In" />
			<output element="wwis:echoStringResponse"
				messageLabel="Out" />
		</operation>

	</interface>

</description>

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