I am calling a wcf service and its purpose is to insert some details in sql server table. I am using sql transactions and after insert operation I also commit that transaction of sql server. Now this service is called by a client which has initiated its own transaction and inside its transaction, calling this service. So my query is :-
If transaction is committed by SQL server commit transaction command and some exception occurs at client end after calling other service(This service functionality is executed successfully but client is calling one another wcf service which throws exception) so will the data inserted will be rolled back on database of 1st service or not and if yes how it will happen.