- From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 16 Nov 2006 17:09:22 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/bad/BindingFaultReference-2B In directory hutz:/tmp/cvs-serv22457/test-suite/documents/bad/BindingFaultReference-2B Added Files: TestMetadata.xml BindingFaultReference.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/BindingFaultReference-2B </Identifier> <Title>Bad Document BindingFaultReference-2B</Title> <Purpose></Purpose> <Description></Description> <Status>accepted</Status> <SpecRef></SpecRef> <Preconditions>none</Preconditions> <Inputs> <Input role="root">BindingFaultReference.wsdl</Input> </Inputs> <ExpectedResults> <Successful>false</Successful> <ViolatesAssertion>MessageLabel-0007</ViolatesAssertion> <ViolatesAssertion>MessageLabel-0015</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#MessageLabel-0007</Reference> <Reference>http://www.w3.org/TR/wsdl20#MessageLabel-0015</Reference></SeeAlso> </TestMetadata> --- NEW FILE: BindingFaultReference.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 a WSDL 2.0 binding fault reference. The message label attribute must be present on the binding fault reference if the message exchange pattern contains more than one fault with the same direction. This document violates assertions MessageLabel-0007 and MessageLabel-0015. </wsdl:documentation> <wsdl:types> <xs:schema targetNamespace="http://example.org/"> <xs:element name="element" type="xs:string"/> </xs:schema> </wsdl:types> <wsdl:interface name="interface"> <wsdl:operation name="operation" pattern="http://www.example.org/wsdl/robust-in-only"> <wsdl:input messageLabel="In" element="tns:element" /> <wsdl:outfault messageLabel="Out" ref="tns:element"/> <wsdl:outfault messageLabel="Out2" ref="tns:element"/> </wsdl:operation> </wsdl:interface> <wsdl:binding name="binding" type="http://www.w3.org/2006/01/wsdl/http" interface="tns:interface"> <wsdl:operation ref="tns:operation"> <wsdl:outfault messageLabel="Out" ref="tns:Out"/> <wsdl:outfault ref="tns:Out2"/> </wsdl:operation> </wsdl:binding> </wsdl:description>
Received on Thursday, 16 November 2006 17:09:31 UTC