$.ajax(): what is the difference between calling a transaction and Xacute query?

I can call either:
$.ajax({
     type: "GET",
     url: "/XMII/Illuminator?QueryTemplate=somePathToXacute/someXacute&Content-Type=text/xml&Params...",
     dataType: "xml",
     success: function (result) {...}
$.ajax({
     type: "GET",
     url: "/XMII/Runner?Transaction=somePathToTransaction/someTran&Content-Type=text/xml&Params...&OutputParameter=outXML",
     dataType: "xml",
     success: function (result) {...}
When I call an Xacute query, the first execution works, but the second doesn't. I figured out that I have to add "cache:false" and then it is okay. If I use a transaction instead of Xacute query, it works with or without cache. Why is that? Transactions are not cached? Only Xacute queries?
What is the cost difference in time if I call directly a transaction, instead of an Xacute query? What is the advantage to call an Xacute at all?
Thx

Hi Tibor,
These points should clarify your doubts:
1. Transactions are not cached but queries are.
2. Advantage of using Xacute query is that the Illuminator service used to call Xacute query supports JSON from MII 14.0. Use content-type as text/json in the URL. But the restriction is that the transaction should return the XML in MII Rowsets-Rowset format.
3. Though both the calls would take almost time(I think) but you should call transaction directly( no need to wrap it with Xacute query if not required).
Regards,
Rohit Negi.

Similar Messages

  • What is the difference between Wine, Wineskin, Winery and Wine Bottler, and how do I get Wine to *ACTUALLY* work in Mountain Lion?

    Ok, so this is my first post here and I am admittedly terrible at forums. Someone might say, "This was addressed in the ___________ thread by __________! Go read it!" --- that may be so but I've spent enough hours trying to google this problem into submission to no avail based on what is apparently working for others, so I would like a chance to get specific answers to specific questions that aren't from Mar 2011, etc.
    So first of all, I'm confused by all the various Wine programs/apps/whatevers. I've seen Wine, Wineskin, Winery, Wine Bottler, and at this point I wouldn't be surprised if there are even more than that. What's the difference between all of these and how do they work with one another? What do I actually need to get windows programs working?
    All of my google searches have led me to people giving out fish, but no one giving out fishing lessons. I'm not a pro at mac and windows and all that, but I'm a fairly bright individual who gets VERY frustrated, very quickly, when I don't understand the why and how of something I'm attempting.
    I've also found "answers" where the person attempting to help starts off helpful enough, but degrades into the most archaic of techno-babble after about 5-6 sentences. On the other hand, I've watched tutorials on youtube where the poster decides to skip (apparently crucial) sections of the tutorial, and mutters such gems as: "... you might wanna have to run Wine first before you can do anything, cuz I think it has to configure it and set up a bunch of stuff" 
    O.o
    A happy medium between techno-babble and the most basic of explanations would be ideal for me, and I'd imagine for others as well.
    Here is a summarized history of my relationship with Wine:
    Diablo II - I downloaded this awesome thing which ended up being... uh... I guess Diablo II in a Wineskin "wrapper". I'm not sure, all I know is that it's a D2 icon, and if I go to 'show package contents', it's got C drive, Program Files, et cetera inside of it. I double click it, it launches D2, and it works like a dream. <3
    'Vanilla Install' - That's what I heard someone call it. It was the command/terminal style install using xquartz and xcode found at http://www.davidbaumgold.com/tutorials/wine-mac/. I followed every instruction to the letter, and got all the way to '$ sudo port install wine', at which point it started going smoothly, free from the possible error he described regarding the installation of xcode, and then just failed after I left the room to use the restroom and came back. Please don't ask me to repeat what the error was, because honestly, after reading more things on the interwebs, I'm confused as to why it's even necessary to go through all of that, so I'd rather not try that route again anyways, rendering the error message quite possibly irrelevant.
    Wine + Wine Bottler - So I decided to try to seek out an easier method, as I know that one must exist that doesn't involve command lines. I found a video tutorial at http://www.youtube.com/watch?v=m0BBkISOcEA, and oh man would it be great if that method had actually worked. Again, I followed all instructions provided to procure my free fish, and at the point in the video where he declares that "xquarts or x11 will open" - it doesn't open. Nothing opens. I was trying to install Star Sonata, btw.
    So here I am, thoroughly worn out, frustrated at all the random places Wine is installed on my mac now, and just want someone to explain it all, from top down, without getting toooooooo technical on me. I know that might be asking a lot...

    ## I know that the poster has already found a solution, but the following is a possible answer for others that have similar issues.
    For Winebottler, just go to their website and download it. Run the program. Choose .wine as your prefix (best choice) or whatever suits you best. You'll need a functional X11. If you can't use the one that comes with your mac, download the latest one from the website.
    If your issue is one with Winebottler's Wine not running correctly due to X11, then you have a pretty ugly problem, although a simple upgrade is the best solution (Upgrade XQuartz.app).
    http://www.davidbaumgold.com/tutorials/wine-mac/#part-1
    The above website is the easiest way to get REAL wine on your computer. First of all, Wineskin WInery, etc. are NOT WINE. They are 3rd party apps that may use Wine or may have originally part of Wine, but they are no longer up to date with Wine. WineBottler is currently up to date with the stable releases of Wine (but not the maintenence releases).
    For the website tutorial and to run Wine on your mac without using a thrid party app, you will need to know a few things.
    First, you will need to know basic control of the command line. That means, sudo (you must know the administrator password to your computer), and the forms of cd (change directory).
    Second, you will need Xcode. Download 4.2 (stable) or whatever other versions you want, but beware: It is over 1 GB, and you will need time for it to work.
    Third, you will need to get MacPorts and configure it. The tutorial should have this data.
    When you download wine (use sudo port install wine-devel for the latest development release of wine), it will first download a lot of dependencies. This will take a while. After that, it will download wine itself.
    After obtaining wine, to run a program, open the terminal.app window.
    cd desktop/XYZ/ZYZ\ WRQ
    The above will first enter the desktop, then folder XYZ, then folder ZYZ WRQ. From here,
    wine th11e.exe
    Or whatever executable you are trying to open. (Using Subterranean Animism as my example).
    It should, in theory, run the program. Watch the terminal for errors. If there is an X11 problem, then it's not wine acting up. If the app crashes or has other issues, check the Wine Application Database to see if your app is compatible with wine.
    If you have any further questions or other things, feel free to reply; I may or may not get back to you, but there's a good chance that someone will come in eventually. Otherwise, the Wine Wiki should have some information.

  • What is the difference between Component,Server,Tool and Software?

    HI,
    What is the difference between Component,Server,Tool and Software?
    SHABEER

    Hi
    Every individual part that constitutes in making an SAP System is called a COMPONENT.e.g DB instance, Java CI, ABAP CI etc
    SERVER is the actual composition of different components of SAP.e.g. a database alongwith can instance would constitue an application server.
    TOOLS are the products from different organisations (SAP or Non SAP) that can be used for different functionalities like keeping a check on jobs, monitoring of the system , e.g Tivoli
    SOFTWARES are a kind of tool that help you to bring up results from the system in a user acceptable format. These are utilities that act as interfaces between the user and the system.
    regards
    Chen

  • What is the difference between lock mode E and X.

    what is the difference between lock mode E and X.

    Hi
    The lock mode controls whether several users can access data records at the same time. The lock mode can be assigned separately for each table in the lock object. When the lock is set, the corresponding lock entry is stored in the lock table of the system for each table
    Lock modes:
    S (Shared):
        Several users (transactions) can access locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock set on an object that already has a shared lock will be rejected.
    E (Exclusive).
    An exclusive lock protects the locked object against all types of locks from other transactions. Only the same lock owner can reset the lock (accumulate).
    X (eXclusive non-cumulative):
      Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. Each further lock request will be rejected.
    O (Optimistic):
      Optimistic locks initially behave like shared locks and can be converted into exclusive locks.
    If it is helpful rewards points.
    Regards
    Pratap.M

  • What is the Difference between Price List , Modifier and Qualifier ?

    Hi All,
    What is the difference between Price List , Modifier and Qualifier ?
    What are tables affected and joins ?
    Thanks in advance

    Hi Selva,
    If you look at the parameters,you can see more options in GRID.The following are those extra options which you cannot see in LIST.
    I_CALLBACK_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    I_STRUCTURE_NAME =
    I_BACKGROUND_ID = ' '
    I_GRID_TITLE =
    I_GRID_SETTINGS =
    IT_ALV_GRAPHICS =
    IT_ADD_FIELDCAT =
    IT_HYPERLINK =
    I_HTML_HEIGHT_TOP =
    I_HTML_HEIGHT_END =
    IT_EXCEPT_QINFO =
    If the caller specifies an EXIT routine, this routine must have the following form:
    FORM top_of_page.
    Module REUSE_ALV_COMMENTARY_WRITE can then be called within the EXIT routine. This module is responsible for formatting the header information and also ensures online HTML formatting. In the print preview or in batch mode, the text passed is then output in the normal format.
    If module REUSE_ALV_COMMENTARY_WRITE cannot be used, you must use two parameters instead. In I_CALLBACK_TOP_OF_PAGE you pass the form routine that is responsible for normal formatting in batch mode or in the print preview mode. The form routine that is responsible for online formatting, is passed in parameter I_CALLBACK_HTML_TOP_OF_PAGE. If one of these parameters is not filled, top-of-page is not output in the respective mode.
    In function module documentation,if you click those parameters,you can see the explanation.
    If you need more information,get back.Otherwise,kindly close the thread by rewzarding points for useful replies.
    Mueksh Kumar

  • What is the difference between Open hub destination and Info spokes

    what is the difference between Open hub destination and Info spokes?
    Please seacrh the forum before posting a thread
    Edited by: Pravender on Aug 16, 2010 11:17 AM

    Hi,
    When a user initiates open hub extraction by creating an InfoSpoke, behind-the-scenes activity involves OO ABAP which is calling classes to determine each of the different components involved in making the open hub extraction possible.  In particular, this enhancement will focus on 2 standard classes: one used to determine file destination name and path and the other to control the user interface of the InfoSpoke which will ultimately allow the user to enter his/her own filename and path.
    The open hub service enables us to distribute data from an SAP BW system into external data marts, analytical applications, and other applications. With this, we can ensure controlled distribution using several systems.
    The central object for the export of data is the InfoSpoke. Using this, we can define the object from which the data comes and into which target it is transferred.
    Regards,

  • What is the difference between string != null and null !=string ?

    Hi,
    what is the difference between string != null and null != string ?
    which is the best option ?
    Thanks
    user8729783

    Like you've presented it, nothing.  There is no difference and neither is the "better option".

  • What is the difference between a mac-book, and an I-pad?

    What is the difference  between a mac-book and an I-pad?

    The Macbook is a computer (running Mac OS X), an iPad is a tablet (running iOS). What are thinking of using it for ? The Mac is more powerful than iPad, so if you need processing power then that will be better suited for your needs. If you will mainly be using it for media (films, music), internet browsing, emails, ebooks, then an iPad would be sufficient.
    Macbook Air : http://www.apple.com/macbook-air/
    MacBook Pro : http://www.apple.com/macbook-pro/
    iPad Air : http://www.apple.com/ipad-air/

  • What is the difference between Safari 6.0 and 6.0.2?

    What is the difference between Safari 6.0 and 6.0.2?

    here is a copy of the text from Software Update
    Safari 6.0.2 is recommended for all users running OS X Lion v10.7.5
    and includes security updates.
    For more information, please visit: http://support.apple.com/kb/HT1222

  • What is the difference between Windows Workflow Activities And SharePoint Workflow Activities in Workflows?

    Hi All,
    What is the difference between Windows Workflow Activities And SharePoint Workflow Activities in Workflows?
    Thanks in Advance!

    Hi,
    Both are developed with .NET framework, per my knowledge, the biggest difference would be the environment they applied to: one for Windows platform, one for SharePoint platform:
    http://msdn.microsoft.com/en-us/library/vstudio/ms733615(v=vs.90).aspx
    http://msdn.microsoft.com/en-us/library/office/ms446847(v=office.14).aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • What is the difference between Condition Type PB00 and PBXX

    Hallow all,
    Can anybody please explain, What is the Difference between Condition type PB00 and PBXX in Materials Management Pricing?
    And also please explain control or Application of both on Price determination ??
    Thanks in Advance !!!!!

    Hi,
    PB00 condition type is used for automatic pricing in PO
    PBXX condition type is used for manual pricing in PO
    In Pricing  access sequence  play a vital role . If you need pricing automatic in the PO, you have use of Access Sequences and Schema Group of Vendor.You can see the difference in both standard condition type PB00 and PBXX, where as PB00 is assigned to Access sequence(0002)but in case of PBXX no access sequense assigned.
    Regards,
    Biju K

  • *what is the difference between web flow engine and sap business workflow?*

    Hi,
    Can any please guide me by telling what is the difference between web flow engine and sap business workflow?

    >
    Arghadip Kar wrote:
    > Check this link
    >
    > http://www.workflowing.com/id35.htm#1__what_is_the_difference_between
    ... which is exactly where the FAQ item came from!

  • What is the difference between E-Business suite and people soft enterprise

    hi every one
    I want know what is the difference between E-Business suite and people soft enterprise

    These are two different ERP systems - the former developed by Oracle and the latter by Peoplesoft (before it was acquired by Oracle).
    http://www.oracle.com/us/products/applications/ebusiness/018714.htm
    http://www.oracle.com/us/products/applications/peoplesoft-enterprise/018725.htm
    HTH
    Srini

  • What is the difference between Ps CC 2014 and Ps CC?

    What is the difference between Ps CC 2014 and Ps CC? Ps CC seems to work well, with OnOne Suite 9, but Ps CC 2014 won't load OnOne Suite 9, because it says it isn't properly signed. Any help with these issues? Thanks.

    Get a suitable version from OnOne and install it.
    Mylenium

  • Whats's the difference between MacBook Pro 13 and 13.3 ?

    This, Whats's the difference between MacBook Pro 13 and 13.3 ?

    Firstly, you are not in MacBook Pro forum, so you need to get your bearings.
    2nd check the specs page
    http://www.apple.com/support/macbookpro
    Then Bing/Google for reviews, Ars is always good but dozens have done one.
    2011 brings Intel Sandy Bridge processor boards, Thunderbolt, SATA3 (6G) along with options for SSD and much more RAM (can save buying RAM and doing the upgrade yourself)

Maybe you are looking for