Trying to invoking Concurrent Program from BPEL (How to change Resp n WSDL)

Hi,
I am trying to invoke a concurrent program from my BPEL process using Oracle Apps adapter. When i am using this adapter, it is not showing the required concurrent program in open interface folder. It showing only few but not one which i am trying to invoke. Can anybody explain me what is the issue with my apps adapter.
I am using apps schema for adapter.
Please explain me the below Queries.
1. Is apps schema enough to configure and get the required concurrent program for adapters?.
2. After creating apps adapter, in wsdl file it is showing apps user as : SYSTEM and Responsibility as : System Administrator. How can i change this responsibility to the required responsibility whihc can run my concurrent program.
I am not sure about system administrator responsibility can able to run the required concurrent program.
Regards,
Rs.

First of all does this scenario occur again.
"Works first/second time. Later gives this error."
After you restart the SOA server are you able to reproduce this scenario?
As already pointed out and from the error message, database connection is reset.
If you find this error again, try this out.
em -> home / oc4j_soa -> Administration -> JDBC Resources
Use the "Test Connection" option for the Connection Pool that you are using for your database JNDI.
It comes back and say "Connection to "XYZCP" established successfully." it is good to use.
Run the BPEL process again and once you find the error, come back and test the connection.
If it comes back with Error, diagnose based on the error message received.
Cheers
Kalidass Mookkaiah
http://oraclebpelindepth.blogspot.com/

Similar Messages

  • Problem in calling order import concurrent program from BPEL

    Hi all,
    Iam doing a sales order creation in oracle apps using Apps Adapter.
    I have successfully inserted the order into the interface tables using an Apps adapter.
    Now I need to run Order Import program from BPEL to move the data from interface tables to the base tables for which i use another Apps Adapter.
    When I invoke the OEIMP concurrent program from BPEL ,request id is returned.But the concurrent program fails showing incomplete parameters.
    But it works when I invoke it from the front end in oracle apps.
    I think the problem lies in passing the inputs to the concurrent program from the BPEL.
    Any help to solve the issue will be appreciated.
    Thanks,
    goutam

    Previously, I was passing the values to the concurrent program variables through ASSIGN component,which resulted in some namespace issues.Then I replaced it with TRANSFORM component.
    Also,First I assigned the values to the concurrent program variables as 'Vision Operations'(operating_unit), 'Online'(order_source) ,No (validate_only), No (validate_desc_flex) which are mandatory and just left non mandatory variables without assigning values.
    I changed those values as *'204','0','N','N'*. And also set non mandatory variables value as EMPTY.
    After doing all these I found the concurrent program catches all the parameter values correctly, and the records got imported from interface tables to the base tables.Thus the sales order got created successfully.
    Thanks,
    goutam

  • Problem while invoking ODI Scenario from BPEL

    Hi,
    I am trying to invoke a scenario from BPEL process through ODIPublicWebService.
    When I initiate the process, its failing with following error message....
    InvokeDeptAdmin_invokeScenario_OutputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="part1">
    -<ns1:invokeScenarioResponse xmlns:ns1="xmlns.oracle.com/odi/OdiInvoke/">
    <ns1:Ok>false
    </ns1:Ok>
    <ns1:SessionNumber>23101
    </ns1:SessionNumber>
    <ns1:ErrorMessage>Agent didn't execute this command:
    </ns1:ErrorMessage>
    </ns1:invokeScenarioResponse>
    </part>
    </InvokeDeptAdmin_invokeScenario_OutputVariable
    I observed that its failing as I am not giving any input to optional parameters like
    <xsd:element name="SessionName" minOccurs="0" type="xsd:string" />
    <xsd:element name="Keywords" minOccurs="0" type="xsd:string" />
    <xsd:element name="Variables" maxOccurs="unbounded" minOccurs="0" type="VariableType" />
    I can see following empty tags in my Audit of BPELConsole....
    <SessionName/>
    <Keywords/>
    <Variables/>
    And null is being considered as a variable by the Agent and following Exception is thrown in the Operator
    java.lang.Exception: Specified variable not found in the Repository : null
         at com.sunopsis.dwg.dbobj.SnpSession.a(SnpSession.java)
         at com.sunopsis.dwg.dbobj.SnpSession.y(SnpSession.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSessionPreTrt(SnpSession.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Please let me know how can I overcome this problem
    Appreciate earliest response.
    Thanks!!!
    Message was edited by:
    user644377

    Hi, how are you?
    I did works including a parameter in my scenario and put value in this parameter on call scenario from BPEL. If i remove the parameter on the scenario and the call, its dont works.
    Try include a parameter in your scenario.

  • How to call a concurrent program from a Custom JSP page.

    Hi,
    I have a custom JSP page which i have deployed by creating a form function with the path of the JSP Page
    and added the JSP Page to the OA_HTML top.
    Now, i need to call a concurrent program from the JSP Page, i have all the parameters in my page and i am using the standard class as below:
    ConcurrentRequest cr= new ConcurrentRequest(con);
    int requestId= cr.submitRequest("XXINV",programName,null,null,false,vec);
    I have verified my connection object and it is OK but i am getting the exception that user is not set to run the program.
    I tried the below code in my JSP page and getting -1 for all test variables :-
    int userId = wctx.getUserId();
    int respApplId = wctx.getRespApplId();
    int respId = wctx.getRespId();
    I think i need to set the context in JSP page to run the program..
    Pls help ....
    Regards
    Saurabh Jaiswal

    Hi,
    Thanks for the reply,,,
    This is a possible solution but this will allow to run the program anyhow.
    But the procedure which i call thru callable statement will start with
    fnd_global.apps_initialize (3825, 50603, 704);
    fnd_request.submit_request API call.
    Now, the values of user and Responsibilty is required in the program and it changes.
    With this approach we have to hardcode the user and resp.
    The same JSP page is attached to other responsibilities and there the concurrent program would get fired as if fired from the resp Id hardcoded as above.
    Need to capture user Id and RespId.
    How can i set the apps Context in JSP page???
    Regards
    Saurabh Jaiswal

  • How to EXPORT a concurrent program from one instance to another

    Hi,
    I am new to EBS.
    How to EXPORT a concurrent program from one instance to another. I dont want to use FNDLOAD.
    Is there any other way from where we can export the concurrent program to anothere instance from CLIENT connection server.
    Thanks
    Asis

    Hi;
    What is EBS version? Why you dont use FNDLOAD?
    Pelase see below thread
    Move concurrent program to prod
    Move concurrent program to prod
    Regard
    Helios

  • How to run a Concurrent Program from the back end?

    Hi,
    How to run a Concurrent Program from the back end?
    Is it Possible to see that Concuurent Request id which we run from the back end, in the front end?
    If yes, then Please Give reply how to write the code
    Thanks in Advance,
    Bharathi.S

    This is documented in Chapter 20 of the Application Developers Guide http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf. These MOS Docs also have some information available
    221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
    235359.1 - How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST
    HTH
    Srini

  • How to know the status of concurrent program from back-end in oracle apps

    Hi,
    Can you please explain me step by step how to know the status of the concurrent program from back end in oracle apps.
    Thanks,
    Raj

    When a record is being updated by a form, if you create a Pre-Update trigger on the block, the trigger will run for each record being updated.
    Same thing happens with a Pre-Insert and Pre-Delete trigger.

  • How to invoke WADL files from BPEL?

    Hi,
    I have an urgent requirement of invoking WADL files from BPEL process.
    Can anybody help me on how to do it and provide some documentation on it.
    Thanks in advance!!

    We had a similar requirement, BPEL calls the stored procedure, it calls the custom job created in Oracle EBS, this job runs the command script
    Hope this helps,
    N

  • How to terminate all Concurrent Programs from back end

    Hi,
    Can any one tell me how to terminate all Running Concurrent Programs from back end

    post this in the EB forum;
    also, investigate the built-in package fnd_concuurent
    begin
       for r in (select Request_ID from fnd_Concurrent_Requests
                 where Phase_Code != 'C') loop -- exclude requests that have successfully completed (R = Running P = Pending)
         fnd_concurrent.cancel_request(r.Request_ID);
         commit; -- you must perform a commit after each call
       end loop;
    end;
    /

  • FNDLOAD: How to remove a concurrent program from a request group

    Hi,
    I want to remove a concurrent program from a request group using FNDLOAD utility. Since impacted environment is Production (controlled environment) I do not want to remove concurrent program manually from the request group. Is there a way to use FNDLOAD utility for this purpose or some other means?
    Environment: Oracle EBS R12.1.1
    OS: Linux
    Thanks,
    Nitin

    Hi,
    Unfortunately this CP cannot be disabled as it has to be removed from certain RGs but not all. Also removing it through RG forms is always an option but production gatekeepers won't allow to do that. I would have done that in a min.
    If FNDLOAD is not an option then I guess only other option is pl/sql script.
    Best regards,
    Nitin

  • How to submit a concurrent program from a custom form.

    I'm use Forms [32 Bit] Version 6.0.8.26.0 (Production) and Oracle Applications : 11.5.10.2.
    I need execute a concurrent program from a custom form.
    In the custom form I have a button and when that button is clicked I want to submit this cocurrent program. I am using the below code.
    fnd_profile.get('USER_ID', v_user_id);
    fnd_profile.get('RESP_ID', v_resp_id);
    fnd_profile.get('RESP_APPL_ID', v_resp_appl_id);
    fnd_global.apps_initialize(v_user_id,v_resp_id,v_resp_appl_id);
    vn_request_id := apps.fnd_request.submit_request (
    'XBOL',
    'CSUV_GL_STATEMENT_EXPORT'                                                            
    ,NULL
    ,NULL
    ,FALSE
    commit;
    But the concurrent program finished in error:
    "ORACLE error 6550 in FDPSTP
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    The SQL statement being execute"
    The executable of the concurrent program is the next:
    PACKAGE CSUV_GL_STATEMENT_EXPORT_PK
    IS
    PROCEDURE Main (
    pouc_errbuf OUT VARCHAR2,
    poun_retcode OUT NUMBER,
    pinc_OWNER in varchar2,
    pinc_VESSEL in varchar2,
    pind_GL_DATE in varchar2,
    pinc_STATE_NUM in varchar2,
    pind_STATE_DATE in varchar2,
    pinc_EXCEL_LAYOUT in varchar2
    END CSUV_GL_STATEMENT_EXPORT_PK;
    And de value set of the all my concurrent program parameters is "240 Characters".
    I dont't understand why the concurrent program finished wrong.

    Hi,
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignoredPlease refer to "Oracle Applications Developer's Guide" manual for the correct syntax and the number of arguments you need to pass to this API.
    Oracle Applications Developer's Guide
    http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115devg.pdf
    Thanks,
    Hussein

  • Calling a concurrent program from CO in OAF

    Hi,
    I am trying to submit a conc. program from CO in OAF and in the controller code i am using the submitRequest method to submit the conc. progam but its giving error as method submitRequest() not found in class oracle.apps.fnd.cp.request.ConcurrentRequest, please help on this.

    Refer
    how to call concurrent program form oaf page
    http://prasanna-adf.blogspot.com/2008/11/call-concurrent-program-from-oa.html
    -Anand

  • Problem running a concurrent program from Reports

    Hi,
    I've come across a problem while running a concurrent program from Reports. The report is executed OK and at the end, I call a concurrent program by firing fnd_request.submit_request. I catch then the req_id returned and it gives me 0. I tried to replace the concurrent program, which is a UNIX shell script, with just a simple script that echos "hello", but anyway, I get 0 as return value from fnd_request.submit_request.
    The next step I tried to set apps_initialize with proper vUSER_ID, vRESP_ID and vRESP_APPL_ID, but did not get away with that. My last try was to hardcode vUSER_ID to a sysadmin user, in case this was rights-related issue but did not work as well.
    Am now looking into a possibility of actually getting the error, why it failes. I found some posts where FND_MESSAGE.RETRIEVE and FND_MESSAGE are used but this apparently does not work under Reports (am using reports builder v. 9.2.0.4.0).
    Any suggestions how to solve this issue?
    Thanks,
    David Lacina.

    Hi,
    Make sure that the concurrent program you are calling exists (case sensitive) and is enabled.
    Create a PL/SQL package and use that to call your request - the you'll be able to use fnd_message.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • I want to submit a concurrent program from pl/sql. Please help me.

    Dear all,
    I want to submit a concurrent program from pl/sql. But I failed. Please help me.
    Detail:
    I create a concurrent program in 'Cash Management, Vision Operations (USA)' responsibility. <strong>And it be submitted success in EBS</strong>.
    Then
    I create a test script in pl/sql. And use 'FND_GLOBAL.APPS_INITIALIZE' to initialize ebs, then use 'FND_REQUEST.SUBMIT_REQUEST' to submit
    the consurrent program, But the procedure aways return <strong>0</strong>.
    I cannot found the reason. Please help me.Thanks.
    <em>Attached informations may describe the problem:
    1.The concurrenct submitted success in EBS.</em>
    request_id = 4750655 (Sorry, I dont know how to add pictures.)
    <em>2.The initialize informations which from SQL</em>.
    SELECT FCR.REQUESTED_BY USER_ID
    ,FCR.RESPONSIBILITY_ID
    ,FCR.RESPONSIBILITY_APPLICATION_ID
    ,FA.APPLICATION_SHORT_NAME
    ,FCP.CONCURRENT_PROGRAM_NAME
    FROM FND_CONCURRENT_REQUESTS FCR
    ,FND_APPLICATION FA
    ,FND_CONCURRENT_PROGRAMS FCP
    WHERE FCR.PROGRAM_APPLICATION_ID = FA.APPLICATION_ID
    AND FCR.CONCURRENT_PROGRAM_ID = FCP.CONCURRENT_PROGRAM_ID
    AND FCR.REQUEST_ID = 4750655;
    Result: user_id = 1318;
    responsibility_id = 50579;
    application_id = 260;
    application_short_name = 'CE';
    program_short_name = 'CALLK009';
    <em>3.The test script code.</em>
    <p>
    -- Created on 2008/10/22 by ERIC
    declare
    -- Local variables here
    Wv_conc_req_id VARCHAR2(10) DEFAULT NULL;
    BEGIN
    FND_GLOBAL.APPS_INITIALIZE(
    1318
    ,50579
    ,260
    Wv_conc_req_id := FND_REQUEST.SUBMIT_REQUEST(
    'CE'
    ,'CALLK009'
    ,NULL
    ,SYSDATE
    ,FALSE
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    DBMS_OUTPUT.PUT_LINE(Wv_conc_req_id);
    COMMIT;
    end;
    <em>4.The concurrent program code.</em>
    create or replace package body CALLTEST is
    PROCEDURE T1(PvO_errbuf OUT VARCHAR2
    ,PvO_retcode OUT VARCHAR2)
    IS
    BEGIN
    FND_FILE.PUT_LINE(fnd_file.log, 'TEST');
    END;
    end CALLTEST;
    </p>

    Can you check from which schema you are executing FND_REQUEST? You can try as follows;
    Connect to your required schema, create a synonym on apps.fnd_request, connect from apps and finally execute grant all on apps.fnd_request to all.
    You can check for relevance from Doc ID: Note:147495.1
    Please do keep in the mind the soultion above should be applied to a test/dev EBS instance first.
    I hope this would be of help.
    Saad

  • Error while invoking Java Program in BPEL

    When I'm invoking a simple "Hello World" Java Program from BPEL it is working fine but while invoking a Java Program which is downloading some data from a website I'm getting the following error:
    Faulted while invoking operation "Helper" on provider "CMP_GBL_IN_URL_Download"
    <messages><input><Invoke_Helper_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><payload xmlns:ns1="http://www.arrow.com/CMP_GBL_IN_Exchange_Rate_Interface_Controller">
    <ns1:input/>
    </payload>
    </part></Invoke_Helper_InputVariable></input><fault><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>[email protected]0 : Could not invoke 'Helper'; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: No method named 'Helper' found that match the parts specified</summary>
    </part><part name="detail"><detail>org.collaxa.thirdparty.apache.wsif.WSIFException: No method named 'Helper' found that match the parts specified</detail>
    </part></bindingFault></fault></messages>
    Can anybuddy please help me on this.

    In what way do you invoke the Java program?
    Riko

Maybe you are looking for

  • Display data from entity into a Jtextareaþ

    Hello everyone, How do I display data I am retrieving from the entity into a Jtextarea? Here is how I am doing it: in the main class of the application client, I set up a method which stores the remote interface so I can call the method anyway of my

  • To get tax values for a particular Purchase Order No.

    In ME23N,when i enter PO no.,in the "Invoice" tab at Item level,when i click on the "TAXES" button, I get all the different values of taxes . I want ot create a report in which i will enter the PO no. and it should display all these values in differe

  • Report on open outbound deliveries

    Hi all, Is there a SAP transaction/report that shows a sales order, Purchase order and outbound delivery number where information is by various users, showing outbounds still open over a time period. Thanks in advance. J

  • Conactenating with diffrent spaces

    I have a req. of conactenating vaiables with diffrent space values. E.g. Var1, Var2 ,Var3............Var n  need to be seperated by diffrent space values.     Like Var1  Var2         Var3..                      .. Varn      or    Var1            Var2

  • Purchase subscription; is more than rates?

    Hi today i have purchased my 400 minutes by subscrition to pakistan with au$ 29.99 dollars but still i cant found my credit and also more amount deducted as compare rates plz reply Post transferred to create its own new thread (topic); subject/title