oop_NFS_Andreas/Plattform/Plattform/Connected Services/AirlineService/AirlineService3.xsd

52 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="http://localhost:49949/AirlineService.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<xs:import schemaLocation="http://localhost:49949/AirlineService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/AirlineServer.Models" />
<xs:element name="GetFlights">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="startTime" type="xs:dateTime" />
<xs:element minOccurs="0" name="endTime" type="xs:dateTime" />
<xs:element minOccurs="0" name="destination" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="numberOfSeats" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetFlightsResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="GetFlightsResult" nillable="true" type="q1:ArrayOfKeyValueOfstringArrayOfFlight5WI6MxbP" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BookFlight">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/AirlineServer.Models" minOccurs="0" name="flight" nillable="true" type="q2:Flight" />
<xs:element minOccurs="0" name="numberOfSeats" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BookFlightResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/AirlineServer.Models" minOccurs="0" name="BookFlightResult" nillable="true" type="q3:Flight" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CancelFlight">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/AirlineServer.Models" minOccurs="0" name="flight" nillable="true" type="q4:Flight" />
<xs:element minOccurs="0" name="numberOfSeats" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CancelFlightResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/AirlineServer.Models" minOccurs="0" name="CancelFlightResult" nillable="true" type="q5:Flight" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>