From previous articles, we described about the definition of both SOA and web service.
In this article, we will now discuss more about application of them.
Nowadays, business and technology are connected with each other. Technology helps business to be more effective and efficiency in their services, for example, Internet and other communication devices. Also, business with technology involved can satisfy customers' need than in the past. As you can see now there are e-commerce and e-business that can be well successful business in today market. It is the business where you can sell or buy products via using Internet as one channel of communication. Therefore, most of companies now are use e-business such as Amazon or E-bay.
So, now let's go back to our topic, Service oriented approach and Web services are one of technology that can helps in business process by redesigning the normal business into e-commerce. The following paragraph will involve with the example of application which is online bookstore web services application.
First of all, This online bookstore involves in several funtionalities such as providing interfaces to catalog browers, get an order from customer, accept online payment, etc. Customer wants to purchase book that they interested in by searching books in catalog to meet their wants and needs. However, in normal e-comerce will limit the links of book that they provided to customer, so customer will have fewer choices. If there are no book that they want, they might go to other websites and it will take longer time for customer to search for their wished book. In addtion, provider of that website will have to update more information and spend more timen and money to provide those books to customer. On the other hand, in Web service, online bookstore acts as service registry in previous article to provide interface between customer(service requester) and service provider.
Online Bookstore Application use case diagram
BrowseCatalog Service, order service, and payment service are the services that provided by this application. Next, we will discuss each of them respectively.
- BrowseCatalog Service: This service is resbonsible for offering the customer detail of books such as publisher or subject. First, service provider(Book publishers) register in a business registry and provide information about their services in order to provide offers of a browseCatalog service which allows customer to see books that they provided for customer. Then, the BrowseCatalod service starts looking for the book that customer want. After that, The business registry receives the detail of customer criteria from BrowseCatalog and sends information back. Thus, the browseCataalog service can send a list of availble books from different sources(publishers) to customer. However, if there are no book available, the application will ask customer for another book. If so, it continues doing to find the book until meet customers' wants.
- Order Service: After the customer got a list of book that they want, it is time to order for that book. This Order Service is provided by service providers (publisher). Firstly, the service asks the customer about personal information, name, telephone, address, and the delivery date, and also keep date of birth and areas of interest as further references. Secondly it ask the customer for type of payment ( credit cards or cheque). Lastly it will pass to payment service after the customer made the order automatically.
- Patmeny Service : This is the main process of online bookstore since it involves with essential data such as credit card number. It begins with doing lot of validation on customer informatiom. So it need high security because the information might get lost while transfering through networks. Encrypting the credit card information, authenticating the user, authorizing permission to access the service is neccessary. The application authenticates the user when log in to the system and allow permission to enter the service based on their registration.
In conclusion, there are more benefits on Web service application compared to normal e-commerce. Since in normal e-comerce, there are no common registry as web service does. Moreover, it is a new architectural approach which is more flexible to enhance the application


