One way child BPEL getting rolled back 11g

Hi,
I am stuck with a strange issue.
Here is my design :
Bpel1
1. Invoke : Call One way Bpel2 -> Bpel 2 calls DB adapter to insert data to Database
2. Throw rollback
When i throw rollback in BPEL 1 both : BPEL 1 & BPEL 2 gets rolled back , I need BPEL 2 to get commit to DB.
I tried below settings :
BPEL 1 : weblogic.wsee.wsat.transaction.flowOption = NEVER for calling BPEL 2
BPEL 1 : bpel.config.onewayDeliveryPolicy = async.persist
BPEL 2 : Service end point weblogic.wsee.wsat.transaction.flowOption = NEVER
BPEL 2 : bpel.config.transaction = requiresNew
BPEL 2: bpel.config.onewayDeliveryPolicy = async.persist
These settings didnt helped , please suggest.
Thanks
Sam

Hello Sam,
I have created two one-way BPEL Processes with the same settings you have mentioned. In order for the DB insert in the second BPEL to be saved, you need to add one additional property.
In BPEL1, for the partnerlink of BPEL2, add the property called 'idempotent' and give its value as false.
And now test the process again, this time, after calling the BPEL2 from BPEL1, you will be throwing a rollback fault, but the record which is inserted through BPEL2 will be there in the database which is what you want.
Here the idempotent property saves the current transaction after calling the BPEL2, and starts a new transaction.
Hope this helps,
N

Similar Messages

Maybe you are looking for

  • Scrolling slow in a panel with 300 images

    Hi, I am using a panel which contains about 300 images (small icons). I covered this panel with a scroller, and when scrolling, it's very slow. when there are less images (about 50), it scrolls smoothly. Any suggestions ?   <s:Panel id="src"         

  • Youtube homepage causes browsers to hang (safari&firefox)

    hey everyone, the youtube homepage (but not direct links to videos) and other sites (eventhubs.com) cause all of my browsers (which are updated to most recent release) to hang and pinwheel. i don't get a crash report because they don't crash, just ha

  • ITunes 11.2.0 Album view keyboard shortcut scrolling problem

    In previous versions of iTunes 11 I could hit a letter on my keyboard to jump down the list to the first alphabetical album listed and open the contents of said album. Since the latest update this causes the window to completely overshoot the selecte

  • How can i subtract budget and actuals amount from gl_balances in discoverer

    I have a problem with a discoverer report. The table is GL_BALANCES (Financials), and i tried to subtract data of current year and last year, same month, or data from actuals and budgets amounts. Data from actuals have the "A" code in the ACTUAL_FLAG

  • Standard bapi required

    Hi All ,       I want to send some material related data from BW to R/3 . Are there any standard BAPI 's for this . Here is the scenario . get lacation , material , safty stock from BW and Update this information in MARC table of R/3 system . Thanks