2002/ws/desc/test-suite/documents/bad/RPC-14B rpcstyleinout.wsdl,NONE,1.1 TestMetadata.xml,NONE,1.1

Update of /sources/public/2002/ws/desc/test-suite/documents/bad/RPC-14B
In directory hutz:/tmp/cvs-serv12403/test-suite/documents/bad/RPC-14B

Added Files:
	rpcstyleinout.wsdl TestMetadata.xml 
Log Message:
Applied patch from Lawrence Mandel.

--- 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/RPC-14B
	</Identifier>
	<Title>Bad Document RPC-14B</Title>
	<Purpose></Purpose>
	<Description></Description>
	<Status>accepted</Status>
	<SpecRef></SpecRef>
	<Preconditions>none</Preconditions>
	<Inputs>
		<Input role="root">rpcstyleinout.wsdl</Input>
	</Inputs>
	<ExpectedResults>
		<Successful>false</Successful>
		<ViolatesAssertion>RPCStyle-5016</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-adjuncts#RPCStyle-5016</Reference></SeeAlso>
</TestMetadata>

--- NEW FILE: rpcstyleinout.wsdl ---
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:description targetNamespace="http://example.org/"
	xmlns:wsdl="http://www.w3.org/2006/01/wsdl"
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:tns="http://example.org/"
	xmlns:s1="http://example.org/schema1"
	xmlns:s2="http://example.org/schema2">

	<wsdl:documentation>
		This test shows an invalid use of a WSDL 2.0 interface with rpc style
		and in-out MEP. The input and output elements are defined in 
		different namespaces.
	</wsdl:documentation>
	
	<wsdl:types>
		<xs:schema targetNamespace="http://example.org/schema1">
			<xs:element name="myOperation">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="element1" type="xs:string"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:schema>
		<xs:schema targetNamespace="http://example.org/schema2">
			<xs:element name="myOperation">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="element1" type="xs:string"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:schema>
	</wsdl:types>

	<wsdl:interface name="myInterface"
		styleDefault="http://www.w3.org/2006/01/wsdl/style/rpc">
		<wsdl:operation name="myOperation"
			pattern="http://www.w3.org/2006/01/wsdl/in-out">
			<wsdl:input messageLabel="In" element="s1:myOperation" />
			<wsdl:output messageLabel="Out" element="s2:myOperationOutput" />
		</wsdl:operation>
	</wsdl:interface>
</wsdl:description>

Received on Tuesday, 11 July 2006 22:26:37 UTC