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

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

Added Files:
	HTTPservice.wsdl servicetypes.xsd TestMetadata.xml 
	HTTPservice.filename 
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.

--- 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-3G
	</Identifier>
	<Title>Good Document</Title>
	<Purpose>For testing interoperability</Purpose>
	<Description>Exercise the component-model-level features of the HTTP binding.</Description>
	<Status>accepted</Status>
	<SpecRef></SpecRef>
	<Preconditions>none</Preconditions>
	<Inputs>
		<Input role="root">HTTPService.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="EchoName" type="xsmt:EchoStructType"/>
      <xs:complexType name="EchoStructType">
        <xs:sequence>
          <xs:element name="FirstName" type="xs:string"/>
          <xs:element name="MiddleName" type="xs:string"/>
          <xs:element name="LastName" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>

      <xs:element name="EchoNameFault" type="xsmt:FaultStructType"/>
      <xs:complexType name="FaultStructType">
        <xs:sequence>
          <xs:element name="Fault" type="xs:string"/>
          <xs:element name="FirstName" type="xs:string"/>
          <xs:element name="MiddleName" type="xs:string"/>
          <xs:element name="LastName" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>
      
      
      <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="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"/>
      <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="TestSOAPHeader" type="xs:string"/>
    </xs:schema>

--- NEW FILE: HTTPservice.filename ---
<filename>MessageTest-3G/HTTPservice.wsdl</filename>

