- From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 30 Nov 2006 21:58:56 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/bad/Echo-2B
In directory hutz:/tmp/cvs-serv29096/test-suite/documents/bad/Echo-2B
Added Files:
TestMetadata.xml echo.wsdl echo.filename
Log Message:
Cloned Echo-2G to Echo-2B to test validation failure on unknown required extensions.
--- 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/Echo-2B
</Identifier>
<Title>Bad Document Echo-2B</Title>
<Purpose></Purpose>
<Description>This is a clone of Echo-2G, which has an unknown (by definition) extension. As a Bad document is verifies an implementation's ability to flag required unknown extensions.</Description>
<Status>accepted</Status>
<SpecRef></SpecRef>
<Preconditions>none</Preconditions>
<Inputs>
<Input role="root">echo.wsdl</Input>
</Inputs>
<ExpectedResults>
<Successful>true</Successful>
</ExpectedResults>
<Version>1.0</Version>
<Contributor>
<Name>Otu Ekanem</Name>
<Affiliation>BT</Affiliation>
<EMail>otu.ekanem@bt.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: echo.wsdl ---
<description xmlns="http://www.w3.org/2006/01/wsdl"
xmlns:wsdl="http://www.w3.org/2006/01/wsdl"
xmlns:tns="http://www.wso2.com/wsdl/2006/interop/EchoService"
xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap"
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
targetNamespace="http://www.wso2.com/wsdl/2006/interop/EchoService"
xmlns:wwis="http://www.wso2.com/schemas/2006/interop/EchoService"
xmlns:unknown="http://example.org/unknown-wsdl-extension">
<documentation>
This test contains simple echo operations which can be used for
iteroperability testing.
</documentation>
<types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.wso2.com/schemas/2006/interop/EchoService"
targetNamespace="http://www.wso2.com/schemas/2006/interop/EchoService"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<xs:element type="tEchoString" name="echoString" />
<xs:complexType name="tEchoString">
<xs:sequence>
<xs:element type="xs:string" name="echoStringParam" />
</xs:sequence>
</xs:complexType>
<xs:element type="xs:string" name="echoStringResponse" />
<xs:element type="tEchoXML" name="echoXML" />
<xs:complexType name="tEchoXML">
<xs:sequence>
<xs:element type="xs:anyType" name="echoXMLParam" />
</xs:sequence>
</xs:complexType>
<xs:element type="xs:anyType" name="echoXMLResponse" />
<xs:element name="sortCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]{2}[\-][0-9]{2}[\-][0-9]{2}" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:schema>
</types>
<interface name="echoServiceInterface">
<fault name="echoFault" element="wwis:echoString"/>
<operation pattern="http://www.w3.org/2006/01/wsdl/in-out"
name="echoString">
<input element="wwis:echoString" messageLabel="In" />
<output element="wwis:echoStringResponse"
messageLabel="Out" />
<infault ref="tns:echoFault" messageLabel="In" />
<outfault ref="tns:echoFault" messageLabel="Out" />
</operation>
<operation pattern="http://www.w3.org/2006/01/wsdl/in-out"
name="echoXMLOne">
<input element="wwis:echoXML" messageLabel="In" />
<output element="wwis:echoXMLResponse" messageLabel="Out" />
<infault ref="tns:echoFault" messageLabel="In" />
<outfault ref="tns:echoFault" messageLabel="Out" />
</operation>
<operation pattern="http://www.w3.org/2006/01/wsdl/in-opt-out"
name="echoXMLTwo">
<input element="wwis:echoXML" messageLabel="In" />
<output element="#other" messageLabel="Out"/>
</operation>
<operation pattern="http://www.w3.org/2006/01/wsdl/out-only"
name="echoXMLThree">
<output element="wwis:echoXML" messageLabel="Out" />
<output element="#other" />
</operation>
<operation pattern="http://www.w3.org/2006/01/wsdl/out-in"
name="echoXMLFour">
<input element="wwis:echoXML" messageLabel="In" />
<output element="#none" messageLabel="Out"/>
</operation>
<operation pattern="http://www.w3.org/2006/01/wsdl/out-opt-in"
name="getSortCode">
<output element="wwis:sortCode" messageLabel="Out" />
</operation>
<operation pattern="http://www.w3.org/2006/01/wsdl/out-opt-in"
name="echoXMLFive">
<input element="wwis:echoXML" messageLabel="In" />
<output element="#none" />
<infault ref="tns:echoFault" messageLabel="In" />
<outfault ref="tns:echoFault" messageLabel="Out" />
</operation>
<unknown:extension wsdl:required="true" />
</interface>
<binding interface="tns:echoServiceInterface"
type="http://www.w3.org/2006/01/wsdl/soap"
name="echoServiceSOAPBinding"
wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/">
<operation
wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"
ref="tns:echoString" >
</operation>
<operation
wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"
ref="tns:echoXMLOne" />
<operation
wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"
ref="tns:echoXMLTwo" />
<operation
wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"
ref="tns:echoXMLThree" />
<operation
wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"
ref="tns:echoXMLFour" />
<operation
wsoap:mep="http://wwww.w3.org/2003/05/soap/mep/soap-response"
ref="tns:getSortCode" />
<operation
wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"
ref="tns:echoXMLFive">
<input messageLabel="In" />
<output messageLabel="Out"/>
<infault ref="tns:echoFault" messageLabel="In" />
<outfault ref="tns:echoFault" messageLabel="Out" />
</operation>
</binding>
<service name="echoService" interface="tns:echoServiceInterface">
<endpoint
address="http://www-lk.wso2.com/axis2/services/EchoService"
binding="tns:echoServiceSOAPBinding"
name="echoServiceSOAPBinding_http" />
</service>
</description>
--- NEW FILE: echo.filename ---
<filename>Echo-2B/echo.wsdl</filename>
Received on Thursday, 30 November 2006 22:04:36 UTC