Travel Agency Sample Example¶
The Travel Agency example provides a sample illustration of the BPEL and Java skeleton generation for implementation of SOA architecture with Web Services.
Figure 39 Assembly View
The Travel Agency system consists in three sub-subsystems:
- Travel Agency Front Desk – an orchestrator component that processes a client request and calls other sub-systems for particular services;
- Flight Booking System provides flight booking services;
- Hotel Booking System provides hotel booking services.
The components are integrated with corresponding Service Interfaces over Provider interfaces
Figure 40 FlightSearchResult Message Type
The messages are specified with message diagrams.
Figure 41 FlightBooking
Figure 42 services interface diagram
The components and their interfaces are specified in details.
Figure 43 Travel Agency Front Desk
The Travel Agency Front Desk behavior is specified with a business process, which is refined with operation invocations.
Figure 44 services interface diagram
This component involves several conjugate Service Interfaces that are important to allow BPMN refinement with operation invocations.
Figure 45 Travel Front Desk behavior in BPMN notation.
Figure 46 Refining BPMN with operation invocations
The SoaML Engine module allows generation of XSD, WSDL, BPEL and annotated Java skeletons for Web Service implementation.