2002/ws/desc/test-suite/documents/good/MessageTest-3G HTTPservice.wsdl,1.1,1.2

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

Modified Files:
	HTTPservice.wsdl 
Log Message:
Fixed typos and improved documentation, rewrite MessageTest-3G from scratch (still incomplete.)

Index: HTTPservice.wsdl
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/documents/good/MessageTest-3G/HTTPservice.wsdl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** HTTPservice.wsdl	1 Nov 2006 02:03:31 -0000	1.1
--- HTTPservice.wsdl	2 Nov 2006 15:42:25 -0000	1.2
***************
*** 6,12 ****
    <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 
--- 6,19 ----
    <documentation><![CDATA[
      This test is part of a set representing functionality manifesting changes in the
!     wire format of messages.  This testcase specificially exercises certain features available 
!     in the HTTP Binding, namely:
! todo safe      whttp:method and whttp:methodDefault
!       whttp:cookies
! todo      whttp:transferCoding and whttp:transferCodingDefault
! todo      whttp:code
! todo      whttp:header
!       whttp:authenticationScheme 
!       whttp:authenticationRealm
!       
      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 
***************
*** 16,20 ****
          Send - one-way operation sending arbitrary XML payload.
          GuaranteedFault - robust-one-way operation, defined to return a simple fault.
!   
    ]]></documentation>
  
--- 23,27 ----
          Send - one-way operation sending arbitrary XML payload.
          GuaranteedFault - robust-one-way operation, defined to return a simple fault.
!       
    ]]></documentation>
  
***************
*** 53,74 ****
    </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 />
--- 60,76 ----
    </interface>
  
!   <binding name="EchoHTTPBinding" type="http://www.w3.org/2006/01/wsdl/http"
!     whttp:cookies="true"
!     whttp:methodDefault="PUT">
      <documentation>
!       This binding tests the four HTTP methods, GET, PUT, POST, DELETE.
      </documentation>
      <fault ref="tns:EchoNameFault"/>
!     <operation ref="tns:EchoName" whttp:method="POST">
        <input/>
        <output/>
        <outfault ref="tns:EchoNameFault" />
      </operation>
!     <operation ref="tns:EchoNameExpectFault" whttp:method="DELETE">
        <input />
        <output />
***************
*** 76,168 ****
      </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>
--- 78,86 ----
      </operation>
      <operation ref="tns:Send"
!       whttp:method="GET">
        <input />
      </operation>
!     <operation ref="tns:GuaranteedFault">
        <input/>
        <outfault ref="tns:EchoNameFault" />
      </operation>
***************
*** 172,337 ****
      <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>
--- 90,99 ----
      <documentation>Exercise each endpoint in order.</documentation>
      <endpoint name="MessageTestHTTP" binding="tns:EchoHTTPBinding"
!       address="http://example.org/MessageTest-3G/endpoint-1"/>
!     <endpoint name="AuthenticMessageTestHTTP" binding="tns:EchoURLHTTPBinding"
!       address="http://example.org/MessageTest-3G/endpoint-2"
!       whttp:authenticationScheme="basic"
!       whttp:authenticationRealm="example.org Realm"/>
    </service>
  
  </description>

Received on Thursday, 2 November 2006 15:42:51 UTC