--- NEW FILE: HTTPservice.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:whttp="http://www.w3.org/2006/01/wsdl/http" 
    xmlns:xsmt="http://example.org/message-test/xsd" xmlns:wsdlx="http://www.w3.org/2006/01/wsdl-extensions">

  <documentation><![CDATA[
    This test is part of a set representing functionality manifesting changes in the
    wire format of messages.  This testcase specificially exercises the various serializations
    and URI templating features available in the HTTP 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:
        EchoName - simple structure echoing in-out operation.
        EchoNameExpectFault - simple structure echoing in-out operation, but defined to return a fault.
        Send - one-way operation sending arbitrary XML payload.
        GuaranteedFault - robust-one-way operation, defined to return a simple fault.
  
  ]]></documentation>

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

  <interface name="Echo">
    <fault name="EchoNameFault" element="xsmt:EchoNameFault"></fault>
    <operation name="EchoName" pattern="http://www.w3.org/2006/01/wsdl/in-out"
      style="http://www.w3.org/2006/01/wsdl/style/iri http://www.w3.org/2006/01/wsdl/style/multipart">
      <documentation>Invoke this operation with an EchoName element, and recieve the same EchoName element back.</documentation>
      <input element="xsmt:EchoName"/>
      <output element="xsmt:EchoName"/>
      <outfault ref="tns:EchoNameFault"/>
    </operation>
    <operation name="EchoNameExpectFault" pattern="http://www.w3.org/2006/01/wsdl/in-out"
      style="http://www.w3.org/2006/01/wsdl/style/iri">
      <documentation>Invoke this operation with an EchoName element, and recieve an EchoNameFault back, 
        with the text "rejected" and the first, middle and last names from the input message.</documentation>
      <input element="xsmt:EchoName"/>
      <output element="xsmt:EchoName"/>
      <outfault ref="tns:EchoNameFault"/>
    </operation>
    <operation name="Send" pattern="http://www.w3.org/2006/01/wsdl/in-only">
      <documentation>Invoke this operation with any XML payload.</documentation>
      <input element="#any"/>
    </operation>
    <operation name="GuaranteedFault" pattern="http://www.w3.org/2006/01/wsdl/robust-in-only">
      <documentation>Invoke this operation no input, and receive back an EchoNameFault, with the text
      "default" and some random first, middle, and last name information.</documentation>
      <input element="#none"/>
      <outfault ref="tns:EchoNameFault"/>
    </operation>
  </interface>

  <binding name="EchoHTTPBinding" type="http://www.w3.org/2006/01/wsdl/http">
    <documentation>
      This binding tests inputSerialization="application/xml" and
      [output|fault]Serialization="application/xml"
    </documentation>
    <fault ref="tns:EchoNameFault"/>
    <operation ref="tns:EchoName" whttp:location="?first={FirstName};middle={MiddleName};last={LastName}"
      whttp:inputSerialization="application/xml"
      whttp:outputSerialization="application/xml"
      whttp:faultSerialization="application/xml">
      <input/>
      <output/>
      <outfault ref="tns:EchoNameFault" />
    </operation>
    <operation ref="tns:EchoNameExpectFault" whttp:location="?expected=fault"
      whttp:inputSerialization="application/xml"
      whttp:outputSerialization="application/xml"
      whttp:faultSerialization="application/xml">
      <input />
      <output />
      <outfault ref="tns:EchoNameFault" />
    </operation>
    <operation ref="tns:Send"
      whttp:inputSerialization="application/xml">
      <input />
      <output />
      <outfault ref="tns:EchoNameFault" />
    </operation>
    <operation ref="tns:GuaranteedFault"
      whttp:inputSerialization="application/xml"
      whttp:faultSerialization="application/xml">
      <input/>
      <output/>
      <outfault ref="tns:EchoNameFault" />
    </operation>
  </binding>
  
  <binding name="EchoURLHTTPBinding" type="http://www.w3.org/2006/01/wsdl/http"
    whttp:queryParameterSeparatorDefault=";">
    <documentation>
      This binding tests inputSerialization="x-www-form-urlencoded" and 
      [output|fault]Serialization="application/echo+xml"
    </documentation>
    <fault ref="tns:EchoNameFault"/>
    <operation ref="tns:EchoName" whttp:location="?first={FirstName};last={LastName}"
      whttp:ignoreUncited="true"
      whttp:inputSerialization="application/x-www-form-urlencoded"
      whttp:outputSerialization="application/echo+xml"
      whttp:faultSerialization="application/echo+xml">
      <input/>
      <output/>
      <outfault ref="tns:EchoNameFault"/>
    </operation>
    <operation ref="tns:EchoNameExpectFault" whttp:location="?first={FirstName}"
      whttp:querySeparatorParameter="&amp;"
      whttp:inputSerialization="application/x-www-form-urlencoded"
      whttp:outputSerialization="application/echo+xml"
      whttp:faultSerialization="application/echo+xml">
      <input/>
      <output/>
      <outfault ref="tns:EchoNameFault"/>
    </operation>
    <operation ref="tns:Send"
      whttp:inputSerialization="application/xml">
      <input/>
      <output/>
      <outfault ref="tns:EchoNameFault"/>
    </operation>
    <operation ref="tns:GuaranteedFault"
      whttp:inputSerialization="application/x-www-form-urlencoded"
      whttp:faultSerialization="application/xml">
      <input/>
      <output/>
      <outfault ref="tns:EchoNameFault" />
    </operation>
  </binding>

  <binding name="EchoMultipartHTTPBinding" type="http://www.w3.org/2006/01/wsdl/http"
    whttp:queryParameterSeparatorDefault=";">
    <documentation>
      This binding tests inputSerialization="multipart/form-data" and 
      [output|fault]Serialization="application/xml"
    </documentation>
    <fault ref="tns:EchoNameFault"/>
    <operation ref="tns:EchoName" whttp:location="?first={FirstName};middle={MiddleName};last={LastName}"
      whttp:ignoreUncited="true"
      whttp:inputSerialization="multipart/form-data"
      whttp:outputSerialization="application/xml"
      whttp:faultSerialization="application/xml">
      <input />
      <output />
      <outfault ref="tns:EchoNameFault" />
    </operation>
    <operation ref="tns:EchoNameExpectFault"
      whttp:inputSerialization="multipart/form-data"
      whttp:outputSerialization="application/xml"
      whttp:faultSerialization="application/xml">
      <input />
      <output />
      <outfault ref="tns:EchoNameFault" />
    </operation>
    <operation ref="tns:Send"
      whttp:inputSerialization="application/xml">
      <input />
      <output />
      <outfault ref="tns:EchoNameFault" />
    </operation>
    <operation ref="tns:GuaranteedFault"
      whttp:inputSerialization="multipart/form-data"
      whttp:faultSerialization="application/xml">
      <input />
      <output />
      <outfault ref="tns:EchoNameFault" />
    </operation>
  </binding>
  
  <service name="MessageTestService" interface="tns:Echo">
    <documentation>Exercise each endpoint in order.</documentation>
    <endpoint name="MessageTestHTTP" binding="tns:EchoHTTPBinding"
      address="http://example.org/MessageTest-2G/endpoint-1"/>
    <endpoint name="MessageTestURLHTTP" binding="tns:EchoURLHTTPBinding"
      address="http://example.org/MessageTest-2G/endpoint-2"/>
    <endpoint name="MessageTestMultipartHTTP" binding="tns:EchoMultipartHTTPBinding"
      address="http://example.org/MessageTest-2G/endpoint-3"/>
  </service>

  <!-- 
  <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="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="ComplexEchoHTTPBinding" interface="tns:ComplexEcho"
    type="http://www.w3.org/2006/01/wsdl/http"
    whttp:methodDefault="POST">
    <documentation>
      This HTTP binding binds the ComplexEcho service while exercising the 
      following facilities of the HTTP binding:
      - whttp:method / whttp:methodDefault (on operation, not on Binding)
      - whttp:transferCoding / whttp:transferCodingDefault (on operation, not on Binding)
      - whttp:inputSerialization, whttp:outputSerialization, whttp:faultSerialization = 
        application/x-www-form-urlencoded
      
    </documentation>
    <fault ref="tns:MessageTestSimpleFault"
      wsoap:code="tns:MessageTestSimpleFaultCode"
      wsoap:subcodes="tns:MessageTestSimpleFaultSubcode1 tns:MessageTestSimpleFaultSubcode2"/>
    <fault ref="tns:MessageTestFault" wsoap:code="#any">
      <whttp:header name="X-test" type="xs:string"/>
    </fault>
    <operation ref="tns:EchoString"
      whttp:method="GET"
      whttp:transferCodingDefault="chunked"
      whttp:inputSerialization="application/x-www-form-urlencoded"
      whttp:outputSerialization="application/x-www-form-urlencoded"
      whttp:faultSerialization="application/x-www-form-urlencoded">
      <input/>
      <output/>
    </operation>
    <operation ref="tns:EchoStringFault"
      whttp:inputSerialization="application/x-www-form-urlencoded"
      whttp:outputSerialization="application/x-www-form-urlencoded"
      whttp:faultSerialization="application/x-www-form-urlencoded">
      <input>
	      <whttp:header name="X-test" type="xs:string"/>
      </input>
      <output/>
      <outfault ref="tns:MessageTestSimpleFault" whttp:transferCoding="chunked"/>
    </operation>
    <operation ref="tns:EchoString2"
      whttp:inputSerialization="application/x-www-form-urlencoded"
      whttp:outputSerialization="application/x-www-form-urlencoded"
      whttp:faultSerialization="application/x-www-form-urlencoded">
      <input whttp:transferCoding="chunked"/>
      <output whttp:transferCoding="chunked"/>
    </operation>
    <operation ref="tns:Send"
      whttp:inputSerialization="application/x-www-form-urlencoded"
      whttp:outputSerialization="application/x-www-form-urlencoded"
      whttp:faultSerialization="application/x-www-form-urlencoded">
        <whttp:header name="X-test" type="xs:string"/>
      <input/>
    </operation>
    <operation ref="tns:GuaranteedFault"
      whttp:inputSerialization="application/x-www-form-urlencoded"
      whttp:outputSerialization="application/x-www-form-urlencoded"
      whttp:faultSerialization="application/x-www-form-urlencoded">
      <input/>
      <outfault ref="tns:MessageTestSimpleFault">
      	<whttp:header name="X-test" type="xs:string"/>
      </outfault>
    </operation>
  </binding>

