Differnce between sync and async webservices

All,
What is the difference between sync and async web services?
Actually i am looking for a web service, which doesn't return a response. is this achievable?
Thanks

SRAVZ wrote:
What is the difference between sync and async web services?from a webservice protocal perspective there is no difference. you still make a request and get a response. the difference is in what the initial response contains. in a synchronous call, the initial response will contain the final result. in an asynchronous call, the initial response will not contain the final result, but may contain some sort of "ticket" which can be used in a subsequent call to get the final result. generally, the client will need to poll the webservice until the final result is available.
Actually i am looking for a web service, which doesn't return a response. is this achievable?it's not really possible to not return any response. http is a request/response protocol. if you don't have any data to return, then the response will be fairly minimal, but it will still exist.
Edited by: jtahlborn on Dec 2, 2012 9:22 AM

Similar Messages

  • Diff between sync and async

    hai all
    ihave confusion regarding synchronous and asynchronous with respect to session and calltransaction methods plz clear my confusion.
    thanks in advance.
    mounika

    HI,
    Synchronous Update
    In synchronous update, you do not submit an update request using CALL FUNCTION... IN UPDATE TASK. Instead, you use the ABAP statement COMMIT WORK AND WAIT. When the update is finished, control passes back to the program. Synchronous update works in the same way as bundling update requests in a subroutine (PERFORM ON COMMIT). This kind of update is useful when you want to use both asynchronous and synchronous processing without having to program the bundles in two separate ways. The following diagram illustrates the synchronous update process:
    Use this type of update whenever the changed data is required immediately. For example, you may want to link SAP LUWs together where one LUW depends on the results of the previous one.
    Asynchronous Update
    A typical R/3 installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. When an ABAP program reaches a COMMIT WORK statement, any function modules from CALL FUNCTION... IN UPDATE TASK statements are released for processing in an update work process. The dialog process does not wait for the update to finish. This kind of update is called asynchronous update.
    The following diagram shows a typical asynchronous update:
    For example, suppose a user wants to change an entry in a database table, or add a new one. He or she enters the necessary data, and then starts the update process by choosing Save. This starts the following procedure in the ABAP program:
    Firstly, the program locks the database entry against other users, using the enqueue work process (or the message server in the case of a distributed system). This generates an entry in the lock table. The user is informed whether the update was successful, or whether the lock could not be set because of other users.
    If the lock is set, the program reads the entry that is to be changed and modifies it. If the user has created a new entry, the program checks whether a record with the same key values already exists.
    In the current dialog work process, the program calls a function module using CALL FUNCTION... IN UPDATE TASK, and this writes the change details as an entry in table VBLOG.
    When the program is finished (maybe after further dialog steps), a COMMIT WORK statement starts the final part of the SAP LUW. The work process that is processing the current dialog step starts an update work process.
    Based on the information passed to it from the dialog work process, the update work process reads the log entries belonging to the SAP LUW from table VBLOG.
    The update work process passes this data to the database for updating, and analyzes the return message from the database. If the update was successful, the update work process triggers a database commit after the last database change and deletes the log entries from table VBLOG. If an error occurred, the update work process triggers a database rollback, leaves the log entries in table VBLOG, flags them as containing errors, and sends a SAPoffice message to the user, who should then inform the system administrator.
    The corresponding entries in the lock table are reset by the update work process.
    Asynchronous update is useful when response time from the transaction is critical, and the database updates themselves are so complex that they justify the extra system load of logging them in VBLOG. If you are running a transaction in a background work process, asynchronous update offers no advantages.
    Regards,
    Laxmi.

  • Naming sync and async operation

    Hi there,
    Does somebody know what is the rule for naming the synchronous version of an asynchronous operation (or vice verse)? Also, is the implementation pattern for the Create/Update/Delete/Sync EBO based EBS operations always supposed to be asynchronous request-response (while synchronous for Query/QueryList)?
    I know that Process() can be designed as both synchronous and asynchronous, but can the aforementioned have their synchronous version as well (asynchronous for Query/QueryList)?
    Regards,
    /Miko

    839396 wrote:
    Dear Friends,
    In 11g databgurad ,
    I planned to used 2 physical standy once in the same LAN and another in the DR site
    I need to have SYNC between primary and Standby 1 which is in same LAN
    I need to have ASYNC between primary an standy 2 which is in DR site
    Is it possible , if so how do i achieve this?
    Because i believe SYNC and ASYNC will be decided by oracle internally based on the Protection mode we choose so in that case
    we can't have mix up (SYNC and ASYNC) for standby databases?
    Regards,
    DBI think John already mentioned how to do, let me derive more .
    SQL> alter system set log_archive_dest_2='SERVICE=same_lan SYNC NOAFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=<db_unique_name>'
    SQL> alter system set log_archive_dest_3='SERVICE=DR ASYNC NOAFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=<db_unique_name>'
    >
         839396      
         Newbie
    Handle:      839396
    Status Level:      Newbie
    Registered:      Feb 23, 2011
    Total Posts:      14
    Total Questions:      8 (8 unresolved)
    >
    why all the questions are unanswered? Please close the threads and keep the forum clean. https://forums.oracle.com/forums/ann.jspa?annID=718

  • Statistics of Sync and Async messages in PI

    Hi,
    How can we count no of Sync and Async messages that were processed(sucessful or unsucessful) in PI.
    Does the worbench has any table or Report that will give me the statistics.
    Request some pointers on the same.
    Thanks ,
    Bhanu.

    Hi,
    Yes, such a report is available in RWB under Performance Monitoring. Simply choose the required time period, and use Display Options to add the Processing Mode (that will say: sync or async). You can also use Performance Monitoring to get more details about these messages.
    Hope this helps,
    Greg

  • Basic differnce between 000 and 001 clients.

    what is the basic differnce between 000 and 001 clients?
    why do we use client 000 as source client while client copy?

    Hi Kumar
    The basic difference between Client 000 and Client 001 is that Client 000 is client independent instace while Client 001 is Client dependent.
    Client 000 is SAP source client while Client 001 doesn't exits for every installation.
    Regards
    Shashank

  • Can processes be both sync and async

    Hi,
    When creating a BPEL process in JDeveloper, there are two pre-defined templates for synchronous or asynchronous processes. As such, I've been viewing a process as being either synchronous or asynchronous.
    However, after a bit of experimentation, I've come to the conclusion that a process can contain both synchronous and asynchronous operations.
    Does this sound correct? Should I not be viewing a process as being one or the other, and it is fact the operation that is sync or async?
    Cheers,
    Toby

    Some thoughts on that:
    -You can view sync as a special form of async, so each sync process is also an aysnc process. (I'm ignoring the tech diff like two ports, two partnerlinks here)
    -You can call sync and async (BPEL-) processes in one process.
    -If a process P contains only sync processes, that will make P sync.
    -If a process P contains (among others) at least one async processes, that will make P async.
    -If you have a async process, you can wrap its invocation with a timeout, making it a sync process.
    Roman

  • Differnce between unicode and non unicode

    Hi every body i want to differnce  between unicode and non unicode and for what purposes this ulities are used explain me little brief what is t code for that , how to checj version, how to convert uni to non uni ?
    Advance Thanks
    Vishnuprasad.G

    Hello Vishnu,
    before Release 6.10, SAP software only used codes where every character is displayed by one byte, therefore character sets like these are also called single-byte codepages. However, every one of these character sets is only suitable for a limited number of languages.
    Problems arise if you try to work with texts written in different incompatible character sets in one central system. If, for example, a system only has a West European character set, other characters cannot be correctly processed.
    As of 6.10, to resolve these issues, SAP has introduced Unicode. Each character is generally mapped using 2 bytes and this offers a maximum of 65 536 bit combinations.
    Thus, a Unicode-compatible ABAP program is one where all Unicode checks are in effect. Such programs return the same results in UC systems as in non-UC systems. To perform the relevant syntax checks, you must activate the "UC checks" flag in the screens of the program and class attributes.
    With TC: /nUCCHECH you can check a program set for a syntax errors in UC environment.
    Bye,
    Peter

  • Differnce between portal and collaboration

    Hi All
    What is differnce between portal and collaboration & uses as well?
    Thanks in advance
    Raja.S

    Periodic billing is used when you want to bill the customer at different points of time based on the periodicity or progress of the work. Milestone billing can be used for this type of billing purposes when you want to have billing control from the project.
    Resource billing is based on the resource consumption for the particular activities. Dynamic Item Processor (DIP) profile is used for the resource related billing.
    Further information acn be had from the link
    [http://help.sap.com/saphelp_47x200/helpdata/en/aa/96853478616434e10000009b38f83b/frameset.htm]
    Hope this is of some help
    Venu

  • Differnce between MMPV and OB52

    Wat is the differnce between OB52 and MMPV,
    Thanks
    Ramki

    Hi Ramki,
    This question has been answered already in several threads before.
    Please use the search before posting new threads.
    Hi Priyanka,
    Sam has already answered the question.
    Why are you replying with same answer and requesting points for that please do not do that.
    Thank you

  • Differnce Between /n and /BEND

    Hi,
    Differnce Between /n and /BEND?
    thanks and regards
    sarath

    Hi ,
    /n ends the particular transaction .
    /bend -  This means batch end .
                 This comes only in BDC concept .This is where you transfer data from the legacy system to sap R/3 system .When you are performing recording process and you dont want to continue any more you give /bend .

  • Differnce between periodic and Resourse billing.

    Differnce between periodic and Resourse billing, and how to do it in sap?..
    Can anyone suggest me step wise
    Thanks in advance

    Periodic billing is used when you want to bill the customer at different points of time based on the periodicity or progress of the work. Milestone billing can be used for this type of billing purposes when you want to have billing control from the project.
    Resource billing is based on the resource consumption for the particular activities. Dynamic Item Processor (DIP) profile is used for the resource related billing.
    Further information acn be had from the link
    [http://help.sap.com/saphelp_47x200/helpdata/en/aa/96853478616434e10000009b38f83b/frameset.htm]
    Hope this is of some help
    Venu

  • Design question - 1 source (sync) -- 2 receivers (sync and async)

    Hi All,
    What are the options available to design following scenario:
    Message (material update) sent to XI from 3rd party system, XI will update material synchronous calling BAPI in SAP, response will be sent back to 3rd party. The same message (material update) needs to be updated in SQL DB asynchronously.
    Do we need to use BPM for the above scenario (SystemA <> XI <> SAP and same message from SystemA -->XI --> SQL DB)???
    If I need to use BPM What are the steps to be used in BPM??
    Can we do this without BPM?? What is the procedure??
    Thx
    N@v!n

    Ahmad,
    I think that for 1:n scenarios, if you have synchronous receiver interfaces, you'll need BPM for that. That happens because XI wont be able to decide on which receiver response message will be actually mapped back to sender response. However, Im not sure it wont work for 1:2 scenario, if you have 1 sync and 1 async receiver interfaces. Theoretically, it could work. You'll have to test it in order to be sure. If you get "TOO_MANY_RECEIVERS" error then it is like I said, it wont process 1:n with sync interfaces.
    Kumar,
    as for the BPM, you dont have necessarily to have transformation steps inside BPM, you can normally perform mappings at interface determination runtime (given that your interfaces are unique for each send step inside BPM). The steps you really need inside BPM are:
    1. receive step in "open sync/async bridge" mode;
    2. send step in synchronous mode (for receiver RFC);
    3. send step in asynchronous mode (for receiver JDBC);
    4. send step in "close sync/async bridge" mode.
    Regards,
    Henrique.

  • Differnce Between OBIEE and BO And Cognos

    Hi experts.
    I would like to know the differnce between OBIEE , BO And Cognos. Is there is any white paper regarding this.
    Thanks in advance
    Regards
    Frnds

    Hi Friend ;)
    Check out this.. http://www.forumtopics.com/busobj/viewtopic.php?p=543325&sid=21c3e9a1b9dd85679d5e51c335b8a74e
    also http://oracle.ittoolbox.com/groups/strategy-planning/oracle-projectmanagement/what-is-obiee-1681803
    Thanks & Regards
    Kishore Guggilla
    Edited by: Kishore Guggilla on Nov 20, 2008 11:52 AM

  • STO DIFFERNCE BETWEEN UB AND NB

    HI all
    can someone plz tell me the differnces between po type NB and UB
    and y do we use UB for Intra Company and NB for Intercompany
    where exactly is the contrl\ol
    olz clarify

    hi
    UB: If the supplying plant and Receiving Plant belong to the same company code. then we use UB document type.
    If you use own document type you should ensure transport control field.
    NB : If the Supplying plant and Receiving plant belong to different company code then use document type NB.
    difference : IF the company need billing document for stock transfer use NB document.
    else use  UB document for the stock transfer  . 
    regards
    murali

  • Differnce between exception_init and init_exception

    I have declared an usernamed exception and wanted to call...
    I came to know that these can be called by using two of the below -
    Pragma Exception_init
    Pragma Init_Exception
    What is the differnce between[b] exception_init and init_exception ? And where they can be used ?
    awating for your rresponse ..!

    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0:
    SQL>declare
      2     my_exception exception;
      3     pragma exception_init(my_exception, -20101);
      4  begin
      5     raise my_exception;
      6  exception
      7     when my_exception then
      8        dbms_output.put_line(sqlerrm);
      9  end;
    10  /
    ORA-20101:
    PL/SQL procedure successfully completed.
    SQL>declare
      2     my_exception exception;
      3     pragma init_exception(my_exception, -20101);
      4  begin
      5     raise my_exception;
      6  exception
      7     when my_exception then
      8        dbms_output.put_line(sqlerrm);
      9  end;
    10  /
       pragma init_exception(my_exception, -20101);
    ERROR at line 3:
    ORA-06550: line 3, column 11:
    PLS-00127: Pragma INIT_EXCEPTION is not a supported pragma

Maybe you are looking for

  • How can I get another phone to print on my printer

    how can I get another phone to print on my printer

  • Speardsheets/word docs software

    I just switched from a Nokia to the Curve and can't figure out how to download my  MsOffice to it. I had that capability on the Nokia -- is this not possible with the Curve/Blackberry??

  • Windows Server 2012 - Remote Apps - Mapped Network Drive Error

    Hi Technet I'm configuring Windows Server 2012 Standard with RDS Remote Apps. When I try to publish apps fra a shared network drive the I get this error i powershell: C:\Users\administrator.PRO> New-RDRemoteApp -Alias "Microsoft C5" -DisplayName "Mic

  • IPad as a pen tablet for Adobe Illustrator?

    I was getting ready to purchase a Wacom Intuous Pen Tablet. But a better solution my be an iPad. Is anyone using their iPad as a graphic tablet with Adobe Illustrator on your desktop Mac? If so, how does the iPad connect to your desktop? What app, if

  • Move channel? replace colour channel by other channel?

    -actually a double question, two topics closely related. In an rgb image, I need to shift all pixels of one channel (as I would move an entire layer) using the move tool (selecting the channel in the channel panel). Which is impossible. (First two qu