Exit point example 3: Use an existing web service to calculate the tax for an order

For a purchase order, you must look up the tax area and calculate the tax. To perform this action, an existing web service is available. In this situation, you create an exit point that has the required parameters for the purchase order as input, and invokes the web service operations to determine the tax.

Note: You cannot use an existing web service directly from a workflow. The exit point has a predefined interface that you must implement. To use an existing web service, you must invoke that web service from the exit point logic.