- From: Arthur Ryman via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 17 Nov 2006 10:11:28 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/bad/Import-7B In directory hutz:/tmp/cvs-serv12601/documents/bad/Import-7B Added Files: TestMetadata.xml Echo.xsd EchoImpl.wsdl Log Message: committed patch from Lawrence Mandel: test-suite-20061117.patch --- NEW FILE: Echo.xsd --- <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/Echo" xmlns:tns="http://www.example.org/Echo" elementFormDefault="qualified"> <element name="parameter" type="string"/> </schema> --- 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/Import-7B </Identifier> <Title>Bad Document Import-7B</Title> <Purpose></Purpose> <Description></Description> <Status>accepted</Status> <SpecRef></SpecRef> <Preconditions>none</Preconditions> <Inputs> <Input role="root">EchoImpl.wsdl</Input> <Input>Echo.xsd</Input> </Inputs> <ExpectedResults> <Successful>false</Successful> <ViolatesAssertion>Import-0072</ViolatesAssertion> <ViolatesAssertion>Description-0024</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#Import-0072</Reference> <Reference>http://www.w3.org/TR/wsdl20#Description-0024</Reference></SeeAlso> </TestMetadata> --- NEW FILE: EchoImpl.wsdl --- <?xml version="1.0" encoding="UTF-8"?> <wsdl:description targetNamespace="http://example.org/EchoImpl" xmlns:tns="http://example.org/EchoImpl" xmlns:wsdl="http://www.w3.org/2006/01/wsdl" xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap"> <wsdl:documentation> This test shows an invalid use of a WSDL import. The wsdl:import element MUST reference a WSDL document. It cannot be used to import, amoung other document types, XML schema documents. This document violates assertion Import-0072. </wsdl:documentation> <wsdl:import namespace="http://example.org/Echo" location="Echo.xsd"/> <wsdl:interface name="EchoInterface"> <wsdl:operation name="echoOperation" pattern="http://www.w3.org/2006/01/wsdl/in-out"> <wsdl:input element="tns:parameter" /> <wsdl:output element="tns:parameter" /> </wsdl:operation> </wsdl:interface> <wsdl:binding name="EchoSOAPBinding" type="http://www.w3.org/2006/01/wsdl/soap" wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/" /> <wsdl:service name="EchoService" interface="tns:EchoInterface"> <wsdl:documentation>The Echo service.</wsdl:documentation> <wsdl:endpoint name="SOAPEndpoint" binding="tns:EchoSOAPBinding" /> </wsdl:service> </wsdl:description>
Received on Friday, 17 November 2006 10:11:58 UTC