2002/ws/desc/test-suite/documents/bad/Chat-1B Chat-NoBindingInterface.wsdl,NONE,1.1 TestMetadata.xml,NONE,1.1

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

Added Files:
	Chat-NoBindingInterface.wsdl TestMetadata.xml 
Log Message:
Committed Chat-1B from Gilbert Pilz and regenerated Coverage Report.

--- 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/Chat-1B
	</Identifier>
	<Title>Bad Document - Invalid Binding</Title>
	<Purpose></Purpose>
	<Description>This violates the Binding-0054 Asertion.</Description>
	<Status>accepted</Status>
	<SpecRef></SpecRef>
	<Preconditions>none</Preconditions>
	<Inputs>
		<Input role="root">Chat-NoBindingInterface.wsdl</Input>
	</Inputs>
	<ExpectedResults>
		<Successful>false</Successful>
		<ViolatesAssertion>Binding-0054</ViolatesAssertion>
	</ExpectedResults>
	<Version>1.0</Version>
	<Contributor>
		<Name>Gilbert Pilz</Name>
		<Affiliation>BEA</Affiliation>
		<EMail>Gilbert.Pilz@bea.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/2006/CR-wsdl20-20060327/#Binding-0054
		</Reference>
	</SeeAlso>
</TestMetadata>

--- NEW FILE: Chat-NoBindingInterface.wsdl ---
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:description xmlns:wsdl="http://www.w3.org/2006/01/wsdl"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.w3.org/2005/08/wsdl http://www.w3.org/2005/08/wsdl/wsdl20.xsd"
	targetNamespace="http://example.org/chat.wsdl"
	xmlns:tns="http://example.org/chat.wsdl"
	xmlns:chatns="http://example.org/chat/schema"
	xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap"
	xmlns:soap="http://www.w3.org/2003/05/soap-envelope">

	<wsdl:documentation>
		Test what happens when you define a binding that includes
		operation-specific details but does not specify which interface
		the binding refers to. This document violates assertion
		Binding-0054.
	</wsdl:documentation>

	<wsdl:types>
		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
			targetNamespace="http://example.org/chat/schema"
			xmlns="http://example.org/chat/schema">

			<xs:complexType name="sayRequestType">
				<xs:sequence>
					<xs:element name="handle" type="xs:string" />
					<xs:element name="contents" type="xs:string" />
				</xs:sequence>
			</xs:complexType>
			<xs:element name="sayRequestElement" type="sayRequestType" />

			<xs:element name="invalidHandleError" type="xs:string" />

		</xs:schema>
	</wsdl:types>

	<wsdl:interface name="chatInterface">

		<wsdl:fault name="invalidHandleFault"
			element="chatns:invalidHandleError" />

		<wsdl:operation name="say"
			pattern="http://www.w3.org/2006/01/wsdl/robust-in-only">
			<wsdl:input messageLabel="In"
				element="chatns:sayRequestElement" />
			<wsdl:outfault messageLabel="Out"
				ref="tns:invalidHandleFault" />
		</wsdl:operation>

	</wsdl:interface>

	<wsdl:binding name="chatSOAPBinding"
		type="http://www.w3.org/2006/01/wsdl/soap">

		<wsdl:fault ref="tns:invalidHandleError"
			wsoap:code="soap:Sender" />

		<wsdl:operation ref="tns:say"
			wsoap:mep="http://www.w3.org/2003/05/soap/mep/request-response/" />

	</wsdl:binding>

	<wsdl:service name="chatService" interface="tns:chatInterface">

		<wsdl:endpoint name="chatEndpoint" binding="tns:chatSOAPBinding"
			address="http://chat.example.com/chat/Chat" />

	</wsdl:service>

</wsdl:description>

Received on Monday, 31 July 2006 00:51:54 UTC