Sie sind auf Seite 1von 19

Service Oriented Architecture

Juan Carlos Corrales, Ph.D.


Profesor Titular

Camilo Corrales, Cp.E.


Universidad del Cauca
jcorral@unicauca.edu.co camilo.corrales@gmail.com

Sesin 05/20/2011 Universidad Autonoma de Occidente

BP Exercises

Agenda
Business Process Samples (3 BP samples)
Process Requirements Outline Workflow Reusable Services Process Deployment

Business Process for Analysis (2 BP requirements)


Process Requirements Reusable Services

BP: Samples

BP for Analysis

Online Book Sales


Process Requirements
The order began by providing the ID of registered client, the book ISBN to buy and the number of units and unit price. The process verifies the existence of books in the store. If there exist no books, the process ends and offers other books information to client. If there exist sufficient units, the process invokes the online payment system that enterprise has contracted, generating an invoice (ID and amount to pay) Finally, the company generates a delivery order to a shipping company, supplying it with an Order ID to pick up in store and distribute.

BP: Samples

BP for Analysis

Online Book Sales


Outline Workflow

StockCheck

Yes

BookPayment
No

SendBook

BP: Samples

BP for Analysis

Online Book Sales


Reusable Services

Functional descriptions of catalog services


Service Description

ItemCheck PayGateway

Shipment

From an Item ID and the number of articles to buy, the service verifies if there exist enough items From a CustomerID, number of articles and unit price, this service calculates the total price (considering the tax) and generates a invoice ID with the amount to pay From an enterprise ID and invoice ID, the service returns the number of days it takes delivery of an item

BP: Samples

BP for Analysis

Flight Booking
Process Requirements
The flight booking order began by providing the reservation number, the ID of registered client, the departure city, the destination city, the flight date, the number of adult and/or children passengers. The flight booking is only considerate in one way. The process verifies the existence of airline itinerary. If there exist no itinerary, the process ends and shows an alert message. If the booking is successful, the process invokes the payment system of the airline and shows a confirmation message. Finally, the company shows the total cost of the flight booking.

BP: Samples

BP for Analysis

Flight Booking
Outline Workflow

Flight Booking

Yes

No

Pay booking

Show cost

BP: Samples

BP for Analysis

Flight Booking
Reusable Services

Functional descriptions of catalog services


Service Description

Flight tickets

The flight ticket service allows to reserve and cancel the flight tickets reservation, pays the booking, also shows the total cost of flight booking. The web service offers the follow operations:
Flight Booking: Allows to reserve the flight tickets. Cancel Flight Booking: Cancels the booking flight tickets. Buy tickets: Buys the booking made. Get price: Shows the total cost of flight booking.

BP: Samples

BP for Analysis

Automatic Teller Machine (ATM)


Process Requirements
The automatic teller machine process began by providing the account number of client, the account password, and the withdraw money. The process verifies that the account number and the password are corrects. Otherwise, the process ends and shows an alert message. If the authentication is successful, the process check that the withdraw money is less or equal that account money. Finally, the process withdraws the money and shows the bank account balance.

BP: Samples

BP for Analysis

Automatic Teller Machine (ATM)


Outline Workflow
Authentication

Yes

Check Balance

No

Yes

No

Withdraw money

10

BP: Samples

BP for Analysis

Automatic Teller Machine (ATM)


Reusable Services Functional descriptions of catalog services
Service Description

Account

The Web service account allows to deposit and withdraw money of a bank account, also allows to show the account balance. The web service offers the follow operations: Authenticate: Verifies that the account number and the password are corrects. Check balance: defines the cash balance of account. Deposit money: Deposits money in the account. Withdraw money: Withdraws money of the account.

Agenda
Business Process Samples (3 BP samples)
Process Requirements Outline Workflow Reusable Services Process Deployment

Business Process for Analysis (2 BP requirements)


Process Requirements Reusable Services

BP: Samples

BP for Analysis

