2002/ws/desc/test-suite/documents/good/MessageTest-4G SOAPservice.filename,NONE,1.1 SOAPservice.wsdl,NONE,1.1 TestMetadata.xml,NONE,1.1

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

Added Files:
	SOAPservice.filename SOAPservice.wsdl TestMetadata.xml 
Log Message:
Split SOAP Response-dependent operation out of MessageTest-1G into MessageTest-4G.

--- 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-4G
	</Identifier>
	<Title>Good Document</Title>
	<Purpose>For testing interoperability</Purpose>
	<Description>Exercise features bound to SOAP Response.</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>MessageTest-4G/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 is part of a set representing functionality manifesting changes in the
    wire format of messages.  This testcase specificially exercises the SOAP Response
    MEP and the safety attribute.
    
    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:
        EchoString2 - marked as safe, allowing alternate binding details
  
    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.
  ]]></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="echoString2" type="xsmt:stringStruct"/>
      <xs:element name="echoString2Return" type="xs:string"/>
      <xs:complexType name="stringStruct">
        <xs:sequence>
          <xs:element name="string" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>
    </xs:schema>
  </types>


  <interface name="ComplexEcho">
    <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>
  </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:
      - Response SOAP MEPs.
      - Test SOAP module on Binding Faults, Binding Operations, Binding Message References
        (both input and output), Binding Message Fault References, 
    </documentation>
    <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>
  </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>

  <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 realm}
    </documentation>
    <operation ref="tns:EchoString2" 
      wsoap:action="http://example.org/message-test/action/EchoString2"
      whttp:transferCodingDefault=""
      style="http://www.w3.org/2006/01/wsdl/style/iri">
      <input whttp:transferCoding="compress"/>
      <output whttp:transferCoding="compress"/>
    </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-1G/endpoint-1"/>
    <endpoint name="MessageTestGenericSOAP" binding="tns:GenericSOAPBinding"
      address="http://example.org/MessageTest-1G/endpoint-2"/>
    <endpoint name="MessageTestSOAPHTTP" binding="tns:ComplexEchoSOAPHTTPBinding"
      address="http://example.org/MessageTest-1G/endpoint-3"
      whttp:authenticationScheme="basic"
      whttp:authenticationRealm="example.org Realm"/>
  </service>
</description>

Received on Friday, 17 November 2006 16:59:38 UTC