- From: Arthur Ryman via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 17 Nov 2006 10:11:26 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/bad/InterfaceFaultReference-2B In directory hutz:/tmp/cvs-serv12601/documents/bad/InterfaceFaultReference-2B Added Files: TestMetadata.xml InterfaceFaultReference.wsdl Log Message: committed patch from Lawrence Mandel: test-suite-20061117.patch --- 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/InterfaceFaultReference-2B </Identifier> <Title>Bad Document InterfaceFaultReference-2B</Title> <Purpose></Purpose> <Description></Description> <Status>accepted</Status> <SpecRef></SpecRef> <Preconditions>none</Preconditions> <Inputs> <Input role="root">InterfaceFaultReference.wsdl</Input> </Inputs> <ExpectedResults> <Successful>false</Successful> <ViolatesAssertion>InterfaceFaultReference-0045</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#InterfaceFaultReference-0045</Reference></SeeAlso> </TestMetadata> --- NEW FILE: InterfaceFaultReference.wsdl --- <?xml version="1.0" encoding="UTF-8"?> <wsdl:description targetNamespace="http://example.org/" xmlns:tns="http://example.org/" xmlns:wsdl="http://www.w3.org/2006/01/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <wsdl:documentation> This test shows a invalid use of WSDL 2.0 interface fault reference. The combination of the fault reference name and fault reference must be unique for the interface operation. This document violates assertion InterfaceFaultReference-0045. </wsdl:documentation> <wsdl:types> <xs:schema targetNamespace="http://example.org"> <xs:element name="myElement" type="xs:string" /> </xs:schema> </wsdl:types> <wsdl:interface name="myInterface"> <wsdl:operation name="myOperation" pattern="http://www.w3.org/2006/01/wsdl/robust-in-only"> <wsdl:input element="tns:myElement"/> <wsdl:outfault messageLabel="myOutFault" ref="tns:myFault"/> <wsdl:outfault messageLabel="myOutFault" ref="tns:myFault"/> </wsdl:operation> <wsdl:fault name="myFault" element="tns:myElement"></wsdl:fault> </wsdl:interface> </wsdl:description>
Received on Friday, 17 November 2006 10:11:33 UTC