Implementation of Holiday Booking Workflow using C# and WCF Services

Verified

Added on  2019/09/16

|1
|482
|438
Project
AI Summary
This project focuses on implementing a holiday booking workflow using C# and WCF services. The assignment requires the design and implementation of three partner services: a transport identifier, an airline booking service, and a train booking service. The student needs to create a process diagram illustrating the workflow and define the service interfaces. The services can return hardcoded values without complex logic. The core of the project involves creating a workflow that interacts with these services. Furthermore, the project considers the deployment of the services and workflow to the Azure Cloud, although actual deployment is not mandatory. The project demonstrates the use of WCF services to manage the holiday booking process, with a focus on service-oriented architecture principles and workflow design.
Document Page
C# (WCFWorkflow Service Application)
It is this time of the year when many of you want to get away for the holidays. I-
want-toget-away offers travel for students for short holiday breaks. It allows the
student to specify when they want to go and from where to where. It will then book a
flight or train (using an airline booking service or a train booking service). In order to
decide which means of transport is appropriate a service called transport-identifier is
used. This takes an origin and destination and returns “plane” or “train”. The student’s
credit card will be charged with the cost arising from the booking and a booking
confirmation number is returned to the student.’
NOTE: this is simplified and you do not have to worry about availability of tickets or
their prices; you also do not need to consider exceptions on the payment side.
1) Analyse the scenario and decide on which 3 services are needed by the process described
above. Decide what interfaces are needed (each service needs one interface).
a. Draw a process diagram for your solution that shows the flow of the process as well as the
interactions with the partners.
b. List the interfaces of the process and service.
Note: this can be done on paper and scanned/ photographed or in PowerPoint.
2) Implement the three needed partner services either as C# or Workflow services; they can
all return hardcoded (maybe random) values (Specifically there is no need to connect to a
database here and there is no need for complex logic for this part). Keep it simple, but have
three services (or one with three interfaces).
(File--‐>New--‐>ProjectandselectC#--‐>WCF --- WCFWorkflow Service Application)
(which is the graphical workflow approach)
3) implement the holiday booking flow that you design in 1 (The workflow will connect to
services provided by the 'partners'; as the workflow tool needs endpoints to offer the right
options you will have to implement these services but be reminded that they need no clever
logic (so just a return a random or fixed value).
4) Make changes required to the project to deploy the services and process to the
Azure Cloud.( about a description of deploying the process to Azure: you are not
expected to actually deploy it.)
(You can test the result in the cloud emulation environment or on your Dreamspark cloud
instance. There is no need to actually deploy the services and workflow).
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
[object Object]