Service web apex with POST method

Hello Apex experts, I am trying to run the web service with the POST method, but not able to make it work (apex 4.2 on apex.oraclecorp.com). Does anyone have example on using the POST method?

Best

Renato

Hello

Please check the thread below:

RESRful POST method

Hope this helps!

(Note: If you think it answers your question, please mark it as correct answer.) This will help other users in the community)

Thank you
Benhamdia

Tags: Database

Similar Questions

  • Methods to transfer data of Service Web Application LV?

    What methods do people have found it more useful to transfer data Services Web of LabVIEW and their instance of the main application? I have a project using LV RT and I would like to be able to send data to the target RT via HTTP requests.

    I found surprisingly little information on the different available methods / best practices for this and there aren't something I tried to do before - I use mostly of Web Services for hosting of static content that uses my library WebSockets.

    These are the methods that I know:

    -Static Variables: the only information of OR , I could find on the way to proceed was to create two shared variables, one for the RT, one for the Web Service and alias them. It seems ridiculous and is useful for data "tag.

    - File: write data to a file within the web service and read out in the application. Therefore, the file/folder for querying data.

    - TCP/UDP: write a Manager TCP/UDP in the application that listens to incoming connections, then create the connection and send the data inside the web service VI.

    - Server of VI: I saw a presentation here that speaks using Server VI (slide 8), but when I tried to get a queue named within the VI (using the instance of the application open / open reference vi at the request on port 4000), I get error 1100 (no queue found with the same name) of the published web service It does not seem to complain about not being able to connect to the instance of the application. Executes the VI locally or from the debug server works. See the attached project (LV2013) for what I tried.

    So, the question is - why my VI Server method does not work when it should (according to this presentation, I couldn't find the examples mentioned) and what methods people have used and had success with? I was hoping that the last method would be to succeed because it means I can push data directly into an existing queue manager, would be a fairly light and medium solution, I wouldn't need to write a custom file manager / network.

    OK - after playing more - I had no wired 'localhost' to the instance of the application open VI I thought I passed by default to "localhost" rather than "this instance of the application. Then I got the "VI Server Access is denied" and added * to the exported VIs list and it worked.

    Always curious to hear other methods / thoughts / success though.

  • Does anyone know how to get data from a web service of Labview with ajax or JSON?

    Hello

    I try to use ajax and json to service Web restful which I build with the labview. However I get errors

    For example. I create a web service from a labview vi (z = x / y http://localhost: 8080/math/divide/5/20 will give {Z: "4,000,000"})

    I get errors for the attached html files.

    Does anyone know how to get al labview WebService with ajax or json data?

    Thank you... Eran


  • Dynamic parameters RESTful Service by POST method.

    Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

    Currently the RESTful in post method Service have 2 static parameters such as P1 and P2.

    for example

    BEGIN

    INSERT INTO INSERT_TABLE (LOG_DESC, LOG_ID)

    VALUES(:P1,:P2);

    COMMIT;

    END;

    How to pass several parameters in the HTTP call when the parameter is unknown? Dynamic parameter is possible?

    Thank you

    MINDMAP thanks for your quick response. I must have misunderstood you. Please go through my description of the issue update. I created another question thread link is https://community.oracle.com/message/12612734#12612734

    Thank you

  • DB database/web space with Apex

    Hello

    If I wanted to get a space on a web server with an Oracle DB to create a page of the APEX, is not anyone knows where and how can I do this?

    Thank you

    Mark

    Check these sites for hosting companies:

    http://Apex.Oracle.com/pls/OTN/f?p=24793:11:0
    http://wiki.Oracle.com/page/Oracle+database+hosting+companies

    Van
    Trent

  • ODI Web service - fill Combo with list of scenario using JSP

    Dear all,

    I recently started working on ODI and Hyperion Planning.Request your help about the ODI and web services.

    We are Member, loads data through ODI and an ODI scenario is created to automate the whole process in 1 thing. Requirement is that, to provide users a user interface well, we plan to use Web services.
    A dropdown/combo with all the scenarios list must appear in the jsp file and user must say run a scenario selection drop-down list.

    I am new to ODI and Webservice. I want to call a script using the web service and an Apache Web server with axis 2 deployed. I also copied the file odi-public - ws.aar in the directory of services. Also, I downloaded the ODIinvoke service and create a jsp for the execution of the script, help from Goodwin blogs;

    http://John-Goodwin.blogspot.com/2009/01/ODI-series-final-installment.html
    http://John-Goodwin.blogspot.com/2009/04/ODI-series-Web-services-part-2.html

    Now, we are able to refer to the specific .jsp file to the browser, which is encoded in the hard scenario and its running perfectly fine. Next challenge is to get the list of ODI scenarios in list dropdown/combo.

    Please find attached the jsp files that we have created.

    Please suggest how to consider before here.
    Any help is greatly appreciated.

    Thanks in advance.
    Srikanth

    The error relates to the wrong scenario.
    How I did in the past, it is something like...

    store front page
    String scenrun = request.getParameter ("scenrun");
    String scen_ver = request.getParameter ("scen_ver");

    .....
    OdiCommandScenario ODIcmdScenario = new OdiCommandScenario();
    ODIcmdScenario.setScenName (scen_name);
    ODIcmdScenario.setScenVersion (scen_ver);

    .....

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Develop Web Services in APEX

    Hello

    I'm just getting started and I need to know what is the best way to develop a web service at the apex or expose functionality as such. Is this possible or do I have to buy a product for that? If so, which?

    Thanks in advance.

    Best regards
    Pedro

    Hello Pedro,

    If you want to develop a web service, the APEX is not the first choice. You should get better for JDeveloper (also free).
    APEX is perfect for consuming web services that...

    Greetings,
    Roel

    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.Logica.com/

    You can assign this answer to your question in marking it as useful or Correct ;-)

  • Can I extract data from AR invoice of merger Financials with a call of Service Web ADF?

    Can I recover data AR invoice of merger Financials (SAAS) by using a call to Service Web ADF?

    How that is done?

    Thank you!

    Arie

    Hi Arie

    There is no available web services to query the data from invoices AR.

    Hope this helps

    Thank you!

    Vik

    http://blogs.Oracle.com/fadevrel

  • Service Web REST-output parameter does not work in the Manager POSITION

    I created a RESTful Web Service in Oracle Apex, using a POST method as a 'Manager'   I have installation 11 input parameters which all work fine, this is my setting an output that does not return successfully.

    Here are details on the output parameter

    Name: returns

    Name of the bind Variable: : return

    Access method: OUTPUT

    Source type: response

    Parameter type: String

    The actual source is a call to a pl/sql package that returns a value that I set: Returns equal to (for example: Returns: = v_result).   I tried this with header Type of Source and still the same result, "no exit".

    I see APEX calls wwv_flow_api.create_restful_param to generate the (import) settings, is there documentation on this procedure?

    How can I get this output parameter to return something to the answer?

    The application accepts a load of Json.

    Any help greatly appreciated

    Thank you

    James

    Solved my problem: feedback does not need to go back

    Does not work

    Name: returns

    Name of the bind Variable: : return

    Access method: OUTPUT

    Source type: response

    Parameter type: String

    Works

    Name: returns

    Name of the bind Variable: returns

    Access method: OUTPUT

    Source type: response

    Parameter type: String

  • Global rules, does not the kickoff when calling service Web CHECKIN_NEW

    Hi all

    We are trying to call web services CHECKIN_NEW/CHECKIN_UNIVERSAL with the required fields like the doctype, securitygroup, primary file title etc...

    It works fine, but the global rules were not the kickoff.

    Ex: Say, we have a rule that says that Field_A is mandatory when SecurityGroup = Public.

    But when we are invoking the webservice with SecurityGroup = Public, content is to check-in even if we do not value Field_A.

    We need global rules to kick sending and we give the error/warning that there is missing field...

    Can you please let us know if we are missing something here, there or another way to get this requirement?

    Thanks in advance,

    See you soon,.
    V

    Funny... I created a global profile rule that triggers a RIDC for CHECKIN_NEW call (my rule checks for the existence of a value in the comments field), and the call to RIDC fails (as I expected) when I only provided no commentary and works when I provided a comment. If the rule engine is indeed fired.

    I think you must post your profile rule. More precisely, exactly how do you define your rule? I think you use the check box "use default value" for the field, which is incorrect for your use case. Also post the rule conditions of activation. They are also probably wrong for the case of the intended use.

    Please do not ask for examples of code until you post your profile in the rule details.

  • Integration of apex with EBS R12 - javax.servlet.ServletException

    Morning,
    We are in the process of upgrading to 11i to R12 and we found that our launch Apex in 11i method no longer works in R12. We try to follow the following instructions: http://www.oracle.com/technetwork/developer-tools/apex/apex-ebs-wp-cabot-consulting-169064.pdf and have created a .jsp file and compiled according to the document. When we try to start the apps function if we get:
    An exception occured.
    
    URL=XXX/OA_HTML/XXFND_LaunchApex.jsp?transactionid=1236782452&language_code=US&CallFromForm='Y'&p_application=112&p_page=101&oas=DScF2XdCwRRnxFePUKHOnQ..
    
    javax.servlet.ServletException: oracle.classloader.util.AnnotatedClassNotFoundException: 
    
           Missing class: _XXFND__LaunchApex
    
         Dependent class: oracle.jsp.runtimev2.JspPageInfo
                  Loader: oc4j:10.1.3
             Code-Source: XXX/apps/tech_st/10.1.3/j2ee/home/lib/ojsp.jar
           Configuration:  in META-INF/boot.xml in XXX/apps/tech_st/10.1.3/j2ee/home/oc4j.jar
    
    This load was initiated at oacore.web.html.jsp1603821464:0.0.0 using the loadClass() method.
    
    The missing class is not available from any code-source or loader in the system.
    I have XXX'ed on our field. Someone else has it, or anyone who has successfully integrated apex with EBS R12 can let me know what they were doing?

    Thank you

    Hello

    If the jsp is compiled successfully you can bounce your web server before you can use the jsp. See MOS notes 458338.1 for further details.

    In fact, now that Oracle have updated their FND gateway for integration Apex there are only a few situations (for example, if you want to pass parameters to the function of the form at the Apex) where you need to use a custom jsp page to launch the Apex. In most cases you can use the Oracle provided GWY.jsp to start your Page Apex. To use this jsp, you must apply the patch 12316083 EBS R12 (and the patch 12726556 if you launch in browser forms). How to use the GWY.jsp is described in 'Extending Oracle E-Business Suite Release 12 using Oracle Application Express' white paper.

    Rod West

  • Unable to create service web j2ee

    I'm doing a web service of Pentecost jdeveloper 10 g. This is my class

    public class WebService {}
    public String [] [] obtenerComisiones (String cdProductor) {}
    Conexion con = new Conexion();
    Return con.getComisiones (cdProductor);
    }
    }


    When I select to j2ee 1.4 Web services (JAX - RPC) like version, had this error:

    Java.lang.String [] [] of the obtenerComisiones method return type cannot be serialized to XML, and no custom serializer has been set for him.


    If I choose the Service Web J2EE 1.3 (Oracle), the message is:

    The selected class contains all the publishable public methods in a web service.



    How can I resolve this situation?
    How can define a serializer for string [] [] with jdeveloper...?
    Thanks for any help

    Hello

    don't think that WS know how to manage tables. Try instead the ArrayList

    Frank

  • Integration of APEX with EBS R12.1.1

    Dear all,

    As I need to integrate EBS R12.1.1 without SSO and APEX

    To do this, I followed the steps in the link below

    http://forums.Oracle.com/forums/thread.jspa?threadID=586011 & tstart = 0


    The steps are

    Implemented at the Apex:

    1. create a blank page in OAE application, for example P2.

    2. edit the page attribute and set the security - authentication "Page is Public.

    3. create a branch in this page, as follows:

    Direction of Type Page accept transformation (not common)
    On the linen branch point: before header
    Action - Page 101 (that's my login page id)

    Implemented in EBS:

    1. create a profile under the responsibility of the developer of the Application as follows:

    Name OAE_LAUNCHER
    Request < what >
    User profile name Oracle Application Express Launcher
    Oracle Application Express Launcher description

    2. the superior set to the value of profile system-> profile-> system administrator responsibility and look for the "OAE_LAUNCHER". Set the value to the level of the Site as:

    port http:// < hostname >: < apex >/pls/apex

    3 create a function under the responsibility of the administrator system-> Application-> function, as follows:

    Name of the function LAUNCH_APEX
    Application of ApEX launch user function name
    Property function plsql SSWA type
    OAE_PKG of HTML Web. LaunchOAE

    4. create a PL/SQL Web entry under the responsibility of the system-> Security-> PL/SQL Web administrator, as follows:

    Name OAE_PKG
    Type package

    5. create an entry in any menu that need to use this link, as follows:

    Application of quick launch ApEX
    Function start an ApEX Application
    Description start an ApEX Application

    * 6. Compile the package OAE_PKG in EBS database *.

    procedure LaunchOAE (varchar2 parameters) is

    l_apex_launcher varchar2 (2000);
    l_apex_launcher_profile varchar2 (2000);
    l_userid applsys. FND_USER.user_id%type;
    l_username applsys. FND_USER.user_name%type;
    l_launcher_params VARCHAR2 (2000);
    l_resp_id NUMBER;
    l_resp_appl_id NUMBER;
    l_security_group_id NUMBER;
    l_org_id NUMBER;

    Start

    l_apex_launcher_profile: = fnd_profile.value('OAE_LAUNCHER');

    If l_htmldb_launcher_profile IS NULL then
    HTP.p (' contact the system administrator.) ');
    HTP.p ("profile - OAE_LAUNCHER is null");
    return;
    end if;

    l_userid: = FND_GLOBAL. USER_ID;
    l_username: = FND_GLOBAL. USER_NAME;
    l_resp_id: = FND_GLOBAL. RESP_ID;
    l_resp_appl_id: = FND_GLOBAL. RESP_APPL_ID;
    l_security_group_id: = FND_GLOBAL. SECURITY_GROUP_ID;
    l_org_id: = FND_GLOBAL.ORG_ID;

    l_launcher_params: = l_launcher_uri: = ' / f? p = 101:2:NO:P101_USERNAME, P101_PASSWORD, P101_RESP_ID, P101_RESP_APPL_ID, P101_SECURITY_GROUP_ID, P101_ORG_ID:' | l_username | ',' || l_password | «, » || l_resp_id | «, » || l_resp_appl_id | «, » || l_security_group_id | «, » || l_org_id;
    l_apex_launcher: = l_apex_launcher_profile | l_launcher_params;

    owa_util. REDIRECT_URL (l_htmldb_launcher);

    end if;

    exception
    while others then
    HTP.p (SQLERRM);
    end LaunchOAE;


    I'm done up to 5 steps, but in step 6, during the compilation of the procedure, I get an error ORA-00900: invalid SQL statement

    could someone help me solve this error as I followed Rod West document

    If any other progressive documents available for Apex & EBS R12 integration please share.



    Kind regards
    Alexander

    Hi Serge,

    SSWA plsql function, is a property that you define everything by creating a FUNCTION under the RESPONSIBILITY of the SYSTEM ADMINISTRATOR...

    If you want to integrate the APEX with EBS 11i or R12...

    As in R12, the JSP that is given in the document West Rod call APEX page shortly after clicking the menu in EBS...

    Therefore compile the JSP correctly by following the steps in the document, if you have compiled successfully, while the APEX page will be redirected by clicking on the MENU of the EBS.

    Make sure that U compile it successfully...

    Izz all wells
    GTA...

    AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone!

    Published by: GTA on 26 January 2011 22:01

    Published by: GTA on 26 January 2011 22:02

    Published by: GTA on 26 January 2011 22:43

  • Errors during the demo 'building a Web Application with JDeveloper11g using EJB'

    Hello

    I'm going by the demo of building a Web Application with EJB using JDeveloper11g. The demo lasts great until "Running Java outside of Java EE container Service".

    I followed the steps "That runs the Java Service outside Java EE container" exactly as written:

    1. now, create a new persistence unit to run the java service outside the Java EE container. Right click on the file META-INF. Persistence.XML and select new Service Java façade in the context menu.

    2. in the Java Service façade to create, if necessary, click next to go to the home page. In the class of Service Java Panel, you can choose to create a new persistence unit (in the next panel) or use an existing unit. Select Choose a persistence unit or create one in the next panel and check the generate a checkbox in the main() method.

    3. the name of the persistence on the outside unit. Choose the JDBC connection and make sure that the JDBC connection is set to HRConn.

    4. all methods should be selected by default. Deselect some of them so that your selection looks like the following image. (Remove the 'byRange' methods)

    5. in the source editor window, for the JavaServiceFacade class, add a new line after the / / TODO comment and enter the following statement:

    Employees a = javaServiceFacade.queryEmployeesFindByName("P%").get(0);
    System.out.println (a.getLastName ());

    When I type the code above:
    Employees a = javaServiceFacade.queryEmployeesFindByName("P%").get(0);
    System.out.println (a.getLastName ());

    I get the following errors:

    Create method to "queryEmployeesFindByName".
    Separate declaration and assignment

    Any help is appreciated.

    Kind regards

    Kelly

    If you use this tutorial - the use of building 5407 http://www.oracle.com/technology/obe/obe11jdev/bulldog/ejb_jpa_jsf/ejb.html#t2s4

    Looks like the link to the tutorial page pointed to an older version.

  • Is it possible to produce a good professional looking Web site with expression web?

    Is it possible to produce a good professional looking Web site with expression web?

    Hello

    The question you have posted is associated with expression web. Please visit the link below to find a community that will support what ask you:

    http://social.expression.Microsoft.com/forums/en-us/Web/threads/

Maybe you are looking for

  • How can I get the registration code to my KDL-40W600B?

    Just like the title says, I have a new KDL-40W600B and have need the code of registration for some of the apps I would like to use. Instructions for a pop - up on the Web of Sony Essentials page is as follows: to get the Registration Code please make

  • Problem with the mode standby in Windows 7

    Hello friends, I have a big problem when Windows 7 updated itself. I have a laptop Toshiba Satellite L505D. When I close the lid, it will automatically 'sleep' mode. Unfortunately, the screen is black and the laptop is still in progress, I have to st

  • OfficeJet 8620: printing back to the front

    How can I get this printer to print at the back to the front

  • Windows Vista will not update

    I could not update Windows Vista for months.  I fixed it once by using the Vista disc and is not updated yet. What can I do now? And how this affects the integrity of the PC? Thank you Peg

  • Error code 80070641 and 641 net frame sp1

    Cannot use windows install im. I've been keeping up with my updates and now I get an error 641 and 80070641. These are the 2 updates fails-security update for Microsoft .NET Framework 3.5 SP1 on Windows XP, Windows Server 2003, Windows Vista, Windows