How do I implement web service transactions?

Is there a Java tool for choreographic web services that makes transaction processing easier?

In my case, I want to link 2 SOAP web services: the first will debit to the client's bank account and the second will recharge my cell phone by the appropriate amount. How can I implement this sequence of web service calls transactionally?

I took a quick look at Apache Camel, but it doesn't seem to be the most suitable tool.

Thank.

+3


source to share


1 answer


If your web services are implemented using SOAP, you can implement two-phase commit with the WS-AtomicTransaction extension. These articles detail how this can be done:



+3


source







All Articles