- From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 18 Nov 2006 13:23:00 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/good/ModuleComposition-1G In directory hutz:/tmp/cvs-serv29256/test-suite/documents/good/ModuleComposition-1G Added Files: TestMetadata.xml SOAPservice.filename SOAPservice.wsdl Log Message: Added testcase ModuleComposition-1G. --- 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/good/ModuleComposition-1G </Identifier> <Title>Good Document</Title> <Purpose>For testing interoperability</Purpose> <Description>Test the composition of modules at different levels</Description> <Status>accepted</Status> <SpecRef></SpecRef> <Preconditions>none</Preconditions> <Inputs> <Input role="root">SOAPservice.wsdl</Input> </Inputs> <ExpectedResults> <Successful>true</Successful> </ExpectedResults> <Version>1.0</Version> <Contributor> <Name>Jonathan Marsh</Name> <Affiliation>WSO2</Affiliation> <EMail>jonathan@wso2.com</EMail> </Contributor> <Rights>http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231</Rights> <Grouping>/documents/good</Grouping> <SeeAlso><Reference>http://www.w3.org/TR/wsdl20</Reference></SeeAlso> </TestMetadata> --- NEW FILE: SOAPservice.filename --- <filename>ModuleComposition-1G/SOAPservice.wsdl</filename> --- NEW FILE: SOAPservice.wsdl --- <description xmlns="http://www.w3.org/2006/01/wsdl" targetNamespace="http://example.org/message-test" xmlns:tns="http://example.org/message-test" xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap" xmlns:wsdlx="http://www.w3.org/2006/01/wsdl-extensions" xmlns:whttp="http://www.w3.org/2006/01/wsdl/http" xmlns:xsmt="http://example.org/message-test/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> <documentation><![CDATA[ This test checks that modules at different levels are all correctly emitted on messages. When running a test pass against this WSDL, each endpoint should be invoked in order, and each operation within the interface bound by that binding should be invoked in the order it appears in the interface, extended interfaces first. Thus the order will be: EchoString - simple string echoing in-out operation. EchoStringFault - simple sting echoing in-out operation, but defined to return a fault. EchoInt - simple int echoing in-out operation. EchoIntSimpleFault - simple int echoing in-out operation, but defined to return a simple fault. EchoIntFault - simple int echoing in-out operation, but define to return a complex fault structure. Send - one-way operation sending arbitrary XML payload. GuaranteedFault - robust-one-way operation, defined to return a simple fault. This test scenario defines the following test SOAP modules, support for which is necessary if messages are to be tested. - A test SOAP module. Identified by the URI http://www.w3.org/2002/ws/desc/6/10/test-module, this module simply inserts an empty header in messages where the module is in effect. The header is of the form <module-test xmlns="http://www.w3.org/2002/ws/desc/6/10/test-module"/>. - A test SOAP module. Identified by the URI http://www.w3.org/2002/ws/desc/6/10/test-module-2, this module simply inserts an empty header in messages where the module is in effect. The header is of the form <module-test-2 xmlns="http://www.w3.org/2002/ws/desc/6/10/test-module-2"/>. - A test SOAP module. Identified by the URI http://www.w3.org/2002/ws/desc/6/10/test-module-3, this module simply inserts an empty header in messages where the module is in effect. The header is of the form <module-test-3 xmlns="http://www.w3.org/2002/ws/desc/6/10/test-module-3"/>. - A test SOAP module. Identified by the URI http://www.w3.org/2002/ws/desc/6/10/test-module-4, this module simply inserts an empty header in messages where the module is in effect. The header is of the form <module-test-4 xmlns="http://www.w3.org/2002/ws/desc/6/10/test-module-4"/>. ]]></documentation> <types> <xs:schema elementFormDefault="qualified" targetNamespace="http://example.org/message-test/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsmt="http://example.org/message-test/xsd"> <xs:element name="echoString" type="xs:string"/> <xs:element name="echoStringReturn" type="xs:string"/> <xs:element name="echoString2" type="xs:string"/> <xs:element name="echoString2Return" type="xs:string"/> <xs:element name="echoString3" type="xs:string"/> <xs:element name="echoString3Return" type="xs:string"/> <xs:element name="echoString4" type="xs:string"/> <xs:element name="echoString4Return" type="xs:string"/> <xs:element name="messageTestSimpleInFault" type="xs:string"/> <xs:element name="messageTestSimpleOutFault" type="xs:string"/> </xs:schema> </types> <interface name="SimpleEcho"> <documentation>This minimal interface defines four operations, to test bindings for input messages, output messages, and fault messages.</documentation> <fault name="MessageTestSimpleInFault" element="xsmt:messageTestSimpleInFault"> <documentation> This fault structure is populated with the operation name (local part only) when a fault is thrown - intende for infaults.</documentation> </fault> <fault name="MessageTestSimpleOutFault" element="xsmt:messageTestSimpleOutFault"> <documentation> This fault structure is populated with the operation name (local part only) when a fault is thrown - intended for outfaults.</documentation> </fault> <operation name="EchoString" pattern="http://www.w3.org/2006/01/wsdl/in-out"> <documentation>Simple echo service - pass in a string, get that string back.</documentation> <input element="xsmt:echoString"/> <output element="xsmt:echoStringReturn"/> </operation> <operation name="EchoString2" pattern="http://www.w3.org/2006/01/wsdl/in-out"> <documentation>Simple echo service - pass in a string, get that string back.</documentation> <input element="xsmt:echoString2"/> <output element="xsmt:echoString2Return"/> </operation> <operation name="EchoStringInFault" pattern="http://www.w3.org/2006/01/wsdl/in-out"> <documentation><![CDATA[ Operation is given a string, but is intended to fail - MessageTestSimpleInFault should be thrown with the messageTestSimpleInFault value <messageTestSimpleInFault>EchoStringInFault</messageTestSimpleInFault> ]]></documentation> <input element="xsmt:echoString3"/> <output element="xsmt:echoString3Return"/> <infault ref="tns:MessageTestSimpleInFault"/> <outfault ref="tns:MessageTestSimpleOutFault"/> </operation> <operation name="EchoStringOutFault" pattern="http://www.w3.org/2006/01/wsdl/in-out"> <documentation><![CDATA[ Operation is given a string, but is intended to be send an infault MessageTestSimpleOutFault should be thrown with the messageTestSimpleFault value <messageTestSimpleOutFault>EchoStringOutFault</messageTestSimpleOutFault> ]]></documentation> <input element="xsmt:echoString4"/> <output element="xsmt:echoString4Return"/> <infault ref="tns:MessageTestSimpleInFault"/> <outfault ref="tns:MessageTestSimpleOutFault"/> </operation> </interface> <binding name="SimpleEchoSOAPBinding" interface="tns:SimpleEcho" type="http://www.w3.org/2006/01/wsdl/soap" wsoap:version="1.2" wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/"> <documentation> This binding tests the composition of soap modules specified at various levels. </documentation> <wsoap:module required="true" ref="http://www.w3.org/2002/ws/desc/6/10/test-module-4"/> <fault ref="tns:MessageTestSimpleInFault"> <wsoap:module required="true" ref="http://www.w3.org/2002/ws/desc/6/10/test-module-3"/> </fault> <fault ref="tns:MessageTestSimpleOutFault"> <wsoap:module required="true" ref="http://www.w3.org/2002/ws/desc/6/10/test-module-3"/> </fault> <operation ref="tns:EchoString" wsoap:action="http://example.org/message-test/action/EchoString"> <wsoap:module required="true" ref="http://www.w3.org/2002/ws/desc/6/10/test-module-2"/> <input> <wsoap:module required="true" ref="http://www.w3.org/2002/ws/desc/6/10/test-module"/> </input> <output/> </operation> <operation ref="tns:EchoString2" wsoap:action="http://example.org/message-test/action/EchoString2"> <wsoap:module required="true" ref="http://www.w3.org/2002/ws/desc/6/10/test-module-2"/> <input/> <output> <wsoap:module required="true" ref="http://www.w3.org/2002/ws/desc/6/10/test-module"/> </output> </operation> <operation ref="tns:EchoStringInFault" wsoap:action="http://example.org/message-test/action/EchoStringFault"> <wsoap:module required="true" ref="http://www.w3.org/2002/ws/desc/6/10/test-module-2"/> <input/> <output/> <infault ref="tns:MessageTestSimpleInFault"> <wsoap:module required="true" ref="http://www.w3.org/2002/ws/desc/6/10/test-module"/> </infault> <outfault ref="tns:MessageTestSimpleOutFault"/> </operation> <operation ref="tns:EchoStringOutFault" wsoap:action="http://example.org/message-test/action/EchoStringFault"> <wsoap:module required="true" ref="http://www.w3.org/2002/ws/desc/6/10/test-module-2"/> <input/> <output/> <infault ref="tns:MessageTestSimpleInFault"/> <outfault ref="tns:MessageTestSimpleOutFault"> <wsoap:module required="true" ref="http://www.w3.org/2002/ws/desc/6/10/test-module"/> </outfault> </operation> </binding> <service name="ModuleCompositionService" interface="tns:SimpleEcho"> <documentation>Exercise each endpoint in order.</documentation> <endpoint name="ModuleCompositionSOAP" binding="tns:SimpleEchoSOAPBinding" address="http://example.org/ModuleComposition-1G/endpoint-1"/> </service> </description>
Received on Saturday, 18 November 2006 13:24:06 UTC