Yes. Usually it's done by creating a service that calls the other two services. By default services will use the transaction in place when they are called, this is really easy.

-David


On Feb 19, 2008, at 12:00 PM, Grant Edwards wrote:

Hi,

Is it possible to wrap a number of service calls into a single transaction?

For example, I have a backend process sourcing product information from a
3rd party system and want to call both the "createProduct" and
"createProductPrice" service. If for what ever reason the
"createProductPrice" service fails I want to roll back all changes to the
database that relate to both of these service calls.

Kind regards

Grant e

Reply via email to