on 08-01-2007 7:29 AM
Hi,
I am implementing a webservice.
Which posts data in a DB as well as SAP.
posting data into DB has to be implemented by calling ejb.
posting data into SAP has to be implemented by calling XI webservice.
For this i am assuming like this way...............
Call the ejb to post data into DB.
Call the XI webservice to post data into SAP.
If XI webservice is executed properly then commit the transaction to post data into DB.
But there may be another possibility ...........
While commiting the transaction if any exception comes ,
How can i rollback the XI webservice?Is it possible to rollback the webservice
after it is executed?
Can any one guide me.
Regards
Madhu
I presume that when you say XI web service, you are referring to a sender SOAP - XI - SAP scenario. if that is correct, there is no way you could control the transaction commit externally. From your code giving a call to the web service, you can just set the data and execute the web service call, there is no way of controlling the commit behaviour of the web service from the client code .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The other solution could be the XI WebSerice should handle multiple targets which I mean, instead of two separate calls to DB and XI you can have single call to XI WebService which will take care of SAP transaction as well as DB transaction with JDBC Adapter. I am not a XI expert but as per my knowledge you can achieve this through BPM.
Regards
Abhilash
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.