Posted: Tue Apr 13, 2010 4:36 pm Post subject: WMBv6.1-> Roll back web service call
Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
Hi Guys,
I have two flows
Flow 1. MsgFlow exposed as a web service.
HTTPInput--->Compute--->HTTPReply
Flow 2. MsgFlow Calls the web service (Flow 1).
MQInput--->Compute--->HTTPRequest--->Compute--->MQOutput
Flow1 calls a stored procedure (inserts into oracle tables).
When Flow1 invokes Flow2 and whatever the reason it fails downstream the HTTPRequest i would like to rollback the web service call (Flow1).
Any ideas/suggestions/comments to meet the requirement? _________________ IBM ->Let's build a smarter planet
Posted: Tue Apr 13, 2010 6:05 pm Post subject: Re: WMBv6.1-> Roll back web service call
Newbie
Joined: 10 Mar 2010 Posts: 5
broker_new wrote:
Hi Guys,
I have two flows
Flow 1. MsgFlow exposed as a web service.
HTTPInput--->Compute--->HTTPReply
Flow 2. MsgFlow Calls the web service (Flow 1).
MQInput--->Compute--->HTTPRequest--->Compute--->MQOutput
Flow1 calls a stored procedure (inserts into oracle tables).
When Flow1 invokes Flow2 and whatever the reason it fails downstream the HTTPRequest i would like to rollback the web service call (Flow1).
Any ideas/suggestions/comments to meet the requirement?
You can't roll it back. WMB doesn't support WS-AT as far as I know.
You have a couple of options. You might be able to change your design so that rollback of the Oracle insert is not required, or you could implement a compensating service (to delete the inserted row(s) from Oracle.
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