Sample to call concurrent manager from ESB

Hi All,
A bit new with Oracle ESB, currently trying to test out a simple scenario to be able read from a file and invoke a concurrent program.
Does anybody have a sample of this, lost at the part on how to create a routing service between these two.
Any help is appreciated.
Regards
Vikram Somanathan

There is not much difference between BPEL and ESB, except BPEL provides more flexibility, and ESB provides more speed.
Therefore what you need to do is create a new ESB project. Create a file adapters the same way as you so in BPEL. (right click and choosed the file adapter). This will create a routing service as well. Now create a eBis adapter pointing to the concurrent program you want to run.
To join the 2 you need to modify the routing service and create a xsl transformation between the file adapter and the eBis adapter. This looks the same as the BPEL transformation.
cheers
James

Similar Messages

  • Calling Concurrent Manager from VB

    Not really sure where to post this, but here goes..
    Using VB6/Win2K, I need to :
    a. Connect to the Oracle OS
    b. Submit a call to the ORA Concurrent Manager to run a procedure.
    I'm in unfamiliar territory here. Has anyone ever done anything like this,
    or could you point me in the right direction?
    Thanks
    Michael White
    Programmer/Analyst
    Marion County, OR

    I have reports created on oracle developer 6.0. I would like to know as to how I can pass parameters(dates) thru ASP forms in order to run the oracle report on the web.

  • Error while calling a procedure from ESB

    Hi,
    I am calling a procedure from ESB using DB adapter. and in the routing rules i am mapping the i/p values for schema to procedure input variables using mappings(transformation) but the values are going as null to the procedure call.
    Please help me out.
    The exception follows...
    An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/ESB-Issues_issue3/db3.wsdl [ db3_ptt::db3(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'db3' failed due to: Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the SYSTEM.INSERT_ISSUE_PROC API. Cause: java.sql.SQLException: ORA-01400: cannot insert NULL into ("SYSTEM"."ISSUES"."ISSUE_NAME")
    ORA-06512: at "SYSTEM.INSERT_ISSUE_PROC", line 16
    ORA-06512: at line 1
    [Caused by: ORA-01400: cannot insert NULL into ("SYSTEM"."ISSUES"."ISSUE_NAME")
    ORA-06512: at "SYSTEM.INSERT_ISSUE_PROC", line 16                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    This is likely being caused by a problem that we've seen a number of times. You'll have namespace issues and problems with NULLs if your JDev is 10.1.3.1 and SOA is 10.1.3.3 (or vice-versa). You MUST synchronize JDev 10.1.3.3 (or higher) with SOA 10.1.3.3 (or higher). It doesn't matter if you mix 10.1.3.3 and 10.1.3.4. You just need to get away from 10.1.3.1.

  • Calling Concurrent program from OAF-PDF Outtput not in English

    Hi ,
    I've successfully done "Calling Concurrent Program from OAF" once i clicked the button which i have in my page it generates RequestID and that shows request page,In that when i click "Output" icon the PDF file is opened.
    But in that PDF file it shows the datas in the different language.
    For example Emp name column is shown as
    ΚΙΝΓ
    ΧΛΑΡΚ
    ΣΧΟΤΤ
    ΦΟΡ∆
    ΣΜΙΤΗ
    ΑΛΛΕΝ
    Αδαµσ
    Σεντηιλςελ
    Σαραϖανα Χ
    Σεενυ
    Σαβενα
    Ηαριkindly help me...
    Regards,
    Saro

    Hi Hussein,
    Here I've shown the details of log file
    Purchasing: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXCON module: XXCON
    Current system time is 29-DEC-2010 11:37:23
    +-----------------------------*
    *| Starting concurrent program execution...*
    +-----------------------------*
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Wed Dec 29 11:37:29 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Executing request completion options...
    ------------- 1) PRINT   -------------*
    Printing output file.
    Request ID : 5865903      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 29-DEC-2010 11:37:33
    Regards,
    Saro

  • Calling Concurrent Program From OAF in R12

    Hi All,
    I have called concurrent request from OAf page..When i click the submit button the page forwarded to Request page..
    In that i have three buttons only Submit Request,search,Refresh but i need, What are all the options present in Requests > Submit window (not from OAF)"Hold Request,Cancel Request,Diagnostics,View Log"..
    Also in my OAF Page if i click Submit Request-->Radio Button "New Request"--> if i clock LOV it doesn't shows any values...
    Kindly help me to resolve this issue..
    Thanks in advance for your valuable suggestion..
    Regards,
    RKO

    Hi Hussein,
    Here I've shown the details of log file
    Purchasing: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXCON module: XXCON
    Current system time is 29-DEC-2010 11:37:23
    +-----------------------------*
    *| Starting concurrent program execution...*
    +-----------------------------*
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Wed Dec 29 11:37:29 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Executing request completion options...
    ------------- 1) PRINT   -------------*
    Printing output file.
    Request ID : 5865903      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 29-DEC-2010 11:37:33
    Regards,
    Saro

  • Problem in calling concurrent request from oracle forms

    Hi,
    I am using the following code to call the above concurrent request to transfer the data from AR interface table to the base table.
    req_id := FND_REQUEST.SUBMIT_REQUEST('AR','RAXMTR','','',FALSE,
    '1', '1023', 'CONTRA', '2009/10/30 00:00:00' ,'','','','','',''
    ,'','','','','Y','','103','','',''
    if app_form.quietcommit then
    MESSAGE(req_id);
    MESSAGE(req_id);     
    end if;
    The request gets completed with error. The diagnostic shows the following error
    "*This request finished with an error and produced the following completion message: Usage: program oracleid request_id Y*
    *The processing began on 30-OCT-2009 17:53:13 and ended on 30-OCT-2009 17:53:14. You may find more information on the cause of the error in the request log or the concurrent manager log*."
    I have used similar method to execute AP interface import program and it worked. The above request is a spawned request. Any help would be appreciated.
    Regards
    Deepak

    Pl see if these MOS Docs can help
    170729.1 - Autoinvoice Master Program fails with USAGE: PROGRAM ORACLEID REQUEST_ID Y
    460048.1 - AutoInvoice Master Log Shows "Usage: Program Oracleid Request_id Y"
    217054.1 - Autoinvoice Errors USAGE: PROGRAM ORACLEID REQUEST_ID Y
    HTH
    Srini

  • Call concurrent program from forms

    hi all,
    i have a form registered in apps which needs to call reports registered as concurrent program.
    can anyone help me out as to which API to use to call the report from the WHEN-BUTTON-PRESSED trigger in forms?
    regards,
    shweta

    Hi Swetha
    Use the following procedure to call a report from a form
    fnd_request.submit_request

  • Calling secured services from ESB

    Hi,
    How to invoke secured (HTTP Basic/WS-Security) web services from ESB? BPEL supports it via partner link properties/adapter header properties.
    Thanks in advance.
    Regards,
    Rajesh

    This is a sneak peek at how headers are used. This example shows how to set outbound WS-Sec headers using a routing serrvice XSLT. Create a transformation in a RS that is invoking an outbound SOAP service and add the text below. Note it uses xsl variables and some new esb header xpath functions.
    For using ws-security in ESB you need to add the variable username and password in your xsl transformation template against the target. As below
    <xsl:variable name="Username"
    select="ehdr:setOutboundHeader('/wsse1:Security/wsse1:UsernameToken/wsse1:Username','oc4jadmin','wsse1=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd;')"/>
    <xsl:variable name="Password"
    select="ehdr:setOutboundHeader('/wsse1:Security/wsse1:UsernameToken/wsse1:Password','welcome1','wsse1=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd;')"/>
    <xsl:template match="/">
    Message was edited by:
    Dave Berry

  • Calling BPEL Process From ESB

    Hi Gurus,
    I'm experiencing an issue calling a BPEL process using the ESB SOAP Service. Basically, the ESB calls the BPEL process and manages to pass the message to the asychronous BPEL process however the first step in the BPEL process after the Recieve, an Assign, always fails with an Xpath error saying that the attribute being mapped is blank. However, when I look at the Recieve step I can see the value for this attribute. I can Initiate the BPEL process manually and enter the same values and these process successfully.
    Has anyone encountered this issue previously or know what I'm doing wrong?
    Any assistance appreciated.
    Pete

    Hi there,
    I am getting the same issue. I have two bpel processes, the first processplaces data into a common .xsd format and then sends it over to another process with is expeting the same .xsd format.
    I'm pretty sure i know what the issue is, but i'm not sure what the philosophy behind the whole thing is and how it is solved.
    When i transfrom the data over to the common .xsd is allocated a namespace ns0 which is then prepended to each element. When this is sent to the other process this stays prepended. The data is then allocated to the common .xsd in the second process with is allocated another namespace ns3.
    So when you try an assign is searching for ns3:rootElemnt....... which doesn't exist as it as the ns0 carried over from the first process.
    Is this correct? What do we do to get round it?
    Thanks,

  • Call concurrent prog from CO

    Hi All,
    There is a PLSQL procedure that is defined as executable for a concurrent program. I need to invoke this concurrent program on click of a button in a page.
    I would like to know whether just calling the package.procedure through callable statment would suffice.
    Thanks,
    Padmaja

    Hi Riteesh,
    I'm new to frame works.
    I have the following requirement. Could you please help me in doing it.
    I have a button "Print" on my page, to call an XML Publisher report. Parameter for that program is Contract Number.
    I have written the following code in AMImpl.
    // AMImpl.java code
    public int submitCPRequest (Number headerId){
    try {
    OADBTransaction tx = (OADBTransaction)getDBTransaction();
    java.sql.Connection pConncection = tx.getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(pConncection);
    String applnName = "PO"; //Application that contains the concurrent program
    String cpName = "POXXXX"; //Concurrent program name
    String cpDesc = "Concurrent Program Description"; // concurrent Program description
    // Pass the Arguments using vector
    // Here i have added my parameter headerId to the vector and passed the vector to the concurrent program
    Vector cpArgs = new Vector();
    cpArgs.addElement(headerId.stringValue());
    // Calling the Concurrent Program
    int requestId = cr.submitRequest(applnName, cpName, cpDesc, null, false, cpArgs);
    tx.commit();
    return requestId;
    } catch (Exception e) {
    OAException oe = new OAException(e.getMessage());
    oe.setApplicationModule(this);
    throw oe;
    Now I am calling this in my CO.
    if(pageContext.getParameter("Print")!=null)
    am.submitCPRequest();
    Error(106,9): method submitCPRequest not found in class xxafp.oracle.apps.qp.pricelistrebate.server.PricelistrebateAMImpl
    And also can you please tell me how to pass parameter contract number from my formm to that report.
    Can you please let me know how to implement the above mentioned scenario.If you have any sample code similar to this req. please send me.
    Thanks,

  • Calling concurrent program from form giving problem

    hi
    i have designed one concurrent program
    this concurrent program in turn calls another concurrent program.
    when i run it using SRS it is running fine
    but when i am submitting from FORM it is giving following 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 'XXPOS_MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    script in form
    declare
         l_request_id number;
         l_errbuf varchar2(30);
         l_retcode number;
    begin
    l_request_id := FND_REQUEST.SUBMIT_REQUEST('CUSTOM',     -- application
    'XXINVSIMREV',     -- program
    'Postpaid SIM Reversal after rejection',
    SYSDATE,     -- start_time (optional)
    FALSE, -- sub_request
    l_errbuf,l_retcode,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
                   IF l_request_id = 0 THEN     
                        fnd_message.set_string('Program submission for sim reversal into inventory is failure');
                        fnd_message.show;
                   else
                             fnd_message.set_string('Program submission for sim reversal into inventory is success for request id='||l_request_id);
                        fnd_message.show;
                        commit;
                   End if;
    end;

    There are so many restrictions and special circumstances for creating a custom form for Applications that you should ask this question in the Apps Forum (http://forums.oracle.com/forums/category.jspa?categoryID=3). People here might or might not have any experience with this. In the Apps Forums they definitely do.

  • Call plsql function from esb-xsl mapping

    Hi
    I want to call a plsql function that takes an inparameter from an xsl mapping file.
    I tried to use the orcl:query-database function for this, but i couldn't get it to work when I wanted to dynamically pass the value of the inparameter to the function taken from the XML file used as input in the xsl transformation:
    If I hardcode the parameter value like this, it works fine:
    orcl:query-database('select emx_parameters.get_parameter_value('DEADLINE') result from dual',false(),false(),'jdbc/DB')
    But if i dynamically want to assign the inparameter, it doesn't work for me:
    orcl:query-database('select emx_parameters.get_parameter_value('/Header/ParameterName') result from dual',false(),false(),'jdbc/DB')
    Maybe it has something to do with the ' signs, but I tried a lot of combinations it nothing worked for me.
    Has anyone any ideas how to do this?
    Thanks
    Kalle

    Hi
    If anyone is interested i managed to solve it this way:
    I build up the sql query string with xsl variables like this:
    <xsl:variable name="start">select emx_parameters.get_parameter_value('</xsl:variable>
    <xsl:variable name="param" select='/Header/ParameterName'/>
    <xsl:variable name="end">') result from dual</xsl:variable>
    <xsl:variable name="expr" select="concat($start,$param,$end)"/>
    And then I called the orcl:query-database method with the variable as in-parameter.
    orcl:query-database($expr,false(),false(),"jdbc/DB")
    Maybe there is another way, but this worked for me.
    //Kalle

  • How to call Java Objects from ESB?

    I don't know whether its possible but if there is a way please let me know I'd really appreciate.
    I'm sending message to the JMS queue and I've created JMS adapter that I expect to be triggered when message gets into the queue. The message is an xml file that I read and look up some values that are Java classes and methods that I want to call. So how do I configure ESB to call Java Classes. I tried to look at the routing rules.
    Regards

    You could create the wsdl yourself and instead of the soap:binding use the java:binding
    not sure if this works...just a guess.

  • 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

  • Generating pdf report via concurrent manager and xml publisher

    I have report (rdf) which works fine in eBusiness Suite but I’d like to create translatable reports with reach layout (comparing with the Report Builder) based on the functionalities of the XML publisher. I’ve made all necessary steps (first change the output format for that report in concurrent manager from pdf to xml, submit the report to get xml file, which I’ve used in Microsoft Word Template Builder to make layout in rtf file, and create data and template in XML Publisher Administrator in eBusiness Suite).
    When I’ve submitted that report from concurrent manager, after the concurrent manage finished his job I got the warning message.
    Also the output file is not generated and in log file there is a message: One or more post-processing actions failed. Consult the OPP service log for details.
    Concurrent manager works fine, but there are problem when concurrent manager send the xml output of the report to XML Publisher which have to create pdf layout based on rtf template.
    I think there might be a problem with report complexity, while I’ve used layout formatting, api calls to eBusiness Suite, parameters, placeholders, attached library etc.
    If it is impossible to get new report based on xml publisher template, what is the purpose of xml publisher if it is so limited, while every eBusiness Suite Report is so complex.
    I hope there will be a person on this forum with the same problem, otherwise I’ll give up at all from XML Publisher, at least until it come a better version of that tool which it seems to be in early development phase and not ready for the market yet.

    All of the complex report logic is handled in your Oracle Report (rdf) file.
    If your Oracle report is working OK, then this report should be generating XML.
    After running your report, go to the View Requests window. Highlight your request, and click the Diagnostics button. Then click the 'View XML' button. If you see XML data, then you should be OK.
    When I faced a similar issue, it was because the '1 step' process didnt work for the particular report I was using. The '1 step' process doesn't work for every report. Which report are you using?
    If the report is submitted via a form (not the concurrent manager request form), then you probably need to use 2 steps to produce the desired output.
    For more information, see the following thread:
    Enhancment to avoid 2 step check printing
    HTH,
    Mark K

Maybe you are looking for

  • Help with Trees in java!

    I have an assignment to create a bouncing ball, with collision detection, and obstacles, and to also include trees. I have managed to get a bouncing ball(using awt graphics), but I am having problems with the tree, as i do understand that the dimensi

  • Migrating from flex 1.5 to 2.0

    Hi Tracy, As you have suggested(ref Topic:about flex 1.5) I m starting a new topic. Thanks for the solution u provided for eval(). But it works only for non-static methods. Is there anything that can b done for static methods? Also, I m facing one mo

  • When attempting to view more than one PO PDF in a row in BWC-Orders, the following error occurs.

    1. Responsibility: Purchasing 2 Navigate to Buyer Work Center 3. Go to Orders (View: My open orders) 4. Choose the first PO on the list, then select 'View PDF' and then 'Go' 5. 'Save' or View PDF 6. Close PDF 7 Back in 'Orders' page again 8. Choose t

  • Closed Captioning Spacing

    Closed captioning defaults to a double spaced letter format -  l i k e  t h i s .  Is there a way to change it so it has regular spacing? Thanks

  • Customizing Standard OTL workflow notification.

    Hi All, We have requirement to customize the Time details in OTL workflow modifications. Updated details of time card should be displayed in different colour. Notifications are  being rendered dynamically. So unable to c ustomize the notification det