Reserva de hotel
Requerimientos del proceso
El proceso de reserva de hotel tiene como parmetros de entrada: el numero de la reserva, ID del cliente registrado, fecha de llegada, fecha de salida, numero de habitaciones sencillas, numero de habitaciones dobles, numero de habitaciones sweet. El proceso verifica si la reserva se realiz satisfactoriamente, en caso contrario debe mostrar un mensaje reportando el no cumplimiento de la reserva. Si la reserva fue exitosa el proceso invoca al sistema de pago que utiliza el hotel. Finalmente el proceso presenta el costo total de la reserva realizada. Existe un videotutorial gua para el desarrollo de este requerimiento

BP: Samples

BP for Analysis

Reserva de hotel
Servicios Reusables Catalogo de servicios de las descripciones funcionales
Servicio Descripcin

Hotel management

El servicio Web hotel management permite realizar una reserva sobre el hotel, adems permite cancelar la reserva, por otra parte ofrece la opcin de pagar la reserva y mostrar su costo. El servicio Web ofrece las siguientes operaciones:
Hotel reservation: Realiza la reserva. Cancel Hotel reservation: Cancela la reserva. Pay Hotel reservation: Efecta el pago de la reserva. Get price: Muestra el costo total de la reserva.

BP: Samples

BP for Analysis

Reserva y pago de tiquete areo y hotel


Requerimientos del proceso (1/2)
El proceso de reserva de vuelo y hotel tiene como parmetros de entrada: el numero de la reserva del hotel, numero de la reserva de vuelo, numero de cuenta bancaria, password de la cuenta bancaria, ID del cliente registrado, fecha de llegada, fecha de salida, ciudad de origen, ciudad de destino, numero de habitaciones sencillas, numero de habitaciones dobles, numero de habitaciones sweet, numero de personas adultas y nios. El proceso verifica si la reserva hotel y de vuelo se realiz satisfactoriamente, en caso contrario debe mostrar un mensaje reportando la no realizacin de las reservas.

BP: Samples

BP for Analysis

Reserva y pago de tiquete areo y hotel


Requerimientos del proceso (2/2)
Si la reservas fueron exitosas el proceso paga la cuenta de la reserva del hotel y la reserva de vuelo, retirando dinero de la cuenta bancaria del cliente. Si la cuenta bancaria no cubre los gastos para pagar las reservas, se debe informar al cliente que la reserva(s) fue cancelada. Finalmente el proceso muestra el costo de cada reserva, el costo total y el saldo de la cuenta bancaria. Para el desarrollo de este requerimiento es aconsejable tomar como base los servicios reusados por los procesos de negocio: Automatic Teller Machine, Flight Booking, Hotel Booking (Reserva Hotel Requerimiento 1).

BP: Samples

BP for Analysis

Reserva y pago de tiquete areo y hotel


Servicios Reusables Catalogo de servicios de las descripciones funcionales
Servicios Descripcin

Account Flight tickets

Hotel management

Este servicio deposita y retira dinero de una cuenta bancaria, adems presenta el saldo de la cuenta. Servicio encargado de realizar una reserva de tiquetes areos, adems permite cancelar la reserva, por otra parte ofrece la opcin de pagar la reserva y presentar su costo. Permite realizar una reserva sobre el hotel, adems permite cancelar la reserva, por otra parte ofrece la opcin de pagar la reserva y presentar su costo

Agenda
Business Process Samples (3 BP samples)
Process Requirements Outline Workflow Reusable Services Process Deployment

Business Process for Analysis (2 BP requirements)


Process Requirements Reusable Services

Service Oriented Architecture


Juan Carlos Corrales, Ph.D.
Profesor Titular

Camilo Corrales, Cp.E.


Universidad del Cauca
jcorral@unicauca.edu.co camilo.corrales@gmail.com

Sesin 05/20/2011 Universidad Autonoma de Occidente

BP Exercises

Das könnte Ihnen auch gefallen