2002/ws/desc/test-suite/documents/bad/HTTPBinding-4B Echo.wsdl,NONE,1.1 TestMetadata.xml,NONE,1.1

Update of /sources/public/2002/ws/desc/test-suite/documents/bad/HTTPBinding-4B
In directory hutz:/tmp/cvs-serv21303/test-suite/documents/bad/HTTPBinding-4B

Added Files:
	Echo.wsdl TestMetadata.xml 
Log Message:
New tests

--- 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/HTTPBinding-4B
	</Identifier>
	<Title>Bad Document HTTPBinding-4B</Title>
	<Purpose>Illustrates the HTTP assertion HTTPBindingOperation-2604001.</Purpose>
	<Description>The value of the serialization format used for a message is a media type which MUST be covered by this range.† Wild cards (for example, "application/*") SHOULD NOT be used in this attribute information item since they may lead to interoperability problems.</Description>
	<Status>accepted</Status>
	<SpecRef></SpecRef>
	<Preconditions>none</Preconditions>
	<Inputs>
		<Input role="root">Echo.wsdl</Input>
	</Inputs>
	<ExpectedResults>
		<Successful>false</Successful>
		<ViolatesAssertion>HTTPBindingOperation-2604001</ViolatesAssertion>
	</ExpectedResults>
	<Version>1.0</Version>
	<Contributor>
		<Name>Philippe Le Hégaret</Name>
		<Affiliation>W3C</Affiliation>
		<EMail>plh@w3.org</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-adjuncts</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:whttp="http://www.w3.org/2006/01/wsdl/http"
	xmlns:wsdlx="http://www.w3.org/2006/01/wsdl-extensions"
	xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<wsdl:documentation>
		This test shows an invalid use of the HTTP binding.
	</wsdl:documentation>

	<wsdl:types>
		<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
			elementFormDefault="qualified"
			targetNamespace="http://example.org/Echo">
			<xsd:element name="Echo" type="xsd:string" />
			<xsd:element name="EchoResponse" type="xsd:string" />
		</xsd:schema>
	</wsdl:types>

	<wsdl:interface name="EchoInterface">
		<wsdl:operation name="echo"
			pattern="http://www.w3.org/2006/01/wsdl/in-out" wsdlx:safe="true">
			<wsdl:input element="tns:Echo" />
			<wsdl:output element="tns:EchoResponse" />
		</wsdl:operation>
	</wsdl:interface>

	<wsdl:binding name="EchoHTTPBinding" interface="tns:EchoInterface"
		type="http://www.w3.org/2006/01/wsdl/http" whttp:version="1.1">
		<wsdl:operation whttp:inputSerialization="application/*" ref="tns:echo" whttp:method="GET" />
	</wsdl:binding>


	<wsdl:service name="EchoService" interface="tns:EchoInterface">
		<wsdl:documentation>The Echo service.</wsdl:documentation>
		<wsdl:endpoint name="EchoHTTPEndpoint"
			binding="tns:EchoHTTPBinding" whttp:authenticationType="basic"
			whttp:authenticationRealm="example.org Realm" />
	</wsdl:service>
	
</wsdl:description>

Received on Friday, 7 July 2006 15:05:39 UTC