How to pass parameters to servlet with POST with  Business Service OSB

Hi all.
I am newby in OSB. I am trying to send some values through a POST call to a servlet. I know how to call the servlet with Business Service of type "Messaging Service". I send the parameters of type Text.
I have tried several ways, but I don`t find the proper way yo do it. I have tried to insert the param into the body and into the header.
The problem is that I don`t know exactly where to put them, I don`t know if it must be done in the header or in the boy. I neither don`t know if there is a common way to do this.
Please, could you give me a good example of an insert activity to isert a post parameter inside the call?
For example: now I am using this one:
Expression => "accountType=test"
Location => as first child of"
XPATH => empty.
In variable => body.
Where do I have to insert this, in the body or in the outbounds?
I have followed this posts:
https://blogs.oracle.com/jeffdavies/entry/enhanced_rest_support_in_oracl
http://www.yenlo.nl/en/using-osb-with-rest/
Thanks a lot.

Hi,
Please be carefull about passing values such as Strings or number that contains ',' .
using the way described above.
the best way is to pass an ID and then use a select Statement to get the other Values in the target page.
regards
MDK.

Similar Messages

  • Passing parameters to servlet via POST

    Hi everyone,
    I'm using OAS 4.0.8.2 and I need to send parameters to a servlet via POST (html form), the form tag must be something like:
    <form action="MyServlet?param1=x&param2=y method="POST">
    but in MyServlet.doPost method the parameters (param1 and param2) are empty.
    Anyone know if this is an OAS bug or a bad configuration of OAS?
    thanks in advance
    null

    Hi,
    I suggest you to use hidden fiels in your form to send param1 and param2 to the servlet.
    Good luck...

  • Passing parameters from mapping to mapping with in process flows

    I am new to OWB and i would appreciate if any one can suggest me on how to solve the issue i have.
    I am trying to pass a parameter from one mapping to another mapping.
    ex: key need to be passed
    start ----->A--->B--->C----->END
    B needs to pass the key to mapping C
    In B i have mapping Out put parameter and in C i have a mapping input parameter.
    In process flow palatte i could see Key as OUT and in C properties i could bind it to Key .
    but i try to deploy this mapping i am getting error below
    PF_PKG Create Error
    RPE-02040: Internal error: KEY cannot be converted to a constant value. Please correct the value. If the problem persists then please contact Oracle Support with the stack trace and details on how to reproduce it.
    TEST_PFCreate INFORMATIONAL
    RPE-02071: Deployment has been aborted due to a previously reported critial error.
    please suggest me how to pass parameters between mappings with in a process flow.

    Hi
    You have to use process flow variables. So the output of map A, say parameter P would bind to variable V and then the input of map B, say Q would bind to variable V. In this way you can push parameters from one activity to the other. Although the UI lets you bind B.Q to A.P, it should not, I think there is a bug reported on this.
    Cheers
    David

  • How to pass parameters between two xterm windows?

    Hi,
    I would like to know how to pass parameters between two xterm windows where there are two independence processes running on them respectively ? Would appreciate if any one out there can advise me . Thanks.

    Global variables can be used, but you can do what the online help
    says ...
    Parameters are passed to called forms by means of a parameter
    list. A parameter list is a named programmatic construct that is
    simply a list of parameter names (called keys) and their values.
    You can pass parameter values to forms invoked by the built-in
    subprograms CALL_FORM, OPEN_FORM, and NEW_FORM. In addition, you
    can pass parameter values to other Oracle tools with the
    RUN_PRODUCT procedure.
    A parameter you include in a parameter list can be either a text
    parameter or a data parameter. The parameter type determines how
    its value is interpreted.
    Text Parameters The value of a text parameter being passed to a
    called product is a CHAR string that can represent the following:
    n a user-defined form parameter defined in a form invoked
    by the CALL_FORM, OPEN_FORM, or NEW_FORM built-in subprograms
    n a command line or user-defined parameter for a product
    invoked with the RUN_PRODUCT built-in subprogram
    Data Parameters The value of a data parameter being passed to a
    called product is always the name of a record group defined in
    the current form. (A record group is a data structure that
    stores records derived from a query or through programmatic
    assignment.) Data parameters are used to pass data to products
    invoked with the RUN_PRODUCT built-in subprogram. You cannot
    pass data parameters to forms.
    The following table shows the structure of a parameter list that
    contains four parameters:
    Key Paramtype Value
    CITY Text_Parameter 'BOGOTA'
    CATEGORY Text_Parameter 'EXPORTS'
    MULTIPLIER Text_Parameter '.0275'
    NEW_DATA Data_Parameter 'RECORD_GROUP8'
    arun reddy (guest) wrote:
    : im trying to do this but i could not find any way for this.
    : can any one help me how can i pass parameters between two forms
    : in forms4.5. any help will be appreciated
    : thanks.
    null

  • Form Personalization - Custom Function - How to pass parameters?

    Hi,
    My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
    I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
    On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
    My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
    Thanks.
    Paul

    Hi paul;
    There are many usefull link avaliable if you googling
    http://www.google.com.tr/#hl=tr&biw=1259&bih=793&&sa=X&ei=4wxQTZmYEISRswaNktWSDQ&ved=0CC4QBSgA&q=How+to+pass+parameters%2Bform+personalization&spell=1&fp=64d53dfd7a69225a
    Regard
    Helios

  • Form personalization - new custom function - how to pass parameters?

    Hi,
    My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
    I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
    On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
    My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
    Thanks.
    Paul

    Post your question in below forum:
    General EBS Discussion
    -Anand

  • How to keep data integrity with the two business service in OSB 10.3.1.0

    How to keep data integrity with the two business service in OSB 10.3.1.0
    In our customer system, customer want to keep data integerity between two businness service. I thinks this is XA transaction issue.
    Basing customer requirment, I created a testcase but I can't keep data integerity, For detail information, please refer the attached docs.

    Can you please explain what you meant my data integrity in your use case?
    Manoj

  • Publish action not working with JCA based Business Service

    Hi All,
    I have created one BS in OSB that publish the message in AQ. Its working fine as expected when tested from test console.
    I have made one proxy service which after transformation will publish the message to this BS, but the publish action is not invoking.
    I have added log action inside request action of my publish action and log is getting generated for that with correct request.However, I cant see message in DB neither can i see any exception/error logs in OSB.
    I tried replacing publish with route action and its working fine , message is getting published in AQ.Did any one face this type of issue before ???
    Or publish action works only with jms based Business services.
    Appreciate your help.
    Regards,
    Karan

    Bingo !!!
    Setting QOS helped me to find out the exact error. Was passing complete soap envelope to BS instead of passing body part only.
    Thanks a lot for your help mate .
    One more query can you please enlighten me on the use of QOS in OSB, such as in what scenarios we should use QOS.
    Regards,
    Karan
    Edited by: Karan Mann on Mar 14, 2013 3:37 AM

  • How to pass parameters/atrributes to Servlet from ALBPM

    HI Friends,
    I am invoking servlet from bpm using server configuration, i am able to invoke servlet, but not able to pass parameters dynamically,
    Also I like to receive response parameters/attributes from servlets?
    Can any body help me on this?
    Look forward for response.
    Cheers

    Some helpful Docs on the WebServer component for you:
    The WebServer component is used to send HTTP requests to an HTTP server and capture the responses. It supports HTTP methods GET and POST.
    The body of the HTTP response is available in the WebServer.response attribute (String).
    Note: This component is superseded by the Fuego.NetX.AdvancedWebServer component, which provides better performance and more functionality like support for proxies and for more HTTP methods (like PUT and DELETE).
    Example: Get Oracle's website home page and save it to a file.
    getFrom(WebServer, url : "http://oracle.com", args : null)
    binaryResponse = Binary(text: WebServer.response,
    encoding: "UTF8")
    BinaryFile.writeFromBinaryTo(data : binaryResponse,
    name : "/tmp/oracle_index.html",
    append : false)

  • How to pass parameters through POST

    Hi,
        Can any one help me how to pass the parameters and read it using POST method in webdynpro java.

    Use the following code to read URL parameters inside WDJ
    //     Check for URL parameters
           IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
           IWDRequest request = protocolAdapter.getRequestObject();
           String text = request.getParameter("url_parameter");
    Hope this helps.

  • How to pass PARAMETERS to FORMS while calling them through URL

    Hi,
    I am working on integrating EBS with OBIEE as per the doc id 552735.1(metalink2)
    In the Document, Oracle had given an example for genating the URL in OBIEE as follows,
    SELECT
    HEADER_ID,
    fnd_run_function.get_run_function_url(
    CAST(fnd_function.get_function_id('ISC_ORDINF_DETAILS_PMV') AS NUMBER),
    CAST( VALUEOF(NQ_SESSION.OLTP_EBS_RESP_APPL_ID) AS NUMBER),
    CAST( VALUEOF(NQ_SESSION.OLTP_EBS_RESP_ID) AS NUMBER),
    CAST( VALUEOF(NQ_SESSION.OLTP_EBS_SEC_GROUP_ID) AS NUMBER),
    'HeaderId='||HEADER_ID||'&pFunctionName=ISC_ORDINF_DETAILS_PMV&pMode=NO
    &pageFunctionName=ISC_ORDINF_DETAILS_PMV',
    NULL) as ORDER_HEADER_ACTION_LINK_URL
    FROM OE_ORDER_HEADERS_ALL
    But this one navigates to the JSP page of sales orders. Its working fine,
    h3. Problem :_
    If i want to navigate to Oracle forms(say Sales Orders),
    i'm able to navigate, by giving the 1st param as '5522'(Sales order Form ID(ONT_OEXOEORD)) and 5th parameter as NULL.
    The 5th parameter is used to navigate to a particular record.
    But i dono how to pass the parameters to this particular Sales Order Form..!
    (like here they hav passed HEADER_ID in a particular format)
    {I guess, this might not be understood totally with this given data here, but i don want to make this post too big.}
    CAN ANYONE PLEASE TELL ME, HOW TO KNOW THE FORMAT OF THE "PARAMETERS" TO PASS(WHILE GENERATING URL)_WHILE CALLING AN ORACLE FORM.._
    Thanks in Advance..!!

    Hi,
    In addition to the above...
    if i give the 5th parameter as, 'HEADER_ID=||'header_id { in runtime it'll be converted as 'HEADER_ID=5432..}
    I'm not getting any error, getting a fresh Sales order page..!! { The given Header ID is ignored }
    else if i give something like 'HEADER_ID=||'header_id||'&FunctionName=ONT_OEXOEORD...' { lets say }
    its throwing the following errors..
    FRM-47023: No such parameter named G_QUERY_FIND exists in form OEXOEORD.
    FRM-40105: Unable to resolve reference to item PARAMETER.G_QUERY_FIND
    FRM-47023: No such parameter named ORDER_NUMBER exists in form OEXOEORD.
    and then it shows up the Navigator.
    Requirement :_
    How to pass parameter to a form while calling them through URL.
    Thank you,

  • Yet another 'how to pass a file as a POST HTTP parameter and upload it'

    I've read a couple of threads for uploading a file with MultipartRequest or some other Apache tools, but as well as I understood, I need the HttpServletRequest request object from Servlet API. How could I upload a file without using the Servlet API, only with java.net.* classes and headers?
    I have a Swing application that connects to a file hosting site written in PHP. The site has a form with a fileUpload control and a submit button. On submit, user is redirected to another page with link to the hosted site. I need to automate the process and repeatedly host multiple files. Is there an easy way to manually write a POST query or use any other jse tool?

    Does anybody know how to post a file using utl_http?
    Thanks a lot!

  • How to pass parameters to function module

    Hello,
    Can someone suggest how to pass parameter values to BAPI function module from a .NET client? I am using the BAPI_PO_GETDETAILS module and want to pass required parameters to get the item details. Also, please let me know which table should I refer to when retrieving the result. I am using sap .net connector 3.0.
    Thanks in advance

    Hi unosino,
    at http://www.se80.co.uk/sapfms/b/bapi/bapi_po_getdetail.htm you can see, that you have to pass po_header and po_address to the function.
    You can do that with the nco3 like this:
    IRfcFunction rfcFunction = destination.Repository.CreateFunction("BAPI_PO_GETDETAILS");
    rfcFunction.SetValue("po_header", /* your value */);
    rfcFunction.SetValue("po_address", /* your value */);
    rfcFunction.Invoke(destination);
    kind regards
    christian
    Edited by: chrislind on Nov 11, 2011 2:47 PM

  • How to pass parameters to ABAP function in Crystal report

    Hi All,
    I am creating a Crystal report on top of SAP ECC 6.0. I am trying to call ABAP functions. But I am not able to see an option to pass any parameters to the function.
    Can you please help with how to pass a parameter to a ABAP function?
    Thanks
    Chetan

    Hi there,
    we thought we found the problem. But the ABAP function is now RFC compatible and i still do not see the export parameters of the ABAP function in Crystal.
    Question: The ABAP function does not deliver columns as the result but a table instead. Could this be the problem? Regarding to this we will have to change the output functinality of the ABAP-function to teliver colums instead of a table.
    Thanks for your help,
    regards
    Sebastian

  • How to pass parameters to reports

    Hi,
    I am a new user to dev2000, i am struck at passing parameters to the reports, i have used lexical referrences, to the where clause, in the query that i have written in reports builder. It created a user_parameter of that where_clause. now i am trying to pass this parameter, from the form to generate a report btw'n dates. please sugest me if there is any other way, or correct me if i am on the right path, here is the code that i am calling from the form.
    DECLARE
    pl_id ParamList;
    --repid REPORT_OBJECT;
    --v_rep VARCHAR2(100);
    BEGIN
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id, 'WHERE_CLAUSE', TEXT_PARAMETER, 'WHERE SYS_DATE = ''18-JUL-01''');
    --repid := find_report_object('report34');
    --v_rep := RUN_REPORT_OBJECT(repid);
    Run_Product(REPORTS, 'REPORT34', ASYNCHRONOUS, BATCH,
    FILESYSTEM, pl_id,NULL);
    END ;
    I am gettting an error saying FRM-41211: Integration error:ssl failure running another product.
    this error is comming when i try to access for the first time, and
    Starting report REPORT34 [Tue Jul 24 16:35:14 2001] ...
    REP-0110: Unable to open file 'REPORT34'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file 'REPORT34'.
    End report REPORT34 [Tue Jul 24 16:35:20 2001].
    this for the next time, with out closing runtime env.
    If i have to use RUN_REPORT_OBJECT how can i pass parameters to reports.
    Another thing i encountered is when i am using RUN_REPORT_OBJECT which is working it shows me the parameter form of the reports and when i click on run report, it is just creating a file under forms directory and asking each time when i run report wether to replace it or not and from where it is calling the printer object and actually nothing is being printed, and every thing is fine with the printer and it is not showing the report out put and it shows end of report in the log file of the background report product.

    For your 1st problem it seems to be a bug in Forms 6i - you can visit this site:
    http://pipetalk.revealnet.com/~plsql/
    and find there 41211.
    Helena

Maybe you are looking for

  • 10.6.8 update: screen brightness issues when hooked to external monitor

    I just upgraded to MacOS 10.6.8 yesterday, and since then, the screen on my Macbook is acting strange.  I'm hooked up to an external monitor which I use almost all the time as the primary monitor.  Usually, when I'm using the external, I turn the bri

  • Description unwittingly added to all photos in an event

    There appears to be a bug in iPhoto version 9.3 when using the "Show Captions" with "Descriptions". The faciltiy seems to work OK for the most part and can give a useful descriptive text over photos during a slide show. But, I found that on some occa

  • How to save a graph with some parameters on it?

    hi my application involves analysis of data and plot a graph of analysed data, how to save graph along with analysed data in a file otherthan labview?

  • How to save as an older version in numbers for lion

    my mom just got a new macbook air. we are sharing files on dropbox and everytime she opens a numbers file it does an autosave and then i can't read it because i have numbers '08. is there no way to back save to an older version of numbers in lion? su

  • What are best external drives for Leopard Time Machine?

    Would appreciate advice. I'm getting a MBPro with Leopard. I notice a discussion says Maxtor is not formatted for Time Machine. Is there a list of external drives that are ready to go? Many thanks, I'm not too swift at my age at this stuff. Ralph