Well, if it is one SOAP call which engenders the two INSERTs into different data sources, this might not be a CXF question (i.e., the web service provider handling would be the same regardless of the number of inserts/data sources you're using), but rather something for the user's list of whatever persistence technology you're using. This is simple JDBC[1] for inserting into one data source, if that type of boilerplate is what the original user is asking for.

Glen

[1] http://www.jroller.com/gmazza/entry/updating_database_tables_using_jaxws


On 12/06/2010 10:02 AM, Guy Pardon wrote:
Hi,

Check out http://www.atomikos.com/Main/ExtremeTransactions

It supports JTA/XA transactions and also WS transactions across services.

HTH
Guy

On 6-dec-2010, at 15:55, Edumudi Viswanath wrote:

Hi CXF users,



We have a requirement like below, which will be part of a project with CXF as 
soap statck.



1)      We should insert data into two different data sources&  make it as a 
transaction.



By exploring in google, we found that, there is no ready made sample project 
available with cxf in java.  Is it right?



Kindly throw some light on it&  abt alternate ways to implement the same.



Regards

vishy





Reply via email to