whttp:inputSerialization="multipart/form-data"
whttp:outputSerialization="multipart/form-data"
whttp:faultSerialization="multipart/form-data"
whttp:inputSerialization="application/xml"
whttp:outputSerialization="application/xml"
whttp:faultSerialization="application/xml"
whttp:inputSerialization="text/xml"
whttp:outputSerialization="text/xml"
whttp:faultSerialization="text/xml"

  <binding name="GenericSafeHTTPBinding" 
    type="http://www.w3.org/2006/01/wsdl/http" whttp:safe="true">
    <documentation>
      This HTTP binding is generic to any interface.  It enforces the following constraints on
      all operations in the interface:
      - safe = "true"
      
      All other binding details are defaulted.
    </documentation>
    <wsoap:module ref="http://www.w3.org/2002/ws/desc/6/10/test-module"/>
  </binding>

  <binding name="GenericHTTPBinding" 
    type="http://www.w3.org/2006/01/wsdl/http" whttp:methodDefault="GET"
    whttp:transferCodingDefault="chunked">
    <documentation>
      This HTTP binding is generic to any interface.  It enforces the following constraints on
      all operations in the interface:
      - methodDefault="GET"
      - httpTransferCodingDefault="chunked"      
      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="MessageTestHTTP" binding="tns:ComplexEchoHTTPBinding"
      address="implementation-specific"/>
    <endpoint name="MessageTestGenericHTTP" binding="tns:GenericSafeHTTPBinding"
      address="implementation-specific"/>
    <endpoint name="MessageTestGenericHTTP" binding="tns:GenericHTTPBinding"
      address="implementation-specific"/>
  </service>
-->
</description>

Received on Wednesday, 1 November 2006 02:03:54 UTC