W3C home > Mailing lists > Public > public-ws-desc-eds@w3.org > February 2005

2002/ws/desc/test-suite/documents/good/TicketAgent-1G TicketAgent.wsdl,NONE,1.1 TicketAgent.xsd,NONE,1.1

From: Arthur Ryman <aryman@dev.w3.org>
Date: Mon, 07 Feb 2005 16:31:59 +0000
To: public-ws-desc-eds@w3.org
Message-ID: <E1CyBnr-000501-DD@lionel-hutz.w3.org>

Update of /sources/public/2002/ws/desc/test-suite/documents/good/TicketAgent-1G
In directory hutz:/tmp/cvs-serv19039/documents/good/TicketAgent-1G

Added Files:
	TicketAgent.wsdl TicketAgent.xsd 
Log Message:
Applied patch from Lawrence Mandel to add test cases. See http://lists.w3.org/Archives/Public/www-ws-desc/2005Feb/0017.html

--- NEW FILE: TicketAgent.wsdl ---
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:description 
    targetNamespace="http://example.org/TicketAgent.wsdl" 
    xmlns:xsTicketAgent="http://example.org/TicketAgent.xsd" 
    xmlns:wsdl="http://www.w3.org/2004/08/wsdl" 
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://www.w3.org/2004/08/wsdl ../../../xmlcatalog/wsdl/wsdl20.xsd http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd">
  
    <wsdl:types>
        <xs:import schemaLocation="TicketAgent.xsd" 
                   namespace="http://example.org/TicketAgent.xsd" />
    </wsdl:types>
        
    <wsdl:interface name="TicketAgent">
        <wsdl:operation name="listFlights" pattern="http://www.w3.org/2004/08/wsdl/in-out">
            <wsdl:input element="xsTicketAgent:listFlightsRequest"/>
            <wsdl:output element="xsTicketAgent:listFlightsResponse"/>
        </wsdl:operation>
                
        <wsdl:operation name="reserveFlight" pattern="http://www.w3.org/2004/08/wsdl/in-out">
            <wsdl:input element="xsTicketAgent:reserveFlightRequest"/>
            <wsdl:output element="xsTicketAgent:reserveFlightResponse"/>
        </wsdl:operation>
    </wsdl:interface>
</wsdl:description>
--- NEW FILE: TicketAgent.xsd ---
<?xml version="1.0" encoding="UTF-8"?>
<schema 
	xmlns="http://www.w3.org/2001/XMLSchema"
	targetNamespace="http://example.org/TicketAgent.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd">

	<element name="listFlightsRequest">
		<complexType>
			<sequence>
				<element name="depart" type="dateTime"></element>
				<element name="origin" type="string"></element>
				<element name="destination" type="string"></element>
			</sequence>
		</complexType>
	</element>

	<element name="listFlightsResponse">
		<complexType>
			<sequence>
				<element name="flight" type="string" minOccurs="0" maxOccurs="unbounded"></element>
			</sequence>
		</complexType>
	</element>

	<element name="reserveFlightRequest">
		<complexType>
			<sequence>
				<element name="depart" type="dateTime"></element>
				<element name="origin" type="string"></element>
				<element name="destination" type="string"></element>
				<element name="flight" type="string"></element>
			</sequence>
		</complexType>
	</element>

	<element name="reserveFlightResponse">
		<complexType>
			<sequence>
				<element name="result" type="string"></element>
			</sequence>
		</complexType>
	</element>

</schema>
Received on Monday, 7 February 2005 16:32:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:31:29 UTC