KIMYONG: FND_SUBMIT API에 관해

Purpose
정확한 FND_SUBMIT API GUIDE 를 제공하기 위해.
Solution
FND_SUBMIT API를 사용할경우
parameter passing 이 잘못되거나
initialize 하는 부분이 missing 되어 동작이 안 하는경우가 있습니다.
이럴경우 아래 부분이 들어가 있는지 확인해 주어야 합니다.
API guide에 따르면 FND_REQUEST submit할때 아래와 같은 Guide가 있습니다.
The following is the code we recommend using before calling Applications APIs:
vRESP_APPL_ID number;
vRESP_ID number;
vUSER_ID number;
BEGIN
vRESP_APPL_ID := apps.fnd_profile.value('RESP_APPL_ID');
vRESP_ID := apps.fnd_profile.value('RESP_ID');
vUSER_ID := apps.fnd_profile.value('USER_ID');
apps.fnd_global.apps_initialize(vUSER_ID,vRESP_ID,vRESP_APPL_ID);
So add a call to fnd_global.apps_initialize before the fnd_request call.
If your fnd_request call still fails,
Reference
Oracle Application Developer Guide
http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115devg.pdf

Similar Messages

  • FND_SUBMIT API

    Can I use FND_SUBMIT API in Oracle Server Release 7.3.4.4.0 ? This is to be used for Oracle Applications version 10.7.
    If this can be used, can anyone help me out with the way to use it.
    Thanks

    Not sure about that particular option, but in general you pass in pairs - an example from code I didn't write but maintain (so if this is the worst possible way, I apologize)
    proj_req_id6 := FND_REQUEST.SUBMIT_REQUEST('SQLGL', 'XXXX_GLGENLED_PDF',
                              'XXXX General Ledger',
                              '',dummy_default,
                              'P_SET_OF_BOOKS_ID='||v_rep_cmp.set_of_books_id,'P_CHART_OF_ACCOUNTS_ID=101',
                              'P_KIND=L','P_CURRENCY_CODE='||v_rep_cmp.currency_code,
                              'P_ACTUAL_FLAG=A','P_BUD_ENC_TYPE_ID=100',
                              'P_START_PERIOD='||'&1','P_END_PERIOD='||'&1',
                              'P_MIN_FLEX='||v_min_flex||'.'||v_emp_cost_center.COST_CENTER||'.00000.000.000.000.00',
                              'P_MAX_FLEX='||v_max_flex||'.'||v_emp_cost_center.COST_CENTER||'.99999.999.999.ZZZ.99',
                              'P_PAGE_SIZE=180',chr(0),'',
                              '','','','','','','','','','');You see where I have option pairs - for example
    'P_ACTUAL_FLAG=A'Tells my program that the value for parameter P_ACTUAL_FLAG is A
    This example is from a SQL*Plus script, hence the &1 for the value substitutions.
    Hope that helps

  • KIMYONG :  API ( FND_SUBMIT,  FND_REQUEST) Sample Code 소개

    Purpose
    Extension 개발자들이 간혹 요청하는 Standard API (FND_SUBMIT, FND_REQUEST)의 sample code입니다.
    Configuring the Script
    FND_SUBMIT test procedure and sample code
    Creates a procedure called fnd_submit_test that can be registered and run as a concurrent program.
    This procedure will use the FND_SUBMIT API to submit a request set. (Function Security Reports - This request set should be seeded, if it is not available the values in the script may need to be changed.) The procedure will then place itself in a Paused status until the request set completes.
    Running the Script
    1. Install this procedure in the APPS schema.
    2. Register the procedure as a concurrent program
    Caution
    This script is provided for educational purposes only and not supported by Oracle Support Services. It has been tested internally, however, and works as documented. We do not guarantee that it will work for you, so be sure to test it in your environment before relying on it.
    Proofread this script before using it! Due to the differences in the way text editors, e-mail packages and operating systems handle text formatting (spaces, tabs and carriage returns), this script may not be in an executable state when you first receive it. Check over the script to ensure that errors of this type are corrected.
    Script
    REM +==========================================================================
    REM | Concurrent Processing Sample Code
    REM |
    REM | FILE:
    REM | fnd_submit_test.pls
    REM |
    REM | REVISION:
    REM | $Id$
    REM |
    REM | DESCRIPTION:
    REM | FND_SUBMIT test procedure and sample code
    REM | Creates a procedure called fnd_submit_test that can be registered
    REM | and run as a concurrent program.
    REM | This procedure will use the FND_SUBMIT API to submit a request set.
    REM | (Function Security Reports - This request set should be seeded, if
    REM | it is not available the values in the script may need to be changed.)
    REM | The procedure will then place itself in a Paused status until the
    REM | request set completes.
    REM |
    REM | INSTRUCTIONS:
    REM |
    REM | 1. Install this procedure in the APPS schema.
    REM |
    REM | 2. Register the procedure as a concurrent program
    REM |
    REM |
    REM +==========================================================================
    whenever sqlerror exit failure rollback;
    create or replace procedure fnd_submit_test (errbuf out varchar2,
    retcode out varchar2) as
    success boolean;
    req_id number;
    req_data varchar2(10);
    srs_failed exception;
    submitprog_failed exception;
    submitset_failed exception;
    begin
    -- Use FND_FILE to output messages at each stage
    fnd_file.put_line(fnd_file.log, 'Starting test...');
    -- Read fnd_conc_global.request_data, if available then we have been
    -- reawakened after the request set has completed.
    -- If so, exit.
    req_data := fnd_conc_global.request_data;
    if (req_data is not null) then
    errbuf := 'Done!';
    retcode := 0 ;
    return;
    end if;
    -- Step 1 - call set_request_set
    fnd_file.put_line(fnd_file.log, 'Calling set_request_set...');
    success := fnd_submit.set_request_set('FND', 'FNDRSSUB43');
    if ( not success ) then
    raise srs_failed;
    end if;
    fnd_file.put_line(fnd_file.log, 'Calling submit program first time...');
    -- Step 2 - call submit program for each program in the set
    success := fnd_submit.submit_program('FND','FNDMNFUN', 'STAGE10', 'System Administrator', chr(0));
    if ( not success ) then
    raise submitprog_failed;
    end if;
    fnd_file.put_line(fnd_file.log, 'Calling submit program second time...');
    success := fnd_submit.submit_program('FND','FNDMNMNU', 'STAGE10', 'System Administrator', chr(0));
    if ( not success ) then
    raise submitprog_failed;
    end if;
    fnd_file.put_line(fnd_file.log, 'Calling submit program third time...');
    success := fnd_submit.submit_program('FND','FNDMNNAV', 'STAGE10', 'System Administrator', chr(0));
    if ( not success ) then
    raise submitprog_failed;
    end if;
    -- Step 3 - call submit_set
    fnd_file.put_line(fnd_file.log, 'Calling submit_set...');
    req_id := fnd_submit.submit_set(null,true);
    if (req_id = 0 ) then
    raise submitset_failed;
    end if;
    fnd_file.put_line(fnd_file.log, 'Finished.');
    -- Set conc_status to PAUSED, set request_data to 1 and exit
    fnd_conc_global.set_req_globals(conc_status => 'PAUSED', request_data => '1') ;
    errbuf := 'Request set submitted. id = ' || req_id;
    retcode := 0;
    exception
    when srs_failed then
    errbuf := 'Call to set_request_set failed: ' || fnd_message.get;
    retcode := 2;
    fnd_file.put_line(fnd_file.log, errbuf);
    when submitprog_failed then
    errbuf := 'Call to submit_program failed: ' || fnd_message.get;
    retcode := 2;
    fnd_file.put_line(fnd_file.log, errbuf);
    when submitset_failed then
    errbuf := 'Call to submit_set failed: ' || fnd_message.get;
    retcode := 2;
    fnd_file.put_line(fnd_file.log, errbuf);
    when others then
    errbuf := 'Request set submission failed - unknown error: ' || sqlerrm;
    retcode := 2;
    fnd_file.put_line(fnd_file.log, errbuf);
    end;
    rem ===================================================================
    commit;
    exit;
    Reference
    자세한 사항은 Note 221542.1 를 참고하세요.

    Not sure about that particular option, but in general you pass in pairs - an example from code I didn't write but maintain (so if this is the worst possible way, I apologize)
    proj_req_id6 := FND_REQUEST.SUBMIT_REQUEST('SQLGL', 'XXXX_GLGENLED_PDF',
                              'XXXX General Ledger',
                              '',dummy_default,
                              'P_SET_OF_BOOKS_ID='||v_rep_cmp.set_of_books_id,'P_CHART_OF_ACCOUNTS_ID=101',
                              'P_KIND=L','P_CURRENCY_CODE='||v_rep_cmp.currency_code,
                              'P_ACTUAL_FLAG=A','P_BUD_ENC_TYPE_ID=100',
                              'P_START_PERIOD='||'&1','P_END_PERIOD='||'&1',
                              'P_MIN_FLEX='||v_min_flex||'.'||v_emp_cost_center.COST_CENTER||'.00000.000.000.000.00',
                              'P_MAX_FLEX='||v_max_flex||'.'||v_emp_cost_center.COST_CENTER||'.99999.999.999.ZZZ.99',
                              'P_PAGE_SIZE=180',chr(0),'',
                              '','','','','','','','','','');You see where I have option pairs - for example
    'P_ACTUAL_FLAG=A'Tells my program that the value for parameter P_ACTUAL_FLAG is A
    This example is from a SQL*Plus script, hence the &1 for the value substitutions.
    Hope that helps

  • Error while using FND_REQUEST.SUBMIT_REQUEST

    Hi,
    While using the function FND_REQUEST.SUBMIT_REQUEST i am getting an error *' PLS-00302: component 'SUMBIT_REQUEST' must be declared'*
    I have passed the required paramerters like application short name, concurrent program short name,null,null,false,and the concurrent program parameters.
    FND_REQUEST.SUBMIT_REQUEST('XXAAA','XX_CON_SHORTNAME',null,null,false,v_path)
    The parameter description=> null
    The parameter start_time=> null
    The parameter sub_request=>false
    Please help why i am getting the error *' PLS-00302: component 'SUMBIT_REQUEST' must be declared'*
    Thanks in advance.
    RS

    Pl post details of OS, database and EBS versions, along with the code you are executing and how you are executing it.
    See these MOS Docs for sample code
    Sample PLSQL Script to Call Autoinvoice Import Program RAXTRX Using FND_REQUEST.SUBMIT_REQUEST in Release 12 (Doc ID 1127399.1)
    How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST (Doc ID 235359.1)
    Sample Code to Call Customer Interface RACUST Program using FND_SUBMIT Api in 11i and R12          (Doc ID 429278.1)
    HTH
    Srini

  • Calling Workflow background process' explicitly in pl/sql code

    Hi All,
    We have a requirement where we have to call the 'Workflow background process' explicitly in pl/sql code.
    What we want is that we are having some request that runs via a concurrent program, but before that request completes we want to put that on wait and run the 'Workflow background process' explicitly in the code itself (user need not go and manually run it).
    Can anyone please advice me how do I do this in a PL/SQL code that is called via a concurrent program.
    Regards,
    Shruti

    Pl post details of OS, database and EBS versions.
    One option is to use the FND_SUBMIT API
    Most Commonly Used FND APIs in APPS Customizations [ID 221549.1]
    Sample Code to Call Customer Interface RACUST Program using FND_SUBMIT Api in 11i and R12 [ID 429278.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_SUBMIT&objID=c3&dateRange=all&userID=&numResults=15
    HTH
    Srini

  • Pick selection list generation - srs

    EBS R12
    OS Linux
    I am submitted the program "pick selection list generation - srs", by using the fnd_submit API, this is supposed to pick the Sales Order and Release the Sales Order.
    Program is getting completed successfully, but is not picking the Sales Order.
    Can any body tell me the required setups for using this program.
    Regards,
    PK

    Hi PK,
    Try the following..I think for some last options.
    1. Subinventory specified as release criteria, and the order lines do not have a subinventory specified.
    2. A specific sales order is entered, and the scheduled ship date or request date ranges are outside the dates specified in the order. For example, order 12345 was entered and booked with scheduled ship date of Nov 1, 2009; and when pick releasing this order, a scheduled ship date range of Oct 1 2009 through October 31 2009 was specified.
    3. Shipping warehouse specified on the Pick Release form is not the same as the shipping warehouse specified on the order.
    Thanks
    -Arif.

  • KIMYONG : FND_USER 를 manual 하게 udpate하는 API

    Purpose
    FND_USER table 에 data load하는 API 소개
    SolutionThe API FND_USER_PKG defined in file AFSCUSRB.pls, has several public procedures that are available for customization purposes.
    Doing the following:
    grep -i public $FND_TOP/patch/115/sql/AFSCUSRB.pls
    will return:
    REM converting validate_user_name() from private to public
    -- Not exposed publicly, use UpdateUser or UpdateUserParty wrappers.
    -- CreateUserId (PUBLIC)
    -- CreateUserIdParty (PUBLIC)
    -- CreateUser (PUBLIC)
    -- CreateUserParty (PUBLIC)
    -- UpdateUser (Public)
    -- UpdateUserParty (Public)
    -- LoadUser (Public)
    -- LoadUserParty (Public)
    -- DisableUser (PUBLIC)
    -- ValidateLogin (PUBLIC)
    -- ChangePassword (PUBLIC)
    -- ChangePassword (PUBLIC)
    -- GetReEncryptedPassword (PUBLIC)
    -- SetReEncryptedPassword (PUBLIC)
    -- MergeCustomer (PUBLIC)
    -- DelResp (PUBLIC)
    -- AddResp (PUBLIC)
    -- EnableUser (PUBLIC)
    -- CreatePendingUser (PUBLIC)
    -- RemovePendingUser (PUBLIC)
    -- AssignPartyToUser (PUBLIC)
    -- change_user_name (PUBLIC)
    -- set_old_user_name (PUBLIC)
    -- MergePartyId (PUBLIC)
    -- Public function
    -- CreateUser (PUBLIC)
    -- CreateUserId (PUBLIC)
    -- UpdateUser (Public)
    -- userExists (Public)
    These are the avaiable routines.
    However, there is nothing documented on how to use them so the implementation details are up to the individual developer.
    Reference
    Note 364898.1

  • Kimyong :  API를 사용해서 Role , 권한등을 부여하는 방법

    Goal
    가끔 개발환경에서 아래와 같이 API를 사용해서 role , responsibility 를 추가하고자 하는조 합니다.
    여기서 그 방법을 안내하고자 합니다.
    Solution
    Q. Role Assign 하는 API
    A. API wf_local_synch.PropagateUserRole
    Example:
    Begin
    wf_local_synch.PropagateUserRole(
    p_user_name => '&USER_NAME',
    p_role_name => '&ROLE_KEY');
    commit;
    end;
    Q2: USER를 Assign 하는 API
    A2: API fnd_user_resp_groups_api.Insert_Assignment
    begin
    fnd_user_resp_groups_api.Insert_Assignment (
    user_id =>&USER_ID ,
    responsibility_id => &RESP_ID,
    responsibility_application_id =>$APPL_ID ,
    start_date => &START_DATE,
    end_date => &END_DATE,
    description =>'Sample
    example' );
    commit;
    end;
    This shall raise an error if the responsibility is assigned to user. But if you need to update responsibility assignment in case of responsibility existence, you can use the following API:
    begin
    fnd_user_pkg.addresp(
    '&User_Name',
    '&Responsablity_Application_Short_Name',
    '&Responsibility_Key',
    '&Security_Group',
    '&Description',
    '&Start_Date',
    '&End_Date' );
    commit;
    end;
    Reference
    Note 373369.1 How to assign and revoke role/responsibility to a user using standard API?

  • Issue in fnd_submit.submit_program

    Hi All,
    I have a requirement of submitting sequest sets dynamically depending upon the user input parameter. So I wrote one shell script in which I will find which set needs to launched. After that in a pl sql block I wrote one cursor to take all programs coming under this request set.
    In the begin block first I wrote the fnd_submit.set_request_set. After that in the for loop I called the fnd_submit.submit_program. In the for loop I fetched the parameters into 10 variables and I am passing whole the 10 variables as the arguments.
    There I am facing the issue. The first and last programs in my set are host programs which is working fine. But the second one is a pl sql program, which is giving "PLS-00306: wrong number or types of arguments" as we wre trying to pass more number of arguments.
    Below is the sample.
    CURSOR req_set_pgms_cur IS
    SELECT FRSSFV.STAGE_NAME,fcp.CONCURRENT_PROGRAM_NAME,fa.APPLICATION_SHORT_NAME
    FROM FND_REQUEST_SETS_VL frsv,
    FND_REQ_SET_STAGES_FORM_V frssfv,
    FND_REQUEST_SET_PROGRAMS frsp,
    FND_CONCURRENT_PROGRAMS fcp,
    FND_APPLICATION fa
    WHERE FRSV.REQUEST_SET_ID=FRSSFV.REQUEST_SET_ID
    AND FRSV.REQUEST_SET_ID=frsp.REQUEST_SET_ID
    AND FRSSFV.REQUEST_SET_STAGE_ID=frsp.REQUEST_SET_STAGE_ID
    AND frsp.CONCURRENT_PROGRAM_ID=fcp.CONCURRENT_PROGRAM_ID
    AND fcp.APPLICATION_ID=fa.APPLICATION_ID
    AND frsv.REQUEST_SET_NAME=req_set
              AND fa.APPLICATION_SHORT_NAME=app_name
    ORDER BY frssfv.STAGE_NAME,frsp.SEQUENCE;
    BEGIN
    l_success := 0;
    num:=1;
    fnd_global.apps_initialize( user_id => 48192, resp_id => 50425, resp_appl_id => 800);
    l_action := 'Launching Request Set';
    DBMS_OUTPUT.PUT_LINE(l_action);
    l_ok := fnd_submit.set_request_set (application => app_name,request_set => req_set);
    FOR req_set_pgms_cur_v in req_set_pgms_cur LOOP
    SELECT COUNT(*) INTO num_of_args
    FROM FND_DESCR_FLEX_COLUMN_USAGES
    WHERE DESCRIPTIVE_FLEXFIELD_NAME like '\$SRS\$.'||req_set_pgms_cur_v.CONCURRENT_PROGRAM_NAME;
                   argument1:=chr(0);
    IF num_of_args>=1 THEN
    SELECT decode(DEFAULT_VALUE,'PER_BUSINESS_GROUP_ID','101',DEFAULT_VALUE) INTO argument1
    FROM FND_DESCR_FLEX_COLUMN_USAGES
    WHERE DESCRIPTIVE_FLEXFIELD_NAME like '\$SRS\$.'||req_set_pgms_cur_v.CONCURRENT_PROGRAM_NAME
    AND APPLICATION_COLUMN_NAME like 'ATTRIBUTE1';
    END IF;
    argument2:=chr(0);
    IF num_of_args>=2 THEN
    SELECT DEFAULT_VALUE INTO argument2
    FROM FND_DESCR_FLEX_COLUMN_USAGES
    WHERE DESCRIPTIVE_FLEXFIELD_NAME like '\$SRS\$.'||req_set_pgms_cur_v.CONCURRENT_PROGRAM_NAME
    AND APPLICATION_COLUMN_NAME like 'ATTRIBUTE2';
    END IF;
                   argument3:=chr(0);
    IF num_of_args>=3 THEN
    SELECT DEFAULT_VALUE INTO argument3
    FROM FND_DESCR_FLEX_COLUMN_USAGES
    WHERE DESCRIPTIVE_FLEXFIELD_NAME like '\$SRS\$.'||req_set_pgms_cur_v.CONCURRENT_PROGRAM_NAME
    AND APPLICATION_COLUMN_NAME like 'ATTRIBUTE3';
    END IF;
                   argument4:=chr(0);
    IF num_of_args>=4 THEN
    SELECT DEFAULT_VALUE INTO argument4
    FROM FND_DESCR_FLEX_COLUMN_USAGES
    WHERE DESCRIPTIVE_FLEXFIELD_NAME like '\$SRS\$.'||req_set_pgms_cur_v.CONCURRENT_PROGRAM_NAME
    AND APPLICATION_COLUMN_NAME like 'ATTRIBUTE4';
    END IF;
                   argument5:=chr(0);
    IF num_of_args>=5 THEN
    SELECT DEFAULT_VALUE INTO argument5
    FROM FND_DESCR_FLEX_COLUMN_USAGES
    WHERE DESCRIPTIVE_FLEXFIELD_NAME like '\$SRS\$.'||req_set_pgms_cur_v.CONCURRENT_PROGRAM_NAME
    AND APPLICATION_COLUMN_NAME like 'ATTRIBUTE5';
    END IF;
                   argument6:=chr(0);
    IF num_of_args>=6 THEN
    SELECT DEFAULT_VALUE INTO argument6
    FROM FND_DESCR_FLEX_COLUMN_USAGES
    WHERE DESCRIPTIVE_FLEXFIELD_NAME like '\$SRS\$.'||req_set_pgms_cur_v.CONCURRENT_PROGRAM_NAME
    AND APPLICATION_COLUMN_NAME like 'ATTRIBUTE6';
    END IF;
                   argument7:=chr(0);
    IF num_of_args>=7 THEN
    SELECT DEFAULT_VALUE INTO argument7
    FROM FND_DESCR_FLEX_COLUMN_USAGES
    WHERE DESCRIPTIVE_FLEXFIELD_NAME like '\$SRS\$.'||req_set_pgms_cur_v.CONCURRENT_PROGRAM_NAME
    AND APPLICATION_COLUMN_NAME like 'ATTRIBUTE7';
    END IF;
                   argument8:=chr(0);
    IF num_of_args>=8 THEN
    SELECT DEFAULT_VALUE INTO argument8
    FROM FND_DESCR_FLEX_COLUMN_USAGES
    WHERE DESCRIPTIVE_FLEXFIELD_NAME like '\$SRS\$.'||req_set_pgms_cur_v.CONCURRENT_PROGRAM_NAME
    AND APPLICATION_COLUMN_NAME like 'ATTRIBUTE8';
    END IF;
                   argument9:=chr(0);
    IF num_of_args>=9 THEN
    SELECT DEFAULT_VALUE INTO argument9
    FROM FND_DESCR_FLEX_COLUMN_USAGES
    WHERE DESCRIPTIVE_FLEXFIELD_NAME like '\$SRS\$.'||req_set_pgms_cur_v.CONCURRENT_PROGRAM_NAME
    AND APPLICATION_COLUMN_NAME like 'ATTRIBUTE9';
    END IF;
                   argument10:=chr(0);
    IF num_of_args>=10 THEN
    SELECT DEFAULT_VALUE INTO argument10
    FROM FND_DESCR_FLEX_COLUMN_USAGES
    WHERE DESCRIPTIVE_FLEXFIELD_NAME like '\$SRS\$.'||req_set_pgms_cur_v.CONCURRENT_PROGRAM_NAME
    AND APPLICATION_COLUMN_NAME like 'ATTRIBUTE10';
    END IF;
    IF l_ok=TRUE AND l_success = 0 THEN
    l_action := 'Job '||num||':-'||req_set_pgms_cur_v.CONCURRENT_PROGRAM_NAME;
    DBMS_OUTPUT.PUT_LINE(l_action);
    l_ok := fnd_submit.submit_program
    (application => req_set_pgms_cur_v.APPLICATION_SHORT_NAME
    ,program => req_set_pgms_cur_v.CONCURRENT_PROGRAM_NAME
    ,stage => req_set_pgms_cur_v.STAGE_NAME
    ,argument1=>argument1
    ,argument2=>argument2
    ,argument3=>argument3
    ,argument4=>argument4
    ,argument5=>argument5
    ,argument6=>argument6
    ,argument7=>argument7
    ,argument8=>argument8
    ,argument9=>argument9
    ,argument10=>argument10
    ELSE
    l_success := 100+num;
    END IF;
    num:=num+1;
    END LOOP;
    I am in an urgent situation. Please help me on this.
    Also is there any API to pass the arguments alone after calling the fnd_submit.submit_program.
    Thanks in advance.
    Regards,
    Charls

    I was facing the issue when I tried to run it from bakend.
    Issue resolved when it is registered as a concurrent program.
    Regards,
    Charls K V

  • Unable to capture user comments and responder in RESPOND API

    We are building a custom application that uses Oracle Workflow underneath. The application users and responsibilities have been integrated into Workflow. Notifications are acknowledged and responded to directly from the application using the PL/SQL Notification APIs.
    When using the wf_notification.respond API with the appropriate user and comment information filled in, we are still unable to capture the responder information as well as the reponders comments. In other words, the RESPONDER and USER_COMMENT fields in the WF_NOTIFICATION is blank. However, the response does seem to go through otherwise. Do we need to set some kind of user context outside of just setting the response attributes and calling the respond API? Following is the code....
    owf_mgr.wf_notification.setattrtext(p_nid,
                   'RESULT'          ,
                   'APPROVED');
    -- This procedure then caused the WF to advance to next step
    -- Respond to notification, depends on RESULT setattrtext above
    owf_mgr.wf_notification.respond(     p_nid, -- notification id     
         p_respond_comment,     -- response_comment
    p_responder     );     --responder role
    Any help is greatly appreciated.
    Thanks,
    Raj

    If you are on 11.5.10 or greater or standalone 2.6.4 if you pass the responder value to wf_notification.respond API it should be updated in wf_notifications.responder column. The comments is now updated in wf_comments table against the notification id and not wf_notifications.user_comment column.
    Thanks, Vijay

  • SR Log Error - |  Message  : com.sap.esi.uddi.sr.api.exceptions.SRException

    Hi,
    We are getting below errors in /nwa/logs. We have our PI (7.11) and Service Registry configured on the same server. And have out CE (7.2) system connected to this service registry. Does any one has similar experience? Please let me know if you have any solution for the same.
    SR Log Error
    |  11-Nov-11  14:10:45.568
    |  Method   : getClassificationSystems()
    |  Class    : com.sap.esi.uddi.sr.api.ws.ServicesRegistrySiImplBean
    |  ThreadID : 146
    |  Message  : com.sap.esi.uddi.sr.api.exceptions.SRException: No classification system found for ID 'QName: Namespace= http://uddi.sap.com/classification; Name=  ConfigurationFlags'
    |
    |       com.sap.esi.uddi.sr.impl.common.Utility.cs2srException(Utility.java:122)
    |       com.sap.esi.uddi.sr.impl.ejb.ServicesRegistryBean.getClassificationSystems(ServicesRegistryBean.java:242)
    |       sun.reflect.GeneratedMethodAccessor1325.invoke(Unknown Source)
    |       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    |       java.lang.reflect.Method.invoke(Method.java:585)
    |       com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    |       com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    |       $Proxy1087.getClassificationSystems(Unknown Source)
    |       com.sap.esi.uddi.sr.api.ws.ServicesRegistrySiImplBean.getClassificationSystems(ServicesRegistrySiImplBean.java:456)
    |       sun.reflect.GeneratedMethodAccessor1324.invoke(Unknown Source)
    |       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    |       java.lang.reflect.Method.invoke(Method.java:585)
    |       com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_WS.invoke(Interceptors_WS.java:31)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    |       com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:203)
    |       com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:512)
    |       com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:486)
    |       com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:256)
    |       com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:176)
    |       com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWithLogging(ServletDispatcherImpl.java:112)
    |       com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:70)
    |       SoapServlet.doPost(SoapServlet.java:51)
    |       javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    |       javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    |       com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
    |       com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37)
    |       com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:486)
    |       com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
    |       com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
    |       com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
    |       com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:84)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:245)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
    |       com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    |       com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    |       com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    |       com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
    |       com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
    |       com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
    |       com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
    |       com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
    |       com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
    |       com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
    |       com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
    |

    Hi,
    Refer Error:Service Registyr Configuration PI 7.11
    and http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8071b1b8-3c5c-2e10-e7af-8cadbc49d711?QuickLink=index&overridelayout=true
    Thanks,
    Chandra

  • Is There any API in receivables payment will made against closed invoices ?

    Hi ALL,
    i have requirement as below.
    i am doing AR Invoice Data Migration for Instance 11.5.5 (as a Source Instance) to the new instance R12 (as a target instance).
    Both open and closed invoices will have to be migrated from 11.5.5 to R12 to provide the drill down facility for audit purpose.
    To meet the above requirement all the open and closed invoice will be picked up from 11.5.5 ; and imported into R12..
    Subsequently, full payment will be made in R12 against all closed invoices in 11.5.5 to close those invoices by using any APIs?
    can some one explain is there any API in receivables payment will made against closed invoices.
    Thanks,
    VSR.

    Hi,
    Can you be clear on your question: You want any API to make payment against closed invoices?
    To me, You are making things complex. We can achieve the Migration of Closed invoices using following two procedures:
    Procedure: 1
    Ask Functional Guy to create a Transaction Type 'Closed Invoices' with Open to Receivables Flag not checked. +(You can uncheck Post to GL flag also, if required depending on your migration strategy)+. Status at Transaction Type if taken as 'Closed' it will be appropriate.
    Invoices migrated using this Transaction Type shall not be shown as Outstanding but will be useful for Audit.
    Procedure: 2
    Consider the amount due Original of Closed Invoices and migrate them with the amount as Amount due remaining.
    While migrating populate Receipt Method,Payment Method and Instruments useful for Automatic Receipts.
    Once Create Automatic Receipts Program is run, it will close all these invoices. Note: We require dummy bank here which points to a Clearing account.
    Automatic Receipts program is also an API.
    In the above 2 ways, we are acheiving the Goal by using Functional knowledge rather than Technical. And I think following Functional way is better and less time consuming.
    Please discuss with your Functional consultant if required. You can succeed.
    Regards,
    Sridhar

  • Error while creating new projects using api

    Hello,
    I am having error while creating projects using standard api, PA_PROJECT_PUB.CREATE_PROJECTS. The error I am having is as follow.
    Source template ID is invalid.
    ===
    My code is as follow:
    SET SERVEROUTPUT ON SIZE 1000000
    SET VERIFY OFF
    define no=&amg_number
    DECLARE
    -- Variables used to initialize the session
    l_user_id NUMBER;
    l_responsibility_id NUMBER;
    cursor get_key_members is
    select person_id, project_role_type, rownum
    from pa_project_players
    where project_id = 1;
    -- Counter variables
    a NUMBER := 0;
    m NUMBER := 0;
    -- Variables needed for API standard parameters
    l_commit VARCHAR2(1) := 'F';
    l_init_msg_list VARCHAR2(1) := 'T';
    l_api_version_number NUMBER :=1.0;
    l_return_status VARCHAR2(1);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    -- Variables used specifically in error message retrieval
    l_encoded VARCHAR2(1) := 'F';
    l_data VARCHAR2(2000);
    l_msg_index NUMBER;
    l_msg_index_out NUMBER;
    -- Variables needed for Oracle Project specific parameters
    -- Input variables
    l_pm_product_code VARCHAR2(30);
    l_project_in pa_project_pub.project_in_rec_type;
    l_key_members pa_project_pub.project_role_tbl_type;
    l_class_categories pa_project_pub.class_category_tbl_type;
    l_tasks_in pa_project_pub.task_in_tbl_type;
    -- Record variables for loading table variables above
    l_key_member_rec pa_project_pub.project_role_rec_type;
    l_class_category_rec pa_project_pub.class_category_rec_type;
    l_task_rec pa_project_pub.task_in_rec_type;
    -- Output variables
    l_workflow_started VARCHAR2(100);
    l_project_out pa_project_pub.project_out_rec_type;
    l_tasks_out pa_project_pub.task_out_tbl_type;
    -- Exception to call messag handlers if API returns an error.
    API_ERROR EXCEPTION;
    BEGIN
    -- Initialize the session with my user id and Projects, Vision Serves (USA0
    -- responsibility:
    select user_id into l_user_id
    from fnd_user
    where user_name = 'SSHAH';
    select responsibility_id into l_responsibility_id
    from fnd_responsibility_tl
    where responsibility_name = 'Projects Implementation Superuser';
    pa_interface_utils_pub.set_global_info(
    p_api_version_number => l_api_version_number,
    p_responsibility_id => l_responsibility_id,
    p_user_id => l_user_id,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status);
    if l_return_status != 'S' then
    raise API_ERROR;
    end if;
    -- Provide values for input variables
    -- L_PM_PRODUCT_CODE: These are stored in pa_lookups and can be defined
    -- by the user. In this case we select a pre-defined one.
    select lookup_code into l_pm_product_code
    from pa_lookups
    where lookup_type = 'PM_PRODUCT_CODE'
    and meaning = 'Conversion';
    -- L_PROJECT_IN: We have to provide values for all required elements
    -- of this record (see p 5-13, 5-14 for the definition of the record).
    -- Customers will normally select this information from some external
    -- source
    l_project_in.pm_project_reference := 'AGL-AMG Project &no';
    l_project_in.project_name := 'AGL-AMG Project &no';
    l_project_in.created_from_project_id := 1;
    l_project_in.carrying_out_organization_id := 2864; /*Cons. West*/
    l_project_in.project_status_code := 'UNAPPROVED';
    l_project_in.start_date := '01-JAN-11';
    l_project_in.completion_date := '31-DEC-11';
    l_project_in.description := 'Trying Hard';
    l_project_in.project_relationship_code := 'Primary';
    -- L_KEY_MEMBERS: To load the key member table we load individual
    -- key member records and assign them to the key member table. In
    -- the example below I am selecting all of the key member setup
    -- from an existing project with 4 key members ('EE-Proj-01'):
    for km in get_key_members loop
    -- Get the next record and load into key members record:
    l_key_member_rec.person_id := km.person_id;
    l_key_member_rec.project_role_type := km.project_role_type;
    -- Assign this record to the table (array)
    l_key_members(km.rownum) := l_key_member_rec;
    end loop;
    -- L_CLASS_CATEGORIES: commented out below should fix the error we get
    -- because the template does not have an assigment for the mandatory class
    -- 'BAS Test'
    l_class_category_rec.class_category := 'Product';
    l_class_category_rec.class_code := 'Non-classified';
    -- Assign the record to the table (array)
    l_class_categories(1) := l_class_category_rec;
    -- L_TASKS_IN: We will load in a single task and a subtask providing only
    -- the basic fields (see pp. 5-16,5-17,5-18 for the definition of
    -- the task record)
    l_task_rec.pm_task_reference := '1';
    l_task_rec.pa_task_number := '1';
    l_task_rec.task_name := 'Construction';
    l_task_rec.pm_parent_task_reference := '' ;
    l_task_rec.task_description := 'Plant function';
    -- Assign the top task to the table.
    l_taskS_in(1) := l_task_rec;
    -- Assign values for the sub task
    l_task_rec.pm_task_reference := '1.1';
    l_task_rec.pa_task_number := '1.1';
    l_task_rec.task_name := 'Brick laying';
    l_task_rec.pm_parent_task_reference := '1' ;
    l_task_rec.task_description := 'Plant building';
    -- Assign the subtask to the task table.
    l_tasks_in(2) := l_task_rec;
    -- All inputs are assigned, so call the API:
    pa_project_pub.create_project
    (p_api_version_number => l_api_version_number,
    p_commit => l_commit,
    p_init_msg_list => l_init_msg_list,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status,
    p_workflow_started => l_workflow_started,
    p_pm_product_code => l_pm_product_code,
    p_project_in => l_project_in,
    p_project_out => l_project_out,
    p_key_members => l_key_members,
    p_class_categories => l_class_categories,
    p_tasks_in => l_tasks_in,
    p_tasks_out => l_tasks_out);
    -- Check the return status, if it is not success, then raise message handling
    -- exception.
    IF l_return_status != 'S' THEN
    dbms_output.put_line('Msg_count: '||to_char(l_msg_count));
    dbms_output.put_line('Error: ret status: '||l_return_status);
    RAISE API_ERROR;
    END IF;
    -- perform manual commit since p_commit was set to False.
    COMMIT;
    --HANDLE EXCEPTIONS
    EXCEPTION
    WHEN API_ERROR THEN
    FOR i IN 1..l_msg_count LOOP
    pa_interface_utils_pub.get_messages(
    p_msg_count => l_msg_count,
    p_encoded => l_encoded,
    p_msg_index => i,
    p_msg_data => l_msg_data,
    p_data => l_data,
    p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
    END LOOP;
    rollback;
    WHEN OTHERS THEN
    dbms_output.put_line('Error: '||sqlerrm);
    FOR i IN 1..l_msg_count LOOP
    pa_interface_utils_pub.get_messages(
    p_msg_count => l_msg_count,
    p_encoded => l_encoded,
    p_msg_index => i,
    p_msg_data => l_msg_data,
    p_data => l_data,
    p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
    END LOOP;
    rollback;
    END;
    ===
    Msg_count: 1
    Error: ret status: E
    ERROR: 1: Project: 'AGL-AMG Project 1123'
    Source template ID is invalid.
    PL/SQL procedure successfully completed.

    I was using a custom Application, which had a id other then 275 (which belongs to Oracle projects)

  • Error While trying to Convert a Date Value to string in POI API (Excel)

    Hi
    How can I convet a date value in excel to string value ? I am using POI API for excel sheet reading in JSP .

    Hello Esther,
    the problem seems to be that the temp folder of the target Integration Builder system can't be found:
    'The system cannot find the path specified
    at [..] FileAccess.getTempDirectory([..])'.
    You'll experience the same problem if you try a file based import or export within the Integration Builder directly.
    I would recommend to continue the search there. You could check if the environment variables (for Windows: TEMP and TMP) of the OS of the system with the target Integration Builder to an existing path. Check also if the WebAs can access this path.
    Good luck
    Frank

  • Error while invoking a public PL/SQL API in EBIZ from Sync BPEL process

    Hi,
    SOA Suite: 11.1.1.3
    I am getting the following error when I am invoking a public API in EBIZ from Oracle via a BPEL process. I am supplying the username/password via binding properties (as mentioned in other posts). Can someone point out that is the exact cause for this error please?
    SEVERE: AbstractWebServiceBindingComponent.dispatchRequest Unable to dispatch request to http://<myserver>:8006/webservices/SOAProvider/plsql/hz_party_v2pub/ due to exceptionjavax.xml.ws.soap.SOAPF
    aultException: Error occured while service was processing.
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:874)
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:707)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:226)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:97)
    at oracle.integration.platform.blocks.soap.AbstractWebServiceBindingComponent.dispatchRequest(AbstractWebServiceBindingComponent.java:449)
    at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.processOutboundMessage(WebServiceExternalBindingComponent.java:184)
    at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.sendSOAPMessage(WebServiceExternalBindingComponent.java:634)
    at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.request(WebServiceExternalBindingComponent.java:520)
    at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
    at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
    at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:144)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy204.request(Unknown Source)
    at oracle.fabric.CubeServiceEngine.requestToMesh(CubeServiceEngine.java:704)
    at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:246)
    at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:935)
    at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.handleNormalInvoke(BPELInvokeWMP.java:440)
    at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:182)
    at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:140)
    at com.collaxa.cube.engine.CubeEngine._performActivity(CubeEngine.java:2675)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2558)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1256)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:188)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:285)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4607)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:828)
    at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:111)
    at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:147)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean.syncCreateAndInvoke(BPELEngineBean.java:103)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy193.syncCreateAndInvoke(Unknown Source)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_51369e_ICubeEngineLocalBeanImpl.syncCreateAndInvoke(BPELEngineBean_51369e_ICubeEngineLocalBeanImpl.java:575)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:528)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:482)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:156)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.request(CubeDeliveryBean.java:600)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy190.request(Unknown Source)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.request(BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.java:325)
    at oracle.fabric.CubeServiceEngine.request(CubeServiceEngine.java:290)
    at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
    at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
    at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:144)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy204.request(Unknown Source)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1155)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:767)
    at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1119)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:873)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:553)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:202)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:166)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:384)
    at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:444)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Nov 3, 2010 2:32:08 PM com.collaxa.cube.CubeLogger error
    SEVERE: <WSInvocationManager::invoke> got FabricInvocationException
    oracle.fabric.common.FabricInvocationException: javax.xml.ws.soap.SOAPFaultException: Error occured while service was processing.
    Thanks,
    Dinesh

    Hi James,
    Thanks for the quick reply.
    We've tried to call that web service from an HTML designed in Visual Studios with the same username and password and its working fine.
    But on the BPEL console, we are getting the error as mentioned.
    Also if you can tell me how to set the user name and password in the header of the parter link.I could not find how to do it.
    Thanks,
    Saurabh

Maybe you are looking for

  • Is it possible to add a field to OKEK in configuration SCREEN?

    Hello SAPPERS, I would appreciate if someone could provide some input on the following issue. Is it possible to add a field to Define Account Determination for Internal Goods Movements (OKEK)? This table determines the GL accounts assigned when inven

  • How to populate multiple records into 1 using addtl keyfigs

    Hi Gurus, Please take a look at this scenario. I have 3 records coming from source system. ex: key dateid startdate enddate c    1      d1         d2 c    2      d3         d4 c    3      d5         d6 i need to populate these 3 records as one into t

  • How to force the user to enter a value in the prompt

    Is there a way to force the user to enter a value in the prompt before they run the report? We have a customer specific dashbaord. The user has to enter a customer number in Dashbaord prompt on a first page of the dashboard. We store that value in a

  • How to rename desktops

    So I attached a picture of what I need help with, but see how in the picture it says "Desktop 3" under one of the desktops? Is it possible to rename those? thanks

  • How do I re-access a 'note' that I just deleted?

    I just deleted a 'note' from the app 'Notes'... Is there a way that I can get it back?