We have a WCF service with the following Contract:
[OperationBehavior(TransactionScopeRequired = true)]
public Collection<string> PostJE(string glProvider, Collection<JournalEntry> journalCollection)
Collection<string> ReturnCodes = null;
ReturnCodes = LedgerService.PostJournalEntries(journalCollection, glProvider);
catch (Exception ex2)
ExceptionPolicy.HandleException(ex2, "HCX Exception Policy");
The method in turn calls another 3rd party Service.
We are getting an error when calling the PostJE method from our Web application such as:
The transaction under which this method call was executing was asynchronously aborted
A few questions:
1) How to get rid of the error we are getting.
2) Do we really need Transaction Scope on the WCF method since we are in turn calling another 3rd party Service.
3) For the Transaction Scope to work as intended, do we need DTS?