- From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 01 Nov 2006 02:03:32 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/good/MessageTest-1G
In directory hutz:/tmp/cvs-serv7974/test-suite/documents/good/MessageTest-1G
Modified Files:
servicetypes.xsd TestMetadata.xml SOAPservice.wsdl
Log Message:
Fixed MessageTest-1G
Added MessageTest-2G
Added MessageTest-3G draft (under development)
Fixed interchange schema (no soap extensions when soap isn't the protocol.)
Reran results.
Index: TestMetadata.xml
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/documents/good/MessageTest-1G/TestMetadata.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** TestMetadata.xml 31 Oct 2006 07:10:29 -0000 1.2
--- TestMetadata.xml 1 Nov 2006 02:03:30 -0000 1.3
***************
*** 6,10 ****
<Title>Good Document</Title>
<Purpose>For testing interoperability</Purpose>
! <Description>Exercise all the component-model-level features for purposes of exchanging messages</Description>
<Status>accepted</Status>
<SpecRef></SpecRef>
--- 6,10 ----
<Title>Good Document</Title>
<Purpose>For testing interoperability</Purpose>
! <Description>Exercise all the component-model-level features for purposes of exchanging messages with the SOAP Binding.</Description>
<Status>accepted</Status>
<SpecRef></SpecRef>
Index: servicetypes.xsd
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/documents/good/MessageTest-1G/servicetypes.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** servicetypes.xsd 28 Oct 2006 00:24:39 -0000 1.1
--- servicetypes.xsd 1 Nov 2006 02:03:30 -0000 1.2
***************
*** 8,12 ****
<xs:element name="echoString3" type="xs:string"/>
<xs:element name="echoString3Return" type="xs:string"/>
! <xs:element name="echoInt" type="xs:int"/>
<xs:element name="echoIntReturn" type="xs:int"/>
<xs:element name="echoInt2" type="xs:int"/>
--- 8,17 ----
<xs:element name="echoString3" type="xs:string"/>
<xs:element name="echoString3Return" type="xs:string"/>
! <xs:element name="EchoInt" type="xsmt:intStruct"/>
! <xs:complexType name="intStruct">
! <xs:sequence>
! <xs:element name="int" type="xs:int"/>
! </xs:sequence>
! </xs:complexType>
<xs:element name="echoIntReturn" type="xs:int"/>
<xs:element name="echoInt2" type="xs:int"/>
Index: SOAPservice.wsdl
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** SOAPservice.wsdl 31 Oct 2006 07:10:29 -0000 1.2
--- SOAPservice.wsdl 1 Nov 2006 02:03:30 -0000 1.3
***************
*** 2,12 ****
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:xsmt="http://example.org/message-test/xsd">
<documentation><![CDATA[
This test is part of a set representing functionality manifesting changes in the
! wire format of messages. To simplify validation of the results, 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. Namely:
EchoString - simple string echoing in-out operation.
EchoStringFault - simple sting echoing in-out operation, but defined to return a fault.
--- 2,15 ----
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">
<documentation><![CDATA[
This test is part of a set representing functionality manifesting changes in the
! wire format of messages. This testcase specificially exercises the SOAP Binding,
! including HTTP extensions to the SOAP Binding.
!
! 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.
***************
*** 18,27 ****
GuaranteedFault - robust-one-way operation, defined to return a simple fault.
! This test scenario defines the following extensions, which must be supported by the
! implementation.
! - A test 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 header. Identified by the QName tm:TestSOAPHeader where
xmlns:tm="http://www.w3.org/2002/ws/desc/6/10/test-module", this empty header is inserted
when required by the wsdl.
--- 21,30 ----
GuaranteedFault - robust-one-way operation, defined to return a simple fault.
! This test scenario defines the following extensions, which are necessary to the test framework
! to verify facilities not testable without them.
! - 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 header. Identified by the QName tm:TestSOAPHeader where
xmlns:tm="http://www.w3.org/2002/ws/desc/6/10/test-module", this empty header is inserted
when required by the wsdl.
***************
*** 30,34 ****
<types>
<import xmlns="http://www.w3.org/2001/XMLSchema" schemaLocation="servicetypes.xsd"
! namespace="http://example.org/messate-test/xsd"/>
</types>
--- 33,37 ----
<types>
<import xmlns="http://www.w3.org/2001/XMLSchema" schemaLocation="servicetypes.xsd"
! namespace="http://example.org/message-test/xsd"/>
</types>
***************
*** 67,74 ****
<output element="xsmt:echoString2Return"/>
</operation>
! <operation name="EchoInt" pattern="http://www.w3.org/2006/01/wsdl/in-out">
<documentation>This operation returns the same int it is given. This operation is
intended to succeed - no fault should be thrown.</documentation>
! <input element="xsmt:echoInt"/>
<output element="xsmt:echoIntReturn"/>
<outfault ref="tns:MessageTestSimpleFault"/>
--- 70,78 ----
<output element="xsmt:echoString2Return"/>
</operation>
! <operation name="EchoInt" pattern="http://www.w3.org/2006/01/wsdl/in-out"
! style="http://www.w3.org/2006/01/wsdl/style/iri">
<documentation>This operation returns the same int it is given. This operation is
intended to succeed - no fault should be thrown.</documentation>
! <input element="xsmt:EchoInt"/>
<output element="xsmt:echoIntReturn"/>
<outfault ref="tns:MessageTestSimpleFault"/>
***************
*** 207,216 ****
</binding>
<service name="MessageTestService" interface="tns:ComplexEcho">
<documentation>Exercise each endpoint in order.</documentation>
<endpoint name="MessageTestSOAP" binding="tns:ComplexEchoSOAPBinding"
! address="implementation-specific"/>
<endpoint name="MessageTestGenericSOAP" binding="tns:GenericSOAPBinding"
! address="implementation-specific"/>
</service>
</description>
--- 211,305 ----
</binding>
+ <binding name="ComplexEchoSOAPHTTPBinding" interface="tns:ComplexEcho"
+ type="http://www.w3.org/2006/01/wsdl/soap" wsoap:version="1.2"
+ wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/"
+ whttp:cookies="true" whttp:transferCodingDefault="compress">
+ <documentation>
+ This SOAP 1.2/HTTP binding binds the ComplexEcho service while exercising the
+ following facilities of the SOAP binding:
+ - {http location}
+ - {http headers}
+ - {http transfer coding default}
+ - {http transfer coding}
+ - {http cookies}
+ - {http authentication scheme}
+ - {http authentication relam}
+ </documentation>
+ <fault ref="tns:MessageTestSimpleFault"/>
+ <fault ref="tns:MessageTestFault">
+ <whttp:header name="X-WSDL-testsuite-fault" type="xs:string"/>
+ </fault>
+ <operation ref="tns:EchoString"
+ wsoap:action="http://example.org/message-test/action/EchoString">
+ <input>
+ <whttp:header name="X-WSDL-testsuite-input" type="xs:string"/>
+ </input>
+ <output>
+ <whttp:header name="X-WSDL-testsuite-output" type="xs:string"/>
+ </output>
+ </operation>
+ <operation ref="tns:EchoStringFault"
+ wsoap:action="http://example.org/message-test/action/EchoStringFault"
+ whttp:transferCodingDefault="">
+ <input>
+ </input>
+ <output/>
+ <outfault ref="tns:MessageTestSimpleFault"/>
+ </operation>
+ <operation ref="tns:EchoString2"
+ wsoap:action="http://example.org/message-test/action/EchoString2"
+ whttp:transferCodingDefault="">
+ <input whttp:transferCoding="compress"/>
+ <output whttp:transferCoding="compress"/>
+ </operation>
+ <operation ref="tns:EchoInt"
+ wsoap:action="http://example.org/message-test/action/EchoInt"
+ whttp:location="?op=EchoInt;int={int};">
+ <input whttp:transferCoding=""/>
+ <output whttp:transferCoding=""/>
+ <outfault ref="tns:MessageTestSimpleFault"/>
+ <outfault ref="tns:MessageTestFault"/>
+ </operation>
+ <operation ref="tns:EchoIntSimpleFault"
+ wsoap:action="http://example.org/message-test/action/EchoIntSimpleFault"
+ whttp:transferCodingDefault="" whttp:location="?op=EchoIntSimpleFault">
+ <input/>
+ <output/>
+ <outfault ref="tns:MessageTestSimpleFault">
+ </outfault>
+ <outfault ref="tns:MessageTestFault">
+ </outfault>
+ </operation>
+ <operation ref="tns:EchoIntFault"
+ wsoap:action="http://example.org/message-test/action/EchoIntFault"
+ whttp:transferCodingDefault="" whttp:location="?op=EchoIntFault">
+ <input/>
+ <output/>
+ <outfault ref="tns:MessageTestSimpleFault"/>
+ <outfault ref="tns:MessageTestFault"/>
+ </operation>
+ <operation ref="tns:Send"
+ wsoap:action="http://example.org/message-test/action/Send"
+ whttp:transferCodingDefault="" whttp:location="?op=Send">
+ <input/>
+ </operation>
+ <operation ref="tns:GuaranteedFault"
+ wsoap:action="http://example.org/message-test/action/GuaranteedFault"
+ whttp:transferCodingDefault="" whttp:location="?op=GuaranteedFault">
+ <input/>
+ <outfault ref="tns:MessageTestSimpleFault"/>
+ </operation>
+ </binding>
+
<service name="MessageTestService" interface="tns:ComplexEcho">
<documentation>Exercise each endpoint in order.</documentation>
<endpoint name="MessageTestSOAP" binding="tns:ComplexEchoSOAPBinding"
! address="http://example.org/MessageTest-2G/endpoint-1"/>
<endpoint name="MessageTestGenericSOAP" binding="tns:GenericSOAPBinding"
! address="http://example.org/MessageTest-2G/endpoint-2"/>
! <endpoint name="MessageTestSOAPHTTP" binding="tns:ComplexEchoSOAPHTTPBinding"
! address="http://example.org/MessageTest-2G/endpoint-3"
! whttp:authenticationScheme="basic"
! whttp:authenticationRealm="example.org Realm"/>
</service>
</description>
Received on Wednesday, 1 November 2006 02:03:52 UTC