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

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

Added Files:
	wsdlx.wsdl TestMetadata.xml 
Log Message:
committed patch from Lawrence Mandel: test-suite-20061117.patch

--- 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/wsdlx-3B
	</Identifier>
	<Title>Bad Document wsdlx-3B</Title>
	<Purpose></Purpose>
	<Description></Description>
	<Status>accepted</Status>
	<SpecRef></SpecRef>
	<Preconditions>none</Preconditions>
	<Inputs>
		<Input role="root">wsdlx.wsdl</Input>
	</Inputs>
	<ExpectedResults>
		<Successful>false</Successful>
		<ViolatesAssertion>Schema-0022</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#Schema-0022</Reference></SeeAlso>
</TestMetadata>

--- NEW FILE: wsdlx.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"
	xmlns:wsdlx="http://www.w3.org/2006/01/wsdl-extensions">

	<wsdl:documentation>
		This test shows an invalid use of WSDL 2.0
		wsdlx:interface and wsdlx:binding attributes. When
		both attributes are used the specified binding
		must either specify the interface or specify no
		interface.
		
		This document violates assertion Schema-0022.
	</wsdl:documentation>
	
	<wsdl:types>
		<xs:schema targetNamespace="http://example.org/">
			<xs:element name="element" type="xs:string"/>
			<xs:element name="service" type="xs:anyURI" 
			wsdlx:interface="interface" wsdlx:binding="tns:binding"/>
		</xs:schema>
	</wsdl:types>
	
	<wsdl:interface name="interface">
		<wsdl:operation name="operation" pattern="http://www.w3.org/2006/01/wsdl/in-only">
			<wsdl:input messageLabel="In"
				element="tns:element" />
		</wsdl:operation>
	</wsdl:interface>
	
	<wsdl:interface name="interface2">
		<wsdl:operation name="operation" pattern="http://www.w3.org/2006/01/wsdl/in-only">
			<wsdl:input messageLabel="In"
				element="tns:element" />
		</wsdl:operation>
	</wsdl:interface>

	<wsdl:binding name="binding" type="http://www.w3.org/2006/01/wsdl/http" interface="tns:interface2">
	</wsdl:binding>
</wsdl:description>

Received on Friday, 17 November 2006 10:11:55 UTC