- From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 02 Feb 2007 01:19:04 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/good/SOAPHeader-1G
In directory hutz:/tmp/cvs-serv8455/test-suite/documents/good/SOAPHeader-1G
Added Files:
SOAPservice.wsdl SOAPservice.filename TestMetadata.xml
TestHeader.xsd
Log Message:
Changed wsdl-xslt to match CR145 resolution. Updated baselines (Sparql*).
Checked in new testcase SOAPHeader-1G. Updated baselines.
Removed inappropriate infault and outfault elements from Echo-2G, added an infault/wsoap:module to complete test coverage results.
Fixed coverage.xsl summary (numbers listed as percentages were totals, adding up to more than 100%).
Regenerated all 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/SOAPHeader-1G
</Identifier>
<Title>Good Document SOAPHeader-1G</Title>
<Purpose>For testing SOAP extensions</Purpose>
<Description>Exercise wsoap:header with required="false".</Description>
<Status>accepted</Status>
<SpecRef></SpecRef>
<Preconditions>none</Preconditions>
<Inputs>
<Input role="root">SOAPservice.wsdl</Input>
<Input role="required-extension">http://www.w3.org/2006/01/wsdl/soap</Input>
</Inputs>
<ExpectedResults>
<Successful>true</Successful>
</ExpectedResults>
<Version>1.0</Version>
<Contributor>
<Name>John Kaputin</Name>
<Affiliation>IBM</Affiliation>
<EMail>kaputin@uk.ibm.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>SOAPHeader-1G/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:xsmt="http://example.org/message-test/xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tm="http://www.w3.org/2002/ws/desc/6/10/test-module">
<documentation><![CDATA[
This test checks that a wsoap:header element can be specified required="false".
]]></documentation>
<types>
<import xmlns="http://www.w3.org/2001/XMLSchema" schemaLocation="TestHeader.xsd"
namespace="http://www.w3.org/2002/ws/desc/6/10/test-module"/>
<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="echoString3" type="xs:string"/>
<xs:element name="echoString3Return" type="xs:string"/>
</xs:schema>
</types>
<interface name="SimpleEcho">
<documentation>This minimal interface defines four operations, to test bindings for input
messages, output messages, and fault messages.</documentation>
<operation name="EchoString3" 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:echoString3"/>
<output element="xsmt:echoString3Return"/>
</operation>
</interface>
<binding name="SimpleEchoSOAPBindingMU" interface="tns:SimpleEcho"
type="http://www.w3.org/2006/01/wsdl/soap" wsoap:version="1.2"
wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/">
<documentation> This binding tests the composition of soap modules specified at various levels. </documentation>
<operation ref="tns:EchoString3"
wsoap:action="http://example.org/message-test/action/EchoString3">
<input/>
<output>
<wsoap:header element="tm:TestSOAPHeader" required="false" mustUnderstand="true"/>
</output>
</operation>
</binding>
<binding name="SimpleEchoSOAPBinding" interface="tns:SimpleEcho"
type="http://www.w3.org/2006/01/wsdl/soap" wsoap:version="1.2"
wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/">
<documentation> This binding tests the composition of soap modules specified at various levels. </documentation>
<operation ref="tns:EchoString3"
wsoap:action="http://example.org/message-test/action/EchoString3">
<input/>
<output>
<wsoap:header element="tm:TestSOAPHeader" required="false"/>
</output>
</operation>
</binding>
<service name="SOAPHeaderService" interface="tns:SimpleEcho">
<documentation>Exercise each endpoint in order.</documentation>
<endpoint name="SOAPHeaderMustUnderstand" binding="tns:SimpleEchoSOAPBindingMU"
address="http://example.org/SOAPHeader-1G/endpoint-1"/>
<endpoint name="SOAPHeader" binding="tns:SimpleEchoSOAPBinding"
address="http://example.org/SOAPHeader-1G/endpoint-2"/>
</service>
</description>
--- NEW FILE: TestHeader.xsd ---
<xs:schema elementFormDefault="qualified" targetNamespace="http://www.w3.org/2002/ws/desc/6/10/test-module"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:test="http://www.w3.org/2002/ws/desc/6/10/test-module">
<xs:element name="TestSOAPHeader">
<xs:complexType>
<xs:complexContent>
<xs:restriction base="xs:anyType">
<xs:anyAttribute namespace='##other' processContents='lax' />
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:schema>
Received on Friday, 2 February 2007 01:19:15 UTC