Posted: Tue Apr 27, 2010 3:46 pm Post subject: Transaction Rollback doubt - SAP and SOAP nodes
Centurion
Joined: 18 Nov 2009 Posts: 118
We have been having these problems lately.
1) Every record in a file generates several outputs to SAP. There can be several records in the file. What I have observered is if the third record has a problem, the first two IDOCs in SAP get generated successfully. For every record, I am building the IDOC and propagating it to SAP. So while buidling the third problem if there is any error, I expect the the first 2 to roll back from SAP.
2) We are getting a request from an application which is saved in the AUDIT request queue. Then a SOAP request node in the flow sends a request to webservice to which we don't get reply and the whole transaction rolls back. We lose the messge from the audit queue as well. But surprisingly the third party whose webservice we call says that their system has got updated.
a)Is this because of untimely response received by broker.
b)Can there be other scenarios where this can occur.
c)Can we increase timeout and resolve this issue. Will there b performance impact.
Posted: Wed Apr 28, 2010 12:21 am Post subject: Re: Transaction Rollback doubt - SAP and SOAP nodes
Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
hellobond070 wrote:
I expect the the first 2 to roll back from SAP.
Why do you expect them to be rolled back.
hellobond070 wrote:
But surprisingly the third party whose webservice we call says that their system has got updated.
Why are you surprised?
Think about the transactions involved in these scenarios and the scope of each of them. Consider this: If application A puts a message to a queue and ends. Then Application B gets this message and fails for some reason. Sure, the application B 'get message' is rolled back but would you really expect application A's 'put message' to roll back ????
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum