How to get ConversationID after invoking BPEL using WebService

Dear all, I have a problem. I have a BPEL process, and I invoked it using Webservices successfully, and the created process instance ran well. However the invoke is asynchronous call and does not return anything.I had a look of the JSP files of BPEL console, it generates the ConversationID using GUIDGenerator.generateGUID(), and this value get set in the property of NormalizedMessage. I have 2 questions
1. Is it possible to include the ConversationID inside the SOAP message so that I can using a pure JAX-WS client to invoke BPEL and get the generated ConversationID?
2. Do you guys have some experienced on how to use the NormalizedMessage.setPayload with a Map argument, not a XML string? So that I construct the Normalized message without adding a XML part
Rgds
Edited by: Linh Dang, Renewtek Vn on Oct 23, 2009 2:13 AM

I can answer about 1st:
You can get a conversationID using function ora:getConversationID(). Just Assign this function to your Reply.

Similar Messages

  • When I open a pdf file, after a few seconds, it hides the toolbar and I don't know how to get it back.  I use multiple monitors and, without being able to grab the toolbar, I am unable to move the pdf file to a different monitor.  How do I stop this?

    When I open a pdf file, after a few seconds, it hides the toolbar and I don't know how to get it back.  I use multiple monitors and, without being able to grab the toolbar, I am unable to move the pdf file to a different monitor.  How do I stop this?

    Does Firefox switch to full screen if you press F11 ?
    You can also try the F10 key to see if that brings up the menu bar.
    * If the above steps didn't help then see http://kb.mozillazine.org/Corrupt_localstore.rdf
    Note: Do not delete localstore.rdf in the program folder (Windows: "C:\Program Files\Mozilla Firefox\defaults\profile\") (Mac: "/Applications/Firefox.app/defaults/profile/")

  • How to get ProcessInstanceId after Workflow KickOff. Am able to get the InvocationId

    How to get ProcessInstanceId after Workflow KickOff. Am able to get the InvocationId.
    This is the Snippet :
    InvocationResponse response = myServiceClient.invoke(request);
    invocationId = response.getInvocationId();
    System.out.println("ClientParams="+response.getClientParameters());
    System.out.println("OutputParams="+response.getOutputParameters());
    System.out.println("invocationId="+invocationId);
    JobManager jobManager = new JobManager(myFactory);
    JobStatus jobStatus = null;
    JobId myJobId = new JobId(invocationId);
    jobStatus = jobManager.getStatus(myJobId);
    System.out.println("Job Status: " + jobStatus.getStatusCode());
    if (jobStatus.getStatusCode()==JobStatus.JOB_STATUS_COMPLETED)
    System.out.println("INVOCATION COMPLETED SUCCESSFULLY!");
    InvocationResponse jobResponse = jobManager.getResponse(myJobId);
    jobManager.terminateJob(myJobId);
    jobResponse.getInvocationId();
    Process id need to be fetched after Workflow Kickoff
    Can anyone please help me..?

    There are 5 process level variables that get populated when you invoke a process. They are
    /process_data/create_time
    /process_data/creator_id
    /process_data/id
    /process_data/status
    /process_data/update_time
    Within the xPath builder you can differentiate them from other process variable because they are italicized.
    Now you can create your own process variable - let's say called pid - and have it contain the process id which is stored in /process_data/id.
    The xPath would look something like
    /process_data/@pid = /process_data/@id
    If the pid variable is marked as an 'output' variable, then it will be returned as part of the InvocationResponse.
    Jasmin

  • How to get resultset from oracle procedure use ejb3

    how to get resultset from oracle procedure use ejb3
    i know oracle procedure should like this
    Create or replace PROCEDURE resultset_test(
    aaa IN NUMBER,
    bbb OUT sys_refcursor) ....
    but what s the ejb3 scripts looks like? please give me an example or link~
    ths

    - there are no EJB3 scripts, only compiled application code
    - the part of the EJB spec that deals with databases is called the Java Persistence API, but likely you are just looking for the JDBC API.
    Now you should know what to Google to get your "example script": "java jdbc oracle procedure"

  • How to get inputtext's inputvalue by using javascript

    how to get inputtext's inputvalue by using javascript?
    and how to judge whether its be filled or empty string

    Why do you want to use javascript..? Why not action listener..? You can check whether its an empty string by checking
    if(str != null && !str.equals("")) {..}
    where str is the variable for inputText value.
    If this is not helpful, do provide more details on which version of JDev you are using and what are you trying (your usecase).
    regards,
    ~Krithika

  • How to get Default Activity(Infotype 0315) using BAPI

    Hi Everyone,
    I have a task to get Default Activity by Personal number for my third party application. Unfortunately function HR_READ_INFOTYPE is not allowed for Remote Call.
    Is there any simple way how to get this value from system using BAPI? E.e. using RFC_READ_TABLE function(but i don't know table name ).
    Thanks,
    Roman.

    Table -> PA0315        Field ->LSTAR (Activity Type)
    Class :CL_HRPT_INFOTYPE_0315
    You can also use FM "CATS_GET_INFOTYPE_0315" RFC Enable
    Good luck !
    ~Saquib

  • How to get ESB instance invoked from BPEL instance

    In BPELConsole, if i go to the flow diagram and click on the activity which invokes an ESB service, I am able to see a link "Click here to see this instance in the ESB Console." which then takes me to the particular ESB instance. I noticed that the URL is like - http://adc60120fems.us.oracle.com:7785/esb/esb/EsbConsole.jsp?view=instances&view_context=50018. So essentially, using the BPEl instanceId, it is able to go the ESB instance.
    I want to understand how it happens ? Does ESB metadata stores this ?
    Thanks.

    Well I would like to say this is rocket science but it really isn't.
    BPEL knows the instance number it invoked by using the header of the SOAP message. As BPEL know the instance number then it's just a matter of appending this instance number to the string http://adc60120fems.us.oracle.com:7785/esb/esb/EsbConsole.jsp?view=instances&view_context=.
    As you will notice this is the url for all the esb instanceses minus the instance number so if you want to go to instance 1234 this is the url.
    http://adc60120fems.us.oracle.com:7785/esb/esb/EsbConsole.jsp?view=instances&view_context=1234
    If you are in the console itself just you the link, it should be the same.
    cheers
    James

  • How to get a report "closed" when using the ReportViewerBean

    I read the article /people/ted.ueda/blog/2008/12/20/crystal-reports-for-eclipse--ensuring-report-cleanup from Ted Ueda regarding cleaning up reports for the RAS server.  However, I'm trying to figure out how to get this accomplished for a thick client accessing a local rpt file and then displaying that file using the ReportViewerBean.  I can't seem to get the report closed. I tried the dispose() techniqe from the article, but with no success.
    My basic process is:
    1) Press button on main frame to open and set up report
    2) Pass open report (via ReportClientDocument) object to the viewer frame class (which views report in separate window using ReportViewerBean)
    3) Close viewer window when done, destroy ReportVieweBean and close ReportClientDocument
    4) Press button again on main frame later to view report
    If I set up the report but skip the step of sending the report to the viewer frame, ReportClientDocument.isOpen() will go from true to false after I execute just  the ReportDocumentClient.close() command.  However, if open the viewer frame, I cannot get the report closed.
    In the window closing event for my viewer window I have:
    public void quit() {
                try {
                    CrystalReportViewer crv1 = new CrystalReportViewer();
                    crv1.setReportSource(reportClientDoc.getReportSource());
                    reportViewer.destroy();  //this is a ReportViewerBean
                    reportClientDoc.close();  //this is a ReportClientDoc
                    crv1.dispose();
                    //the following is always true
                    System.out.println("ReportClientDoc.isOpen: " + reportClientDoc.isOpen());
                    this.dispose();
                catch(ReportSDKException ex) {
                    ex.printStackTrace();
                catch(ReportSDKExceptionBase ex) {
                    ex.printStackTrace();
    I'm using the latest Java CR4E 12.2.205.825 downloaded from the CR4E website.  Any ideas?
    Edited by: Joseph Huber on Mar 16, 2010 8:13 PM

    The webservices you are trying to use are not the ones used for enterprise, they are used for non-enterprise applications accessing reports that are stored in a specific location on the web server.
    Here are samples that use our Enterprise SDK:
    [https://boc.sdn.sap.com/samples/84/1193|https://boc.sdn.sap.com/samples/84/1193]
    Here are samples that use our Enterprise Web Service SDK:
    [https://boc.sdn.sap.com/samples/84/1197|https://boc.sdn.sap.com/samples/84/1197]
    You can also look at the SDK documentation available here:
    [http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]

  • How to get 2nd line in smartforms using template

    how to get 2nd line in smartforms main window using template. i have also defined loop .

    if possible can you try with the TABLES..
    Put one TABLE in your MAIN window
    create table lines as per your requirment...consider all lines like 6 for header, 1 for main, 1 for total
    Now, you will find three section under the tables: header, main, footer...
    in header section, create a table line, assign one of the proper lines from the line types.. repeat for your all lines.
    in main section, you can access your data form the loop.
    the footer secion will be called, just after the main will be finished.
    Regards,
    Naimesh Patel

  • [CS2]How to get the Image Width & Height using JS (ILLUSTRATOR CS2)

    Hi,
    How to get the Image width & height of an Image using javascript .Im using Illustrator CS2.
    Any sample code
    Regards
    MyRiaz

    you can reference the dimensions of a loading image (or swf)
    by referencing the target movieclip's dimensions AFTER loading is
    complete. ie, use preloader code or the onLoadInit() method of a
    moviecliploader listener.

  • How to get all events from calendar using calcalendar store framework.

    Hello,
    I have two problems with calcalendar store framework programming.
    1. I need all the event which are present in iCal calendar.Event may be present in year 2025 or 2050. and if the event is recurring then i need only one event.
    2. if the event is recurring then i need only one event within the calendar event predicates (start date and end date). I am not suppose to give the occurrence date for event.
    How can I implement this with CalCalendar store framework.
    Thanks And Regards,
    xmax.

    Hi,
    Per my knowledge, there is not a method to get all the recurring events using CAML query in one request.
    Here is a thread with the similar question for your reference:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/eed6be6d-c9ff-4d01-80de-8a4b67d3d7a5/use-caml-to-get-all-recurring-events-from-a-calendar
    We can get all the calendar list events at first, then filter all the recurring event from the result set.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to get the Mobile information by using J2ME application

    hi all,
    I am lakshman.I am developing an application in j2me,I want my program compatible to all mobile devices.
    I want to know properties and the device information with the help of a j2me application.I got the information with the help of System.getProperty(String).I found some of the information like sms,videocapture,and some of the values and the variables ... in the following
    platform...null
    encoding...ISO-8859-1
    configuration...CLDC-1.0
    profile...MIDP-2.0
    locale...null
    fileconnection...1.0
    comport...null
    hostname...iwmc-07
    sms...null
    smartcard...null
    location version...null
    sip version...null
    m3gversion...null
    mms...null
    videocapture...false
    videoencoding...null
    snapshotencoding...encoding=png encoding=jpeg encoding=gif encoding=bmp
    audioencoding...null
    supaudcap...false
    suprecod...false
    supmixing...false
    mediaversion...1.1
    streamcont...null
    I want to know these are the only variables or is there are lot...
    Now my question is I want to get the information of the service provider and also the present location that the mobile was present.I think there was some method to get that ...I want to get what firmware it was using .
    Can anybody tell me that way and also the package to get the information
    thanks in advance
    lakshman

    hi all,
    I am lakshman,I found the answer for my question,By using the Location API(jsr179).It was not include in the WTK2.2.for that i have downloaded the WTK2.3 then i have implemented the location api in the application and it was working.
    And I have the following warning...
    Warning: To avoid potential deadlock, operations that may block, such as
    networking, should be performed in a different thread than the
    commandAction() handler.
    I am running the application from my Emulator(by using the default color phone).I have to check that in the device.
    Can any body please give me the way to fix that,i want to test my application from my emulator is that is possible if possible ...how?.what is the procedure to implement..
    thanks in advance

  • How to get a default variant screen using LDB.(HR-ABAP)

    Hello,
                   I have created a report using LDB PNP.Used HRBEN000 as a hr report category.
    Got a default selection screen, I want to add one more field, for this I have selected the field from further
    selection button, and displayed on the screen. Now i saved as a variant.
    how to get this default screen using the variant in the report/program when executed?
    Please help me.
    Thanks&Regards,
    Archana.

    Hi ,you camn always make your Z report category...if the field is present in further selection tab..
    if not you can create your own paramerter or select option.....
    but you have to handle it in your code ....as get pernr wont filter on its basis(parameter select optyin created by you)
    but why loop at screen is not working?
    let me know how you are doing...
    have to do it in at selection-screen output

  • How to get sql server performance counters using query?

    Hai i want to see my sql server performance counters like, Full Scans/sec,  Buffer
    Cache Hit Ratio,  Database Transactions/sec, User
    Connections, Average Latch Wait Time (ms), Lock
    Waits/sec, Lock Timeouts/sec, Number
    of Deadlocks/sec, Total Server Memory, SQL
    Re-Compilations/sec, User Settable Query. If any one know how to get it by using query means, please help me.
    Thanks in advance

    Hello,
    Below is query created by Jonathan Kehayias for measuring Perfom counters using DMV sys.dm_os_performance_counter.
    You can download book from below link
    https://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/
    DECLARE @CounterPrefix NVARCHAR(30)
    SET @CounterPrefix = CASE WHEN @@SERVICENAME = 'MSSQLSERVER'
    THEN 'SQLServer:'
    ELSE 'MSSQL$' + @@SERVICENAME + ':'
    END ;
    -- Capture the first counter set
    SELECT CAST(1 AS INT) AS collection_instance ,
    [OBJECT_NAME] ,
    counter_name ,
    instance_name ,
    cntr_value ,
    cntr_type ,
    CURRENT_TIMESTAMP AS collection_time
    INTO #perf_counters_init
    FROM sys.dm_os_performance_counters
    WHERE ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Full Scans/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Index Searches/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Lazy Writes/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Page life expectancy'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'Processes Blocked'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'User Connections'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Waits/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Wait Time (ms)'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Re-Compilations/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Memory Manager'
    AND counter_name = 'Memory Grants Pending'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'Batch Requests/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Compilations/sec'
    -- Wait on Second between data collection
    WAITFOR DELAY '00:00:01'
    -- Capture the second counter set
    SELECT CAST(2 AS INT) AS collection_instance ,
    OBJECT_NAME ,
    counter_name ,
    instance_name ,
    cntr_value ,
    cntr_type ,
    CURRENT_TIMESTAMP AS collection_time
    INTO #perf_counters_second
    FROM sys.dm_os_performance_counters
    WHERE ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Full Scans/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Index Searches/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Lazy Writes/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Page life expectancy'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'Processes Blocked'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'User Connections'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Waits/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Wait Time (ms)'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Re-Compilations/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Memory Manager'
    AND counter_name = 'Memory Grants Pending'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'Batch Requests/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Compilations/sec'
    -- Calculate the cumulative counter values
    SELECT i.OBJECT_NAME ,
    i.counter_name ,
    i.instance_name ,
    CASE WHEN i.cntr_type = 272696576
    THEN s.cntr_value - i.cntr_value
    WHEN i.cntr_type = 65792 THEN s.cntr_value
    END AS cntr_value
    FROM #perf_counters_init AS i
    JOIN #perf_counters_second AS s
    ON i.collection_instance + 1 = s.collection_instance
    AND i.OBJECT_NAME = s.OBJECT_NAME
    AND i.counter_name = s.counter_name
    AND i.instance_name = s.instance_name
    ORDER BY OBJECT_NAME
    -- Cleanup tables
    DROP TABLE #perf_counters_init
    DROP TABLE #perf_counters_second
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • How to get EKBE-BUDAT (GR Date) using data of BSEG

    hI ,
    My requirement is to get the GR date from EBKE which is in the field BUDAT.
    my report already has BSEG data , using that i want to get the EKBE-BUDAT.
    One of the Function person suggested this:
    Select LFBNR
               LFPOS
               LFGJA
       From EKBE
    into it_ekbe_temp
      where  EKBE -EBELN = EKBEBSEG-EBELN
          AND  EKBE-EBELP = EKBEBSEG-EBELP
          AND  EKBE-BELNR = EKBEBSEG-BELNR
          AND  EKBE-BUZEI = BSEG-BUZEI
    once we get these 3 fields, again put a query on EKBE and get the GR date BUDAT
    select a~ebeln
              a~ebelp
              a~budat
              a~lfbnr
              a~lfpos
              a~lfgja
    into table it_ekbe
    from ekbe as a
    inner join bseg as b on
    b~ebeln = a~ebeln
    and b~ebelp = a~ebelp
    for all entries in it_ekbe_temp
    where a~gjahr = it_ekbe_temp-lfgja
    and   a~belnr = it_ekbe_temp-lfbnr
    and   a~buzei = it_ekbe_temp-lfpos.
    endif.
    Can anyone suggest me how to get the GR date from EKBE using BSEG data.

    Hi Mayank,
    You can get through by hitting MSEG table first , get the required key info. and then hit EKBE and get BUDAT.
    Pass ebeln,ebelp to mseg and get the key info. ...
    Hope this helps.
    Thanks,
    Amresh

Maybe you are looking for