- From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 16 Nov 2006 17:09:24 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/bad/Service-4B In directory hutz:/tmp/cvs-serv22457/test-suite/documents/bad/Service-4B Added Files: TestMetadata.xml Service.wsdl Log Message: Applied patch http://lists.w3.org/Archives/Public/www-ws-desc/2006Nov/0033.html. --- 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/Service-4B </Identifier> <Title>Bad Document Service-4B</Title> <Purpose></Purpose> <Description></Description> <Status>accepted</Status> <SpecRef></SpecRef> <Preconditions>none</Preconditions> <Inputs> <Input role="root">Service.wsdl</Input> </Inputs> <ExpectedResults> <Successful>false</Successful> <ViolatesAssertion>Endpoint-0066</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#Endpoint-0066</Reference></SeeAlso> </TestMetadata> --- NEW FILE: Service.wsdl --- <?xml version="1.0" encoding="UTF-8"?> <wsdl:description targetNamespace="http://example.org/Service" xmlns:tns="http://example.org/Service" xmlns:wsdl="http://www.w3.org/2006/01/wsdl" xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <wsdl:documentation> This test shows an invalid Service endpoint. The binding referenced by the endpoint must either specify no interface or specify the same interface as the service element. This document violates assertion Endpoint-0066. </wsdl:documentation> <wsdl:interface name="EchoInterface"> <wsdl:operation name="Echo" pattern="http://www.w3.org/2006/01/wsdl/in-out"> <wsdl:input element="#any" /> <wsdl:output element="#any" /> </wsdl:operation> </wsdl:interface> <wsdl:interface name="NotEchoInterface"> <wsdl:operation name="NotEcho" pattern="http://www.w3.org/2006/01/wsdl/in-only"> <wsdl:input element="#any" /> </wsdl:operation> </wsdl:interface> <wsdl:binding name="NotEchoSOAPBinding" type="http://www.w3.org/2006/01/wsdl/soap" wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/" interface="tns:NotEchoInterface"/> <wsdl:service name="EchoService" interface="tns:EchoInterface"> <wsdl:endpoint name="SOAPEndpoint" binding="tns:NotEchoSOAPBinding" /> </wsdl:service> </wsdl:description>
Received on Thursday, 16 November 2006 17:10:10 UTC