2002/ws/desc/test-suite/documents/good/MessageTest-1G SOAPservice.wsdl,NONE,1.1 TestMetadata.xml,NONE,1.1 servicetypes.xsd,NONE,1.1

Update of /sources/public/2002/ws/desc/test-suite/documents/good/MessageTest-1G
In directory hutz:/tmp/cvs-serv26977/test-suite/documents/good/MessageTest-1G

Added Files:
	SOAPservice.wsdl TestMetadata.xml servicetypes.xsd 
Log Message:
Message-Test-1G exercises the Core WSDL language and the SOAP binding sufficiently for generating message exchanges that can be verified.

Fixed soap binding URI bug in Echo.wsdl 

--- 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/MessageTest-1G
	</Identifier>
	<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>
	<Preconditions>none</Preconditions>
	<Inputs>
		<Input role="root">message-test.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: servicetypes.xsd ---
    <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="echoInt" type="xs:int"/>
      <xs:element name="echoIntReturn" type="xs:int"/>
      <xs:element name="echoInt2" type="xs:int"/>
      <xs:element name="echoInt2Return" type="xs:int"/>
      <xs:element name="echoInt3" type="xs:int"/>
      <xs:element name="echoInt3Return" type="xs:int"/>
      <xs:complexType name="IntFaultStruct">
        <xs:all>
          <xs:element name="faultNumber" type="xs:int"/>
          <xs:element name="faultOperationName" type="xs:string"/>
        </xs:all>
      </xs:complexType>
      <xs:element name="messageTestFault" type="xsmt:IntFaultStruct"/>
      <xs:element name="messageTestSimpleFault" type="xs:string"/>
      <xs:element name="TestSOAPHeader" type="xs:string"/>
    </xs:schema>

