- From: Arthur Ryman <aryman@dev.w3.org>
- Date: Thu, 02 Sep 2004 02:18:23 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/examples/valid In directory hutz:/tmp/cvs-serv3232/valid Added Files: TicketAgent.xsd TicketAgent.wsdl Log Message: Initial commit of WSDL 2.0 examples with an ant script to validate them. --- NEW FILE: TicketAgent.wsdl --- <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://example.org/TicketAgent.wsdl20" xmlns:xsTicketAgent="http://example.org/TicketAgent.xsd" xmlns:wsdl="http://www.w3.org/@@@@/@@/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/@@@@/@@/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/@@@@/@@/wsdl/in-out"> <wsdl:input element="xsTicketAgent:listFlightsRequest"/> <wsdl:output element="xsTicketAgent:listFlightsResponse"/> </wsdl:operation> <wsdl:operation name="reserveFlight" pattern="http://www.w3.org/@@@@/@@/wsdl/in-out"> <wsdl:input element="xsTicketAgent:reserveFlightRequest"/> <wsdl:output element="xsTicketAgent:reserveFlightResponse"/> </wsdl:operation> </wsdl:interface> </wsdl:definitions> --- NEW FILE: TicketAgent.xsd --- <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema ../xmlcatalog/xsd/XMLSchema.xsd" targetNamespace="http://example.org/TicketAgent.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, 6 September 2004 11:52:42 UTC