How can i rollback the tasks done by webservice?

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

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

Similar Messages

  • How can I delete the task bar in iOS7

    How can I delete the task bar in iOS7

    Stop Task Bar (Control Center) from popping up?
    Settings>Control Center>Access Within Apps

  • How can we modify the Task Priority in BPM workspace???

    How can we modify the Task Priority in BPM workspace??? Is it possible?? If so what is the best and easy way to implement this??

    Hi Chandra,
    First please find the job name in SM37 for FIGL and check the job status to be in "released" status. Select that job and go to job menu and click on change. then it will take you to the job screen where you have "job class". Here you can change the job class to "A" to get to high priority.
    If you are unable to edit the job then create a new job with the same variants by clicking STEP button in the Job screen.
    Try these steps, let me know if are able to do so.
    Regards,
    Ravi Kanth

  • How can I get the Task information..? Remedy for error "-200089"

    Hello,
    I am using PCI-6229 for the application, and VB6 for application development.
    We have a policy to create the tasks and associated channels using Measurement and Automation Explorer.
    I want to know can I retrieve the information of the tasks those are created ..
    When my VB program starts, I use DAQmxLoadTask function to start executing the task, but for this I need to know the TASKNAME. On site if the service engineer accidentally renames the task name, the program stops execution. To avoid this problem, i would like to know how can I get the information about the tasks, such as the tasks those are created, their names, type of channels used (i/ps, o/ps, Analog channels), etc.
    This would help my application to execute without hard coding the task names as well as I can close the tasks if they are running before exiting the application. 
    Also, while developing the application, it happens that the application crashes, and the tasks remain open and running. After I fix the error and execute the program, the application reports the error, "-200089 Task Name specified conflicts with an existing task name". To recover from this error, I need to restart the PC, which is most frustrating and time consuming. If I could know the tasks and task handles those are already created and running, I can safely delete them or continue using them.
    I would appreciate if you could help me in resolving this problem.
    Thank and regards,
    Kunalb

     Hi Kunalb,
     To read the tasks currently configured on the system you can use this function: DAQmxGetSysTasks.  This will return an array of the tasks on the system. In that same section of the DAQmx C Reference Help they talk about obtaining the other parameters you mention.
     Another solution would be to add security to MAX such that only engineers with proper permissions could launch and/or modify the tasks. This can be done with Windows XP in the properties of a file.
     I hope these suggestions help! Have a great weekend.
     Best regards,
     MatthewW
     Applications Engineer
     National Instruments
    Message Edited by Matthew W on 08-10-2007 02:13 PM
    Attachments:
    DAQmxTasks.JPG ‏97 KB

  • How can i change the tasks in the context menu

    In the latest upgrade of Firefox, the "open in new window command is on top. How can I change the command to have "Open in new tab" on top?

    system fonts are not user editable.

  • How can I pause the task and resume it in some times?

    Hi all,
      I have been using traditional DAQ for some times and I swtich to DAQmx recently. In traditional DAQ, I can start a task, pause it for a while and then resume the task. But in DAQmx, I didn't see the same function. Is that any way to do the same thingin DAQmx? Thanks.

    Hi PKIM,
    Have you seen this thread?
    http://forums.ni.com/t5/Multifunction-DAQ/How-can-​I-pause-and-resume-analog-output-using-DAQmx/td-p/​...
    The thread details how to create a pause trigger in software. A better option may be to create a pause trigger in hardware. I'm not sure what type of data acquisition task you are doing, but the method should work regardless. Please let me know if you have any questions.
    Best Regards,
    Ian K.
    Applications Engineer
    National Instruments

  • Hi, How can I get the tasks I added to show up in Ical?

    Ive been trying get my tasks to show up in my calendar either on ical or outlook but am unable to, any ideas?

    You have to sync your calendar with some type of service like Google or iCloud or the MS one, is it Outlook.com now, and whatever calendar system/program you are using has to support the sync with that serivce for those tasks to propagate to all your devices.
    I use Thunderbird as an email program on both Mac and PC. My Android phone syncs to Google Calendar along with TBird add-on for a calendar on my PCs and the Mac calendar program in both Lion and Mt Lion sync to google as well. I can add a task on any of them and it shows up on all other devices.

  • How can I guarantee the consistency of tracsaction

    Hi,
    We have a product called SMS(Subscribe Management System). It is a CCB(Customer Care Billing) System used in DVB domain, and contains two server: billing server and customer server. Billing server is written using C++, Customer server is written using java. We uses corba for communications between Billing server and Customer server. Billing server uses omniORB-4.0.6(Opensource C++ ORB), Customer Server uses weblogic server 9.0, and uses weblogic ORB to invork corba service provided by Billing server in sessionstateless bean.
    We have succeeded in invorking corba service in slsb, and now my challenge is the tracsaction in two server must be consistent, so I think it should be use distributed tracsaction and two-phase commit, but omniORB-4.0.6 doesn't provide any tracsaction support.
    Could someone give me some advice for the question below
    1、Must I use distributed tracsaction and two-phase commit?
    2、How can I guarantee the consistency of tracsaction? I think I can define corba service throws exception, and in slsb, I can catch the exception and the CMT mechanism could guarantee the consistency of tracsaction; but if exception occurs in slsb, how can I rollback the tracsaction in billing server?
    Any insight into the problem is appreciated.
    Thanks
    Haocheng Yuan

    There you go …

  • How can I run all tasks in sequence container in sequence instead parllel

    Hi,
    I Have a foreach loop container. in that container having multiple execute process tasks. when I am executing the package all tasks are running parallel instead of sequential.
    so please kindly help me, how can I run the tasks sequential?
    Thanks

    As Sorna already wrote, connect the Tasks with a precedence constraint = green arrow, then they will be executed one by one.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    Hold down the Option key while you boot your Mac. Then, it should show you a selection of devices. Click your flash drive and it will boot from that.

  • How can I see the old backups of my previous Macbook done by Time machine in a Time capsule with my new iMac?

    How can I see the old backups of my previous Macbook done by Time machine in a Time capsule with my new iMac? I've changed from a Macbook to a iMac because that one stopped working and I cannot use it anymore. I've been able to import all the data of the last backup of the Macbook when setting the new iMac, but I cannot access now to the old backups of the Macbook and there are information that wasn't in the last backup and I would like to recover. Thank you very much.

    Yes, you can ..
    Read Q17 here.
    http://pondini.org/TM/FAQ.html
    Strongly recommend his whole section.. 14-17 and read it carefully to understand the ways you can make TM work for you.

  • I want to update iCloud account with new apple id but don't know password for old apple id.  Plus can no longer receive email at old apple id.  How can I delete the current iCloud account on my iPhone if the previously stated conditions exist?

    I want to update iCloud account with new apple id but don't know password for old apple id.  Plus can no longer receive email at old apple id.  How can I delete the current iCloud account on my iPhone if the previously stated conditions exist?

    If the old ID is yours, and if it is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Hi, how can I limit the number of emails I can see on my iPhone 5. Every time in delete one and older email gets added from my live.co.uk account (where I want to keep my 2500 emails) I just don't want many on my phone. Thanks

    Hi, how can I limit the number of emails I can see on my iPhone 5. Every time in delete one and older email gets added from my live.co.uk account (where I want to keep my 2500 emails) I just don't want many on my phone. Thanks

    You can't. Why on earth would you attempt to manage 2500 emails with setting up a folder structure or some means of doing so? Simply keeping them in an single inbox is not realistic, no matter what email client you use.

  • HT1420 I'm trying to authorize a new computer with an itune account, but my the computer statea that I have too many devices authorized. I only have 2 computers in my possession now. How can I deauthorize computer I don't have anymore without deauthorizin

    I have recently purchased a new lap top. Both my wife and I share our Itune music. When I purchesed the computer I was able to authorize my itunes account on it and move my purchaced music over from my iphone. However, I was not able to move my wifes music over because she has too many devices authorized under her account. Most of those computers are no longer in our possession and have been thrown out. How can she deauthorzise computer we don't have in our possession anymore without deauthorizing them all?

    Authorizing deauthorizing has NO effect at all on your itunes library.  You lose nothing.
    You should also alwasy have a backup copy.
    You MUST deauthorize all.
    You have the only answer there is.

  • Just got an ipad air and while creating my apple ID with credit card, I got to itunes gift card/ itunes gift section and was asked to supply a CODE to proceed with the form but I don't have the code. please how how can i get the code?

    Just got an ipad air and why creating my apple ID with credit card, a CODE was requested in the itunes gift card/ itunes gift in order to preceed with the form but I don't have the code. Please how can I find the code so as to enable me complete the form successfully. Thanks alot

    The iTunes gift card field is optional, you don't have to fill it in - leave it blank if you don't have a gift card.
    iTunes gift cards are country-specific (they can only be used in their country of issue), and they are not available in all countries - so you might not be able to dill it anyway.

Maybe you are looking for

  • Additional field in KB31N

    Is there any user exit to add new filed in KB31N to capture client specif information at item level.

  • Bought computers with motion and final cut on it. Is there any way to to upgrade without the password?

    Bought computer with software on the computer don't have password. Is there anyway to upgrade?

  • How to generate 8D Report

    Dear All, Iam trying to generate 8d report in Quality Notification... I created Quality notification with the notification type Q1 but after completing the notification when i take print preview for 8report only defect causes and defect desciption co

  • Title Problem - Always Over Black

    I'm trying to add a title to a clip I exported from iPhoto. I've unchecked the Over Black box and dragged it onto the clip time line. As it renders, the little image shows it being rendered correctly - over the top of the video. However, when it's fi

  • Unordered list with pop out menu

    I have an unordered list in a sidebar.  After a user clicks on the link in the sidebar, I want a larger pop up window to appear with several links inside of that box that they can click on.  What is the best way to do that?