From 387679293d9af65ceb0cfcd2987f6c170c41850d Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 28 Aug 2018 21:56:09 +0200 Subject: [PATCH] update the AirlineService reference --- .../AirlineService/AirlineService.wsdl | 22 +++++- .../AirlineService/AirlineService.xsd | 75 ++++++++++--------- .../AirlineService/AirlineService1.xsd | 60 +++++---------- .../AirlineService/AirlineService2.xsd | 6 -- .../AirlineService/AirlineService3.xsd | 52 +++++++++++++ .../AirlineService/Reference.cs | 26 +++++-- .../AirlineService/Reference.svcmap | 13 ++-- 7 files changed, 160 insertions(+), 94 deletions(-) create mode 100644 Plattform/Plattform/Connected Services/AirlineService/AirlineService3.xsd diff --git a/Plattform/Plattform/Connected Services/AirlineService/AirlineService.wsdl b/Plattform/Plattform/Connected Services/AirlineService/AirlineService.wsdl index 483c8bb..f0b5a50 100644 --- a/Plattform/Plattform/Connected Services/AirlineService/AirlineService.wsdl +++ b/Plattform/Plattform/Connected Services/AirlineService/AirlineService.wsdl @@ -4,7 +4,8 @@ - + + @@ -19,6 +20,12 @@ + + + + + + @@ -28,6 +35,10 @@ + + + + @@ -49,6 +60,15 @@ + + + + + + + + + diff --git a/Plattform/Plattform/Connected Services/AirlineService/AirlineService.xsd b/Plattform/Plattform/Connected Services/AirlineService/AirlineService.xsd index dfe6d4d..d58e7f3 100644 --- a/Plattform/Plattform/Connected Services/AirlineService/AirlineService.xsd +++ b/Plattform/Plattform/Connected Services/AirlineService/AirlineService.xsd @@ -1,37 +1,42 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Plattform/Plattform/Connected Services/AirlineService/AirlineService1.xsd b/Plattform/Plattform/Connected Services/AirlineService/AirlineService1.xsd index d58e7f3..6e83ffd 100644 --- a/Plattform/Plattform/Connected Services/AirlineService/AirlineService1.xsd +++ b/Plattform/Plattform/Connected Services/AirlineService/AirlineService1.xsd @@ -1,42 +1,22 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + true + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Plattform/Plattform/Connected Services/AirlineService/AirlineService2.xsd b/Plattform/Plattform/Connected Services/AirlineService/AirlineService2.xsd index 597507b..60302df 100644 --- a/Plattform/Plattform/Connected Services/AirlineService/AirlineService2.xsd +++ b/Plattform/Plattform/Connected Services/AirlineService/AirlineService2.xsd @@ -1,11 +1,5 @@ - - - - - - diff --git a/Plattform/Plattform/Connected Services/AirlineService/AirlineService3.xsd b/Plattform/Plattform/Connected Services/AirlineService/AirlineService3.xsd new file mode 100644 index 0000000..2f1b247 --- /dev/null +++ b/Plattform/Plattform/Connected Services/AirlineService/AirlineService3.xsd @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Plattform/Plattform/Connected Services/AirlineService/Reference.cs b/Plattform/Plattform/Connected Services/AirlineService/Reference.cs index a3d0a28..f3ee79e 100644 --- a/Plattform/Plattform/Connected Services/AirlineService/Reference.cs +++ b/Plattform/Plattform/Connected Services/AirlineService/Reference.cs @@ -374,16 +374,22 @@ namespace Plattform.AirlineService { public interface IAirlineService { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAirlineService/GetFlights", ReplyAction="http://tempuri.org/IAirlineService/GetFlightsResponse")] - Plattform.AirlineService.Flight[][] GetFlights(System.DateTime startTime, System.DateTime endTime, string origin, string destination, int numberOfSeats); + System.Collections.Generic.Dictionary GetFlights(System.DateTime startTime, System.DateTime endTime, string destination, int numberOfSeats); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAirlineService/GetFlights", ReplyAction="http://tempuri.org/IAirlineService/GetFlightsResponse")] - System.Threading.Tasks.Task GetFlightsAsync(System.DateTime startTime, System.DateTime endTime, string origin, string destination, int numberOfSeats); + System.Threading.Tasks.Task> GetFlightsAsync(System.DateTime startTime, System.DateTime endTime, string destination, int numberOfSeats); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAirlineService/BookFlight", ReplyAction="http://tempuri.org/IAirlineService/BookFlightResponse")] Plattform.AirlineService.Flight BookFlight(Plattform.AirlineService.Flight flight, int numberOfSeats); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAirlineService/BookFlight", ReplyAction="http://tempuri.org/IAirlineService/BookFlightResponse")] System.Threading.Tasks.Task BookFlightAsync(Plattform.AirlineService.Flight flight, int numberOfSeats); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAirlineService/CancelFlight", ReplyAction="http://tempuri.org/IAirlineService/CancelFlightResponse")] + Plattform.AirlineService.Flight CancelFlight(Plattform.AirlineService.Flight flight, int numberOfSeats); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAirlineService/CancelFlight", ReplyAction="http://tempuri.org/IAirlineService/CancelFlightResponse")] + System.Threading.Tasks.Task CancelFlightAsync(Plattform.AirlineService.Flight flight, int numberOfSeats); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] @@ -413,12 +419,12 @@ namespace Plattform.AirlineService { base(binding, remoteAddress) { } - public Plattform.AirlineService.Flight[][] GetFlights(System.DateTime startTime, System.DateTime endTime, string origin, string destination, int numberOfSeats) { - return base.Channel.GetFlights(startTime, endTime, origin, destination, numberOfSeats); + public System.Collections.Generic.Dictionary GetFlights(System.DateTime startTime, System.DateTime endTime, string destination, int numberOfSeats) { + return base.Channel.GetFlights(startTime, endTime, destination, numberOfSeats); } - public System.Threading.Tasks.Task GetFlightsAsync(System.DateTime startTime, System.DateTime endTime, string origin, string destination, int numberOfSeats) { - return base.Channel.GetFlightsAsync(startTime, endTime, origin, destination, numberOfSeats); + public System.Threading.Tasks.Task> GetFlightsAsync(System.DateTime startTime, System.DateTime endTime, string destination, int numberOfSeats) { + return base.Channel.GetFlightsAsync(startTime, endTime, destination, numberOfSeats); } public Plattform.AirlineService.Flight BookFlight(Plattform.AirlineService.Flight flight, int numberOfSeats) { @@ -428,5 +434,13 @@ namespace Plattform.AirlineService { public System.Threading.Tasks.Task BookFlightAsync(Plattform.AirlineService.Flight flight, int numberOfSeats) { return base.Channel.BookFlightAsync(flight, numberOfSeats); } + + public Plattform.AirlineService.Flight CancelFlight(Plattform.AirlineService.Flight flight, int numberOfSeats) { + return base.Channel.CancelFlight(flight, numberOfSeats); + } + + public System.Threading.Tasks.Task CancelFlightAsync(Plattform.AirlineService.Flight flight, int numberOfSeats) { + return base.Channel.CancelFlightAsync(flight, numberOfSeats); + } } } diff --git a/Plattform/Plattform/Connected Services/AirlineService/Reference.svcmap b/Plattform/Plattform/Connected Services/AirlineService/Reference.svcmap index 9fe885c..b3ac5f9 100644 --- a/Plattform/Plattform/Connected Services/AirlineService/Reference.svcmap +++ b/Plattform/Plattform/Connected Services/AirlineService/Reference.svcmap @@ -1,5 +1,5 @@ - + false true @@ -22,11 +22,12 @@ - - - - - + + + + + +