Can a BPEL process wait for a second web service call

Hi,
My BPEL process is an asynchronous process, so the first web service call kicks off an instance of the process.
what i want is somewhere down in the process i can put a "receive" shape to pause the process and wait for another web service call to come in, once the "receive" shape gets the second web service call, the process continues on.
Is that a valid thing to do on BPEL?
i don't seem to be able to get it working.
i could change the WSDL for the BPEL process to publish two operations, the default "initiate" and another one called "continue", they both accept the same type of request message.
but when i test it, the BPEL process just can't accept message at the second operation, it always creates a new instance to handle the web service calls, even when the call is targeting "continue" operation.
Any ideas?
Thanks in advance!

I was just about to give up after the last post but then the "pick" shape hit my eye somehow ("thank God", that's all i can say)
and it did the trick, the "pick" shape can wait for an incoming call from a partner link.
so what i can achieve is this,
the first web service call sends some thing like
<Root><CorrelationId>1</CorrelationId><Content>first name</Content></Root>
on the "initiate" operation, just like calling an "initiate" method in java code
the BPEL instance gets initiated, reaches the "pick" shape and stops
then a second web service call comes in as
<Root><CorrelationId>1</CorrelationId><Content>last name</Content></Root>
on the "continue" operation, again just like calling a "continue" method
it works!

Similar Messages

  • Architecture/design for high volume web service calls from on Demand

    Hi,
    We have hundreds of end users (less than 600 users) that will be initiating web service calls from On Demand that will deal with both querying (stateful transaction) and inserting/updating data (stateless). Currently, we see a limitation on the number of stateless sessions (33) that can initiate web service calls. We are afraid this will lead to poor performance with the number of sessions that are allocated for stateless sessions.
    Can someone provide any design or framework information that can be implemented for high volume web service calls from On Demand? We anticipate 35K+ web service calls that will be initiated from On Demand per hour.
    Thanks.

    Hi,
    We have hundreds of end users (less than 600 users) that will be initiating web service calls from On Demand that will deal with both querying (stateful transaction) and inserting/updating data (stateless). Currently, we see a limitation on the number of stateless sessions (33) that can initiate web service calls. We are afraid this will lead to poor performance with the number of sessions that are allocated for stateless sessions.
    Can someone provide any design or framework information that can be implemented for high volume web service calls from On Demand? We anticipate 35K+ web service calls that will be initiated from On Demand per hour.
    Thanks.

  • What Exactly is BPEL PROCESS used for??

    Can anybody explain what is the difference between the various service components of BPEL, such as BPEL Process,Human Task,Business Rule, Mediator, what is the significance of each one of them.
    Edited by: rahulc on Sep 15, 2011 4:08 AM

    Hi',
    BPEL Process: This is a web service, and inside this we can give logic to do various things, just like any Java class would do, you can interact with DB, write/ read from a file, interact with queues, interact with other services, BPEL is used in scenarios where you want to integrate 2 system, i.e. polling for some DB table and passing that data in oracle apps system.
    Other scenario is you have a UI screen you enter some data there submit that data your BPEL process is called and inside the BPEL you have a DB adapter which is inserting the data in the DB table. BPEL is very strong and is backbone of Oracle SOA.
    Human Task: This is a separate service/application which is called when you require human interaction, suppose from inside the BPEL you invoke this Human task with details like whom your request should go to, userid, and some other description, When the BPEL process is invoked the request goes to this Human task, Human Task has a separate UI screen "BPM worklist" , so when the person gets into work-list with his username and pwd(which you have given in the human task) he can see the request for him, he can either approve the request of reject, etc. Remember you invoked the Human task from BPEL so the BPEL will wait for that time till the user in work list approve/rejects the request and then proceeds
    Business Rule: They are typically any rule engine which are used to make decisions, like logical decisions, why some one would use business rules as this can be done inside BPEL too, because business rules allows a non programmer to change the rules, this business rules are used in application where business data continuously changes, like banking where interest rates changes daily, with business rules a business analyst can change the rule and just apply this, you don't need to redeploy the whole application.
    Mediator: This is SOA 10G ESB, this is used to integrate 2 services and pass data between them, more like BPEL, however not as strong as BPEL.
    -Yatan

  • How to configure  Oracle BPEL Process Manager for JBoss 4.2.1

    can any body help me to configure Oracle BPEL Process Manager for JBoss 4.2.1

    Look here:
    http://download.oracle.com/docs/cd/E10291_01/doc.1013/e10538/toc.htm
    Marc
    http://orasoa.blogspot.com

  • COMMIT WORK and WAIT FOR n SECONDS

    I am designing a WebDynpro Java application.  It makes an update call followed immediately by a display call which should return the data that was just updated.  However, it appears that there is some DB latency involved and the data takes a few seconds to update.  The application displays old data if the display call is performed too quickly after the update call.
    All suggestions I could find point to having a Thread sleep on the Java side for a few seconds or have a WAIT FOR n SECONDS and/or COMMIT WORK AND WAIT statement in the ABAP function module.  Neither of these solutions is acceptable in a company-wide application where database latency could vary significantly based on traffic.
    I tried all kinds of functions (i.e. BAPI_TRANSACTION_COMMIT) as well as various forms of COMMIT WORK... nothing except a WAIT works correctly.  There must be a statement out there that waits for the database write to be complete!  How is this solved without picking an arbitrary WAIT time?  What am I missing?
    Thanks in advance!

    You can write the other way.
    declare one variable
    data : wa_try type i.
    wa_try = 10. -> set as 10 ,even you do not get value ,keep on incresing.
    after BAPI FM
    you can call comitt fm.
    after BAPI_TRANSACTION_COMITT
    just use simple logic.
    do wa_try.
    select * from table into table
                                  where record = bapi fm record ( You get in RET2 Message).
    if sy-subrc eq 0.
    exit.
    endif.
    Thanks
    Seshu

  • Why do I get a black screen telling me to wait for 40 seconds and then to 'skip ad'?

    I installed a Firefox update and since then, when I try to connect to a website, I almost always get a black screen telling me to wait for 40 seconds and then to 'skip ad'. This is very irritating and a waste of time. There are no ads to skip. Why is this happening and how can I stop it?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can check the connection settings.
    *Firefox > Preferences > Advanced > Network : Connection > Settings
    *https://support.mozilla.org/kb/Options+window+-+Advanced+panel
    If you do not need to use a proxy to connect to internet then try to select "No Proxy" if "Use the system proxy settings" or one of the others do not work properly.
    See "Firefox connection settings":
    *https://support.mozilla.org/kb/Firefox+cannot+load+websites+but+other+programs+can

  • Always need Disconnect power, press the power button wait for 10 seconds...

    I bought a HP computer for a couple of years ( Pavilion a6695it  ) It always works well. But in recent days, I can not start up it. I tried pressed power button on the front of the computer, nothing happend. Then I searched in hp site. finnally, I find this article http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00241069&tmp_task=solveCategory&cc=it&dlc=it&lc...
    In english version the article is here: 
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=bph06788&cc=us&destPage=document&lc=en&product=3...
    Power supply light is on or flashes
    Perform the following steps, in order, until power is restored or it is determined that there is a hardware failure:
    CAUTION:This product contains components that are easily damaged by ElectroStatic Discharge (ESD). To reduce the chance of ESD damage, work over a non-carpeted floor, use a static dissipative work surface (like a conductive foam pad), and wear an ESD wrist strap that is connected to a grounded surface, like the metal frame of a PC.
    Disconnect everything from the computer, including the power cord.
    With the power cord disconnected , press the power button on the front of the computer and wait for ten seconds.
    This is work for me. But now, my computer always need this methond that it can be started up.
    Disconnect power -> press the power button and wait for ten seconds -> then the system will  start up
    So my question: where is the problem? Which part is broken and i should replace? Thanks.
    regards,
    Youli
    This question was solved.
    View Solution.

    Hello youlichika,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand that you are not able to power on your desktop, and I would be happy to assist you in this endeavor! 
    In following the document for Troubleshooting Power Supply Issues, were you able to follow steps 3-9? If so, what were the results?
    If you have come to the end of the document, and you still have to drain the power from the computer to power it on, you can find a replacement part (5188-2627) through one of the sites available by following this link.
    I hope this helps!
    Best Regards   
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Wait for x seconds

    I just wish the video to wait for 3 seconds before starting,
    what action script command should I use?
    Thanks,
    Dario

    OK, the word video is confusing. I just wish to use as2 oe
    as3 (whichever is the best).
    I want the timeline to hold itself for 3 seconds and after
    that start the usual play. I am not loading a video, I am using the
    word video to refer to the normal execution of the .swf file by the
    flasf player.
    So, with this new data can you tell me how to tell the flasf
    player to wait 3 seconds before playing the .swf file? thanks.
    Dario

  • HT201263 in restoring process,"waiting for ipad" is written in itunes after that it get stuck

    in restoring process,"waiting for ipad" is written in itunes after that it get stuck

    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    If you can’t update or restore your iOS device
    http://support.apple.com/kb/ht1808
    iPad Stuck in Recovery Mode after Update
    http://www.transfer-iphone-recovery.com/ipad-stuck-in-recovery-mode-after-update .html
    iOS: Apple logo with progress bar after updating or restoring from backup
    http://support.apple.com/kb/TS3681
     Cheers, Tom

  • Wait for 30 seconds to execute the two functions

    Dear Sir
    I have a package in which two functions are written.Once the first function is executed I wanted the second function to wait for 30 seconds to execute the second functions.Could you please tell me how can I do it?
    Regards

    Go to $ORACLE_HOME/rdbms/admin and read the header:
      --  DESCRIPTION
      --    These routines allow the user to request, convert and release locks.Granting privileges on USER_LOCK is, at least according to the docs I've read, intended to limit the amount of damage a user with execute privs can do.
    You can, of course, find SLEEP in four different Oracle packages:
    * dbms_backup_restore
    * dbms_drs
    * dbms_lock
    * user_lock -- note the granularity is different from dbms_lock and the othersI have documented all of them here:
    http://www.morganslibrary.org/reference/sleep.html
    I think people point those that ask questions to DBMS_LOCK only because it is the one best known.

  • How to install Oracle BPEL Process Manager for OracleAS Middle Tier

    hi,
    i need to install BPEL process manager, so i download the following file from otn
    1.soa_windows_x86_101310_disk1
    2.soa_windows_x86_bpel_101310
    here i read the document named b28980.pdf from bpel\doc\pc.1012 to install BPEL PM
    so i start to complete the pre-installation task
    1.installed Oracle database 10g
    2.Run the Integration Repository Creation Assistant on the Database
    3.Install Oracle Application Server 10g Release3 (10.1.3.1.0) and select either the J2EE Server installation type or the J2EE and Web Server installation type. selected J2EE and Web Server installation type
    and installed according to the Oracle application server installation guide.
    installed OracleAS in the path : D:\product\10.1.3.1\OracleAS_1
    4.Install the current release of Oracle BPEL Process Manager for OracleAS Middle Tier
    here they mention to select the J2EE and Web Server installation type because that type is selected in Oracle AS installed in Oracle Application Server
    so i start to install the BPEL PM by selecting the setup.exe-->and shows the location source and destination
    default destination is : D:\product\10.1.3.1\OraBPEL_1 selected next on the screen
    the next screen is select installation type here there are two types named
    1.BPEL process Manager for Developer (371MB)
    2.BPEL process manager for Oracle AS Middle tier (107MB)
    i selected 2.BPEL process manager for Oracle AS Middle tier (107MB) and click next
    pop up window opens with title dependencies
    error:
    BPEL Process manager for oracle AS Middle tier will run on top of a supported Oracle Application Server 10.1.3.1.0 J2EE server and Web Server Or J2EE server instance. this location does not contain this instance. Please select new Oracle home that contains a supported instance.
    so i changed the destination path to : D:\product\10.1.3.1\OracleAS_1\BIN then also i got the same error.
    please any one mention the path for J2EE and Web Server instance for installing the BPEL PM for Oracle AS Middle Tier.
    Thanks in Advance
    Aswath Thaniga

    If you choose the developer version you will be fine.
    If you have installed J2EE and Web Server installation into D:\product\10.1.3.1\OracleAS_1 then this is the location you install your BPEL PM into, not D:\product\10.1.3.1\OraBPEL_1 or D:\product\10.1.3.1\OracleAS_1\BIN.
    D:\product\10.1.3.1\OracleAS_1 is what we call the ORACLE_HOME, generally we create a new home for each install, but in this case there is a dependency on 10.1.3.1 OC4J container. So it needs to be installed into 10.1.3.1 oracle home.
    The bin directory is just the executables for that home, its not the actual. home.
    cheers
    James

  • "CJS-30199 The CTC classes were not found after waiting for 900 seconds."

    Here's the snippet of the sapinst_dev.log
    I am trying to install Central Instance on a RedHat Enterprise 4 server (32bit). But stuck at
    this stage.
    TRACE      [iaxxejsexp.cpp:188]
               EJS_Installer::writeTraceToLogBook()
    2007-05-10 20:19:48.093 FSPath(/usr/sap/LN1/DVEBMGS02/j2ee/cluster/server0/apps/sap.com/tclmctcutilbasic_ear/servlet_jsp/ctc/root/WEB-INF/classes/com/sap/ctc/util/ConfigMainExt.class).isExisting() done: false
    TRACE      [iaxxejsexp.cpp:188]
               EJS_Installer::writeTraceToLogBook()
    2007-05-10 20:19:48.093 NWJavaInstance._waitForFile() - elapsed time = 910 timeout = 900
    TRACE      [iaxxejsexp.cpp:188]
               EJS_Installer::writeTraceToLogBook()
    NWException thrown: nw.usageTypes.ctcSyncWaitTimeout:
    The CTC classes were not found after waiting for 900 seconds.
    ERROR      2007-05-10 20:19:48
               CJSlibModule::writeError_impl()
    CJS-30199  The CTC classes were not found after waiting for 900 seconds.
    TRACE      [iaxxejsbas.hpp:460]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2007-05-10 20:19:48 [iaxxgenimp.cpp:736]
               showDialog()
    FCO-00011  The step configCAF with step key |NW_Doublestack_CI|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|15|0|NW_Usage_Types_Configuration_AS|ind|ind|ind|ind|0|0|NW_CONFIG_CAF|ind|ind|ind|ind|1|0|configCAF was executed with status ERROR .
    Your help is much appreciated.
    Thanks and Regards,
    Satish/

    Hello Satish
    Please do following checklist:
    1. Check that the J2EE engine is up and running (e.g. log in with Admin)
    2. Check that the following application is running:
         Visual Admin => Cluster => Server => Services => Deploy
         Select "Application" and look for "sap.com/tclmctcutilbasic_ear
    3. Try to continue installation
    It could be helpful to apply the patch for CTC as per note # 938261
    before restarting.
    and also try to add more memory allocation.
    If issue persists,
    - I'd like to know which installation DVD/CD number being using ?
    - The contents of the LABEL.ASC file.
    - The installation guide reference and title used for this install ?
    - SAPINST version ?
    - Oracle version/patch level ?
    - Operating system version/patch level ?
    See also:
    Note # 851251 - SAP NetWeaver 2004s Installation on UNIX
    Thanks
    Kenny

  • Windows 7 very slow logon, Waiting for the User Profile Service, winlogon event 6006

    Hello,
    Every so often one of our Windows 7 clients which is not normally having any delay at logon will take a very long time to login. This may be 10 or 20 minutes or up to an hour in some cases.
    Typically the event log will contain entries like
    The winlogon notification subscriber <Profiles> took 572 second(s) to handle the notification event (Logon).
    There is no further information available from Event Log Online Help, nor any additional detail as to why the logon event was so slow. During the delay the user will just see "Waiting for the User Profile Service" on their screen.
    We first started seeing this problem with Windows Vista and if anything the situation has not improved since then. It has never happened with any of our Windows XP users.
    We are currently planning a migration of computers to Windows 7 but stuff like this which has not been resolved in Windows over a 2 year period will stall that migration. The least improvement is to increase the event notification to give a lot more
    information on why the user profile processing has stalled.

    Hi,
    When did the issue begin to occur? Did it occur after installing certain application or applying certain policy?
    To troubleshoot the issue, please perform the following step.
    1. Restart the machine in Safe Mode with Networking to check whether the system can login quicker.
    2. Type “gpedit.msc” in Search box and press Enter. Navigate to the following location:
    Computer Configuration->Administrative Templates->System->Logon
    Please double click “Always wait for the network at computer startup and logon” policy and disable it.
    3. Perform a
    Clean Boot to check the result.
    Thanks,
    Novak

  • "Please Wait For The User Profile Service" message when logging on to TS 2008

    I have a Windows 2008 AD Domain with 2 Windows 2008 Terminal Servers.  Both are configured identically.  I have the TS Roaming profiles stored on a 3rd server and a GPO pointing all users to the roaming profiles.  On one of the servers everything works perfectly.  On the second server the users, after they input their credentials, get the following message "Please Wait For The User Profile Service".  The message can stay there for up to 3 minutes, then they are logged innormall with the correct profile.  This problem does not occur on log off.  Any help would be appreciated 

     99% of the times I had this problem it was caused by either DNS issues or network bindings.
    Are your servers multihomed? In other words: do you have multiple network cards? If so, make sure your "production" card is on top in the network connections -> advanced settings -> adapters and bindings.
    You could also enable user env logging (search microsoft how to do that)

  • System processes needed for web service call

    Hi experts,
    one theoretical question: how about the system processes needed for a web service call? If have created a test service that does nothing except to wait for 10 seconds. When I call it from outside, no extra process is busy (as seen in trx SM50). Is it possible that one web service call (from outside -> SAP machine) does not need a DIA or BTC process on SAP machine?
    Thanks in advance for your help!
    Kind regards, Matthias

    Hi,
    Of course a web service needs a dialog workprocess to run.
    But if you used the "wait" abap instruction, it may be that this instruction frees the work process ?
    Regards,
    Olivier

Maybe you are looking for

  • Values not getting populated in sapscript

    Hi, i have written a subroutine pool with ENTRY form . which is configured in NACE. when i run the T-code VT03N. in debugging mode in the subroutine i am getting the values . But the values are not gettng populated in sap script. open_form , write_fo

  • Firefox crashed suddenly and now it won't open at all. Please help

    Firefox crashed suddenly and now it wont open at all. When I click the icon all I get is the spinning pinwheel and have to force quit the program. I've tried rebooting the computer, uninstalling and reinstalling firefox, it won't open in safe mode...

  • Problem flattening dynamic PDF

    Hi all, we have a problem: we created a form using the designer and then we merge it with xml data. The output is a little pdf file (about 300kb) that take about 400MB of memory to be opened by acrobat reader. I supposed that the reason is that the m

  • How to create a 2 step workflow in CATS?

    Hello Friends, Iam trying to implement CATS. I have configured the data entry profile given the task ID TS31000007 (and the rule 157) and i see the workitem in managers inbox. My questions are 1. My client wants an additonal step: If the manager goes

  • Testing ABAP Report

    Dear All, Let me know how to test a ABAP Report using Transaction SCAT/SECATT. I have used SCAT to upload the data into SAP from legacy System but How to use it for testing a report. I have tried but couldn't able to find the solution. Regards, Vikas