Ask a question to Desklib · AI bot


C# (WCFWorkflow Service Application).

1 Pages482 Words438 Views

Added on  2019-09-16

BookmarkShareRelated Documents
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 specifywhen they want to go and from where to where. It will then book a flight or train (using anairline booking service or a train booking service). In order to decide which means oftransport is appropriate a service called transport-identifier is used. This takes an origin anddestination and returns “plane” or “train”. The student’scredit card will be charged with thecost 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 workflowapproach)3) implement the holiday booking flow that you design in 1 (The workflow will connect to services provided by the 'partners'; as the workflowtool needs endpoints to offer the right options you will have to implement these services but be reminded that theyneed 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).
C# (WCFWorkflow Service Application)._1

Found this document preview useful?