2002/ws/desc/test-suite/documents/bad/BindingMessageReference-2B TestMetadata.xml,NONE,1.1 BindingMessageReference.wsdl,NONE,1.1

Update of /sources/public/2002/ws/desc/test-suite/documents/bad/BindingMessageReference-2B
In directory hutz:/tmp/cvs-serv22457/test-suite/documents/bad/BindingMessageReference-2B

Added Files:
	TestMetadata.xml BindingMessageReference.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/BindingMessageReference-2B
	</Identifier>
	<Title>Bad Document BindingMessageReference-2B</Title>
	<Purpose></Purpose>
	<Description></Description>
	<Status>accepted</Status>
	<SpecRef></SpecRef>
	<Preconditions>none</Preconditions>
	<Inputs>
		<Input role="root">BindingMessageReference.wsdl</Input>
	</Inputs>
	<ExpectedResults>
		<Successful>false</Successful>
		<ViolatesAssertion>MessageLabel-0006</ViolatesAssertion>
		<ViolatesAssertion>MessageLabel-0014</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-0006</Reference>
	<Reference>http://www.w3.org/TR/wsdl20#MessageLabel-0014</Reference></SeeAlso>
</TestMetadata>

--- NEW FILE: BindingMessageReference.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
		message reference. The message label attribute must
		be present if the message exchange pattern has more
		than one placeholder message with the same direction.
		
		This document violates assertion 
		MessageLabel-0006.
	</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/in-in-only">
			<wsdl:input messageLabel="In"
				element="tns:element" />
			<wsdl:input messageLabel="In2"
				element="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:input messageLabel="In"/>
			<wsdl:input/>
		</wsdl:operation>
	</wsdl:binding>
</wsdl:description>

Received on Thursday, 16 November 2006 17:09:38 UTC