What is the difference between a web service and an enterprise service?
A web service is just a standardized interface to a service's functionality. It contains instructions written in WSDL describing how that service is going to be called. And that's all.
An enterprise service is a web service designed as a reusable component in process automation. It exists within the larger context of ESA, and it contains metadata about its functionality and about how it connects to other services. Web services contain much of the same functionality as enterprise services—usually at a more granular level than is useful for process orchestration—but the soul of an enterprise service is that it's there to help you, and it contains enough functionality to make a meaningful difference in processes. Enterprise services are large enough that combining and recombining them is a fairly easy task. In practice, as demonstrated in Figure 4-2, an enterprise service, when called, will execute any number of instructions across any number of underlying applications. A web service will call only the application to which it is related. Therefore, in Figure 4-2, clicking "delete order" in a menu might simply delete the order from an ERP system if one were to use a web service to do so.
The question then becomes, does this act help the larger business process of cancelling an order? The larger scope of that process includes many actions beyond deleting a record in the ERP system. There might also be a CRM system ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access