- From: Philippe Le Hegaret via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 06 Jul 2006 20:34:19 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/bad/HTTPBinding-2B In directory hutz:/tmp/cvs-serv23808/test-suite/documents/bad/HTTPBinding-2B Added Files: TestMetadata.xml Echo.wsdl Log Message: New test --- 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-2B </Identifier> <Title>Bad Document HTTPBinding-2B</Title> <Purpose>Illustrates the HTTP assertion HTTPBindingFault-2606003.</Purpose> <Description>The fault definition SHOULD agree with the definition of the HTTP error codes, as specified in section 8 of IETF RFC 3205.</Description> <Status>accepted</Status> <SpecRef></SpecRef> <Preconditions>none</Preconditions> <Inputs>Echo.wsdl</Inputs> <ExpectedResults> <Successful>false</Successful> <ViolatesAssertion>HTTPBindingFault-2606003</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:element name="EchoFault" 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:fault element="tns:EchoFault" /> </wsdl:interface> <wsdl:binding name="EchoHTTPBinding" interface="tns:EchoInterface" type="http://www.w3.org/2006/01/wsdl/http" whttp:version="1.1"> <wsdl:operation ref="tns:echo" whttp:method="GET" /> <wsdl:fault ref="tns:EchoFault" whttp:code="4000004"/> </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 Thursday, 6 July 2006 20:34:23 UTC