- From: Arthur Ryman <aryman@dev.w3.org>
- Date: Thu, 03 Feb 2005 14:36:54 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/good/TicketAgent-1 In directory hutz:/tmp/cvs-serv24378/documents/good/TicketAgent-1 Added Files: TicketAgent.xsd TicketAgent.wsdl interface_fault.wsdl Log Message: Added test cases, schemas, and Ant script. --- NEW FILE: interface_fault.wsdl --- <wsdl:definitions xmlns:ghns="http://www.greath.com/2004/05/schemas/reservationService.xsd" targetNamespace="http://www.greath.com/2004/05/wsdl/reservationService.wsdl" 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 namespace="http://www.greath.com/2004/05/schemas/reservationService.xsd" schemaLocation="http://www.greath.com/2004/05/schemas/reservationService.xsd"/> </wsdl:types> <!-- <wsdl:documentation> Description: The definition of the reservation Web service of GreatH hotel. Author: Joe Somebody Date: 05/17/2004 </wsdl:documentation> --> <wsdl:interface name="reservation"> <wsdl:fault name="inValidCreditCardFault" element="ghns:invalidCreditCardError"><!-- <wsdl:documentation> falut declaration for invalid credit card information. </wsdl:documentation> --></wsdl:fault> <wsdl:fault name="inValidDataFault" element="ghns:invalidDataError"> <!-- <wsdl:documentation> falut declaration for invalid data. </wsdl:documentation> --> </wsdl:fault> </wsdl:interface> </wsdl:definitions> --- NEW FILE: TicketAgent.wsdl --- <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://example.org/TicketAgent.wsdl" 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" 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 Thursday, 3 February 2005 14:36:54 UTC