--- 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: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.
        EchoString2 - clone of EchoString, marked as safe, allowing alternate binding details
        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 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.
  ]]></documentation>

  <types>
    <import xmlns="http://www.w3.org/2001/XMLSchema" schemaLocation="servicetypes.xsd"
      namespace="http://example.org/messate-test/xsd"/>
  </types>

  <interface name="SimpleEcho">
    <documentation>This minimal interface defines a simplistic echo service, and associated fault.
    This interface is not directly bound, but is extended by another interface.</documentation>
    <fault name="MessageTestSimpleFault" element="xsmt:echoSimpleFault">
      <documentation>This fault structure is populated with the operation name (local part only)
        when a fault is thrown.</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="EchoStringFault" pattern="http://www.w3.org/2006/01/wsdl/in-out">
      <documentation><![CDATA[Operation is given a string, but is intended to fail - 
        MessageTestSimpleFault should be thrown with the messageTestSimpleFault value
          <messageTestSimpleFault>EchoStringFault</messageTestSimpleFault>
      ]]></documentation>
      <input element="xsmt:echoString3"/>
      <output element="xsmt:echoString3Return"/>
      <outfault ref="tns:MessageTestSimpleFault"/>
    </operation>
  </interface>

  <interface name="ComplexEcho" extends="tns:simpleEcho">
    <fault name="MessageTestFault" element="xsmt:messageTestFault">
      <documentation>This fault structure is populated with the operation name (local part only)
      and the integer input that caused the fault when a fault is thrown.</documentation>
    </fault>
    <operation name="EchoString2" pattern="http://www.w3.org/2006/01/wsdl/in-out" wsdlx:safe="true">
      <documentation>Simple echo service - pass in a string, get that string back.  Duplicate
      of EchoString allowing alternate binding parameters to be tested.</documentation>
      <input element="xsmt:echoString2"/>
      <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"/>
      <outfault ref="tns:MessageTestFault"/>
    </operation>
    <operation name="EchoIntSimpleFault" pattern="http://www.w3.org/2006/01/wsdl/in-out">
      <documentation><![CDATA[This operation is given an int, but is intended to fail - 
        MessageTestSimpleFault should be thrown with the messageTestSimpleFault value
          <messageTestSimpleFault>EchoIntSimpleFault</messageTestSimpleFault>
      ]]></documentation>
      <input element="xsmt:echoInt2"/>
      <output element="xsmt:echoInt2Return"/>
      <outfault ref="tns:MessageTestSimpleFault"/>
      <outfault ref="tns:MessageTestFault"/>
    </operation>
    <operation name="EchoIntFault" pattern="http://www.w3.org/2006/01/wsdl/in-out">
      <documentation><![CDATA[This operation is given an int, but is  intended to fail - 
        MessageTestFault should be thrown with the messageTestFault:
          <messageTestFault>
            <faultNumber>{input int}</faultNumber>
            <faultOperationName>EchoIntFault</faultOperationName>
          </messageTestFault>
      ]]></documentation> 
      <input element="xsmt:echoInt3"/>
      <output element="xsmt:echoInt3Return"/>
      <outfault ref="tns:MessageTestSimpleFault"/>
      <outfault ref="tns:MessageTestFault"/>
    </operation>
    <operation name="Send" pattern="http://www.w3.org/2006/01/wsdl/in-only">
      <documentation>Fire and forget any xml structure.</documentation>
      <input element="#any"/>
    </operation>
    <operation name="GuaranteedFault" pattern="http://www.w3.org/2006/01/wsdl/robust-in-only">
      <documentation><![CDATA[This operation is invoked with no SOAP body content.  It is intended to fail - 
        MessageTestSimpleFault should be thrown with the value:
          <messageTestSimpleFault>GuaranteedFault</messageTestSimpleFault>
      ]]></documentation>
      <input element="#none"/>
      <outfault ref="tns:MessageTestSimpleFault"/>
    </operation>
  </interface>

  <binding name="ComplexEchoSOAPBinding" 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/"
    wsoap:mepDefault="http://www.w3.org/2003/05/soap/mep/request-response/">
    <documentation>
      This SOAP 1.2/HTTP binding binds the ComplexEcho service while exercising the 
      following facilities of the SOAP binding:
      - Request-response and Response SOAP MEPs.
      - SOAP fault codes and list of subcodes
      - Unique SOAP Action for each operation
      - Test SOAP module on Binding Faults, Binding Operations, Binding Message References
        (both input and output), Binding Message Fault References, 
      - Test SOAP headers on Binding Faults and Binding Message References
      - SOAP Header mustUnderstand values.
    </documentation>
    <fault ref="tns:MessageTestSimpleFault"
      wsoap:code="tns:MessageTestSimpleFaultCode"
      wsoap:subcodes="tns:MessageTestSimpleFaultSubcode1 tns:MessageTestSimpleFaultSubcode2"/>
    <fault ref="tns:MessageTestFault" wsoap:code="#any">
      <wsoap:module ref="http://www.w3.org/2002/ws/desc/6/10/test-module"/>
    </fault>
    <operation ref="tns:EchoString"
      wsoap:action="http://example.org/message-test/action/EchoString">
      <wsoap:module ref="http://www.w3.org/2002/ws/desc/6/10/test-module"/>
      <input/>
      <output/>
    </operation>
    <operation ref="tns:EchoStringFault"
      wsoap:action="http://example.org/message-test/action/EchoStringFault">
      <input>
        <wsoap:module ref="http://www.w3.org/2002/ws/desc/6/10/test-module"/>        
      </input>
      <output/>
      <outfault ref="tns:MessageTestSimpleFault"/>
    </operation>
    <operation ref="tns:EchoString2" 
      wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"
      wsoap:action="http://example.org/message-test/action/EchoString2">
      <input/>
      <output>
        <wsoap:module ref="http://www.w3.org/2002/ws/desc/6/10/test-module"/>
      </output>
    </operation>
    <operation ref="tns:EchoInt"
      wsoap:action="http://example.org/message-test/action/EchoInt">
      <input/>
      <output/>
      <outfault ref="tns:MessageTestSimpleFault"/>
      <outfault ref="tns:MessageTestFault"/>
    </operation>
    <operation ref="tns:EchoIntSimpleFault"
      wsoap:action="http://example.org/message-test/action/EchoIntSimpleFault">
      <input/>
      <output/>
      <outfault ref="tns:MessageTestSimpleFault">
        <wsoap:module ref="http://www.w3.org/2002/ws/desc/6/10/test-module"/>        
      </outfault>
      <outfault ref="tns:MessageTestFault">
        <wsoap:module ref="http://www.w3.org/2002/ws/desc/6/10/test-module"/>        
      </outfault>
    </operation>
    <operation ref="tns:EchoIntFault"
      wsoap:action="http://example.org/message-test/action/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">
      <wsoap:header element="tm:TestSOAPHeader" required="true"
        xmlns:tm="http://www.w3.org/2002/ws/desc/6/10/test-module"/>
      <input/>
    </operation>
    <operation ref="tns:GuaranteedFault"
      wsoap:action="http://example.org/message-test/action/GuaranteedFault">
      <wsoap:header element="tm:TestSOAPHeader" mustUnderstand="true" required="true"
        xmlns:tm="http://www.w3.org/2002/ws/desc/6/10/test-module"/>
      <input/>
      <outfault ref="tns:MessageTestSimpleFault"/>
    </operation>
  </binding>

  <binding name="GenericSOAPBinding" 
    type="http://www.w3.org/2006/01/wsdl/soap" wsoap:version="1.2"
    wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/"
    wsoap:mepDefault="http://www.w3.org/2003/05/soap/mep/request-response/">
    <documentation>
      This SOAP 1.2/HTTP binding is generic to any interface.  The only constraint 
      it imposes is the engagement of the http://www.w3.org/2002/ws/desc/6/10/test-module
      module over the whole binding.  All other binding details are defaulted.
    </documentation>
    <wsoap:module ref="http://www.w3.org/2002/ws/desc/6/10/test-module"/>
  </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>

Received on Saturday, 28 October 2006 00:24:55 UTC