WebServices in APEX

Hi All,
I want to create web services in APEX. I followed tutorial given by Oracle, but I was not able to test the web reference. When I click on Test button it is taking some much time and no response in response section.
Please let me know what can be done.
Also please let me know how we can integrate yahoo shopping with APEX.
Thanks and Regards,
Mahesh

Thanks for the reply.
Now I am slightly understanding about web services. For example, If I place an order for an digital camera from a shopping site, can I route the order information from shopping site to APEX and from APEX can I process it further by integrating with paypal for online payments and get acknowledge from paypal that payment has been made and provide an acknowledgment to shopping site from APEX that order has been shipped to your shipping address. Is this possible? Please let me know regarding this..
Thanks and Regards,
Mahesh

Similar Messages

  • Using SharePoint WebServices in APEX

    Hi,
    I'm trying to use sharepoint webservice in apex.
    But sharepoint webservices uses NTLM authentication, and there is no such option in apex web service config.
    I tried to put authentication data in soap header, but I didn't get any answer from the web service.
    When I use default settings I got 401 unathorized response from the sharepoint server.
    Is there some way for use ntlm auth in apex webservices connection ?
    Regards,
    Marcin

    Joel
    thank you for clarification. Really appreciate your help. I was able to get the list. Here is the procedure. The line that fails is highlighed. Basically it can't initialize the session on AD server...
    declare
         p_username          varchar2(25):='test';
         p_password          varchar2(25):='test';
         l_user               varchar2(256);
         l_ldap_server     varchar2(256)     := 'AD host';
         l_domain          varchar2(256)     := 'domain';
         l_ldap_port          number               := 389;
         l_retval          pls_integer;
         l_session          dbms_ldap.session;
         l_cnt               number;
    begin
    --     l_retval := dbms_ldap.unbind_s( l_session );
         l_user               := p_username||'@'||l_domain;
    *     l_session          := dbms_ldap.init( l_ldap_server, l_ldap_port ); -- start session*     
    l_retval          := dbms_ldap.simple_bind_s( l_session, l_user, p_password ); -- auth as user
         l_retval          := dbms_ldap.unbind_s( l_session ); -- unbind
         dbms_output.put_line( 'yes');
    exception when others then
    dbms_output.put_line( 'no');
    raise_application_error(-20101, 'invalid user');
         end;
    thanks, Ed

  • SOAP Based Webservices in Apex

    Can you please let me if we can create a SOAP Based Webservices in Apex.  Apex will be the provider of the webservice and my other 3rd party application will be consumer.

    Thanks for the reply.
    Now I am slightly understanding about web services. For example, If I place an order for an digital camera from a shopping site, can I route the order information from shopping site to APEX and from APEX can I process it further by integrating with paypal for online payments and get acknowledge from paypal that payment has been made and provide an acknowledgment to shopping site from APEX that order has been shipped to your shipping address. Is this possible? Please let me know regarding this..
    Thanks and Regards,
    Mahesh

  • Call more external webservice from apex

    How can call more external webservice from apex - consecutively one after another - one execute, than next used as a parameter of the previous webservice results

    Sandboxed solution server code can't call an external web service.  There are ways to write a sandboxed solution that calls a web service using client side code.  Here's a sample of a silverlight application deployed via the sandbox that can call
    an external web service.
    http://msdn.microsoft.com/en-us/library/gg615590(v=office.14).aspx
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Webservices with APEX and base64binary

    Hi,
    I'm trying to integrate stellent content management with APEX 3.2. for this I need to create and consume webservices. Stellent has some basic WSDL's that I can use to integrate. One of them is called checkin service and under checkin service we have a sub service called checkinuniversal that I am using to check in content into the content server. the issue that I am facing is that I dont know how to pass base64binary data to the webservice as the filecontent in that WSDL has a format of base64binary. I can manually create the webservice request and post the data to the webservice but that will not be the optimal way. So long story short is there any way to post base64binary data to a WSDL based webservice in APEX?
    Regards,
    Anand

    Anand:
    No, you cannot yet post binary base64 encoded data with a Web service reference based on a WSDL. You will have to use PL/SQL. I have written a blog post on how to do exactly what you are trying to accomplish. See:
    http://jastraub.blogspot.com/2008/06/flexible-web-service-api.html
    Regards,
    Jason

  • Is it possible to create a webservice in APEX 4.0?

    I'm planning to use the upcoming APEX 4.0 web service feature for my new project. I would like to know whether it's possible to create web service in the upcoming APEX 4.0. As far I know, APEX can consume web service, but is it possible to create a web service that can be called/consumed by other applications?. any insight on this is appreciated.
    Regards,
    Surya

    Hi Surya,
    APEX is able to consume Webservices (even in 3.x), to create Webservice you can use "Database Native Web Services" which enables you to publish a stored procedure as a webservice. This feature exists since Database 11g.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com

  • HTTPS webservice in APEX 4.1.1 on 11gXE database

    Hi,
    I was trying to integrate APEX 4.1 with Service-Now ticketing tool. Most of the clients use Service-Now or Remedy for their incident management. Service-Now has exposed the incident details with https://demo.service-now.com/incident.do?WSDL. Use 'admin' as user id and 'admin' as password. We can use this WSDL to create webservice reference and then create a form and report using that webservice reference. But when I was trying to create the webservice it is throwing that generic error Create Web Service Reference 'The URL provided did not return a valid WSDL or wallet needs to be configured for HTTPS requests.
    Following are my details
    APEX Version 4.1
    Database 11gXE
    Webtier : Oracle HTTP server 10g
    Has anyone configured XE for outgoing HTTPS requests.? Could you please help?
    Thanks in advance.
    Mehabub
    Edited by: Mehabub Sheikh on Aug 3, 2012 7:32 AM

    Hi Dietmar,
    Thanks for the information. I am a great fan of yours. I bought your book Expert Oracle Application Express and got many ideas. I learnt a lot from that. I am still learning.
    Could you please help me in resolving the issue I am facing now.
    Below are the details.
    I created a Webservice Reference Manually and tested it from there it showed me the response message. But when I created a form and Report using that webservice reference it did not show me the output.
    What I did are the following
    1) Created Webservice reference manually and specify the END Point URL and action based on the WSDL
    2) Specified the SOAP envelope
    4) Specified the collection name for storing the output message
    4) From Application Builder clicked on Create Page
    5) Selected Form and then selected Form and Report based on Webservice
    6) Selected Webservice name and operation from the drop down
    7) Included the input parameters
    8) Selected SOAP Style as Document and Message Format as Literal
    9) Specified the xpath for the result node
    10) Specified the namesapce for the output message
    11) Specified the output element to display in my report
    12) Ran the Page
    13) Specified the input parameter and user name password for authentication(webservice)
    The Report did not show any output.
    The wsdl is [Service-Now Incident Integration|https://demo08.service-now.com/incident.do?WSDL] . I created the webservice based on this WSDL.
    Am I missing something?
    Thanks,
    Mehabub

  • Need to use a webservice, which expects a Java Forminput class, in Apex

    Hi,
    I'm fairly new to webservices in Apex but have successfully created and used one.
    We now need to use a webservice that was created for a legacy system and expects a Java Forminput class as its second parameter.
    msg = webServ.request_Str(sessionId, frmInput); I do have some details of what the frmInput contains but my basic question to any Web Sevice and Java experts out there is can I take my form items and values and create something that looks like a Java Forminput to the Apex webservice call?
    Any hints on how to do this would be most welcome.
    Thanks,
    Chris
    PS Using Apex 3.2
    Edited by: phillips_chris on Oct 13, 2011 9:22 AM

    The '$' symbol cannot be used directly in SE91 message text. But you can create a message "Sales order does not meet the minimum net value of &" and then in the program call message like this:
    MESSAGE .... WITH '$10,000' .

  • Form & Report on a Webservice

    Hi,
    When I try to build a Form & Report on a web service(XDB web service), it won't allow me to build it by throwing an error message.
    The error message is ORA-20001: Unable to create form on table. ORA-20001: Query must begin with SELECT or WITH
    The webservice reference is a manually created simple soap envelope.
    <soapenv:Envelope xmlns:oraw="http://xmlns.oracle.com/orawsv" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
       <soapenv:Header>
        </soapenv:Header>
       <soapenv:Body>
          <oraw:query>
             <oraw:query_text type="SQL">SELECT * FROM ORDERS</oraw:query_text>
          </oraw:query>
       </soapenv:Body>
    </soapenv:Envelope>The form contains the input items needed for basic authentication. If I check the same soap envelope with SoapUI, or test the webservice reference in APEX it returns the result set with no issues.
    What could be the cause with apex form & report on webservice
    The Apex version is 4.0.0.00.46

    Hi,
    Yes I can build a webservice reference from the wsdl. But then it will recognize all other input attributes except for the crucial attribute <oraw:query_text type=""></oraw:query_text> . That's why I tend to create the soap envelope manually.
    Thanks

  • Restful Webservice and German Umlaut

    Hello,
    i'm trying to setup a restful webservice using Apex 4.2 and Apex Listener 2, but i have problems regarding german unlaute in the json response.
    To see if its a configuration error on my side, i did setup an exmaple on apex.oracle.com and there i get the same results.
    I added a now row to the table emp, with just the ename as 'öäü'.
    Please see the example at http://apex.oracle.com/pls/apex/dwtest/getEmp/
    The result looks like this:
    {"next":{"$ref":"http://apex.oracle.com/pls/apex/dwtest/getEmp/?page=1"},"items":[{"ename":"öäü"}]}It should look like this:
    {"next":{"$ref":"http://apex.oracle.com/pls/apex/dwtest/getEmp/?page=1"},"items":[{"ename":"öäü"}]}The interesting fact is that i sometimes get the desired output, but its net reproducible to me. As browser i tested Firefox, Chrome, IE9 and Opera.
    I wonder if i configured something wrong in my browsers or in apex.
    If you would like to take a look at the webservide use these credentials:
    Workspace: dwtest
    Username: testuser
    Password: forum
    Thanks for help in advance.
    Regards,
    Dirk

    Do you think this could be related to the problem described here? {thread:id=2519567}?
    Howard

  • Apex 4.1 Form and Report on Web Service Report displays nothing

    Hello I created and tested a webservice using the test feature in Apex 4.1.
    I know the results is a string of 1 row.
    I created a Form and Report on Web Service. When I run the form there is nothing displayed in the Reports section its just blank.
    If I run the sql from the results region I get no data found.
    Is the problem the returned data is not stored in the collection?
    Edited by: Oracle Primavera on Oct 26, 2011 3:32 PM

    What would be the reason for the following.
    Testing the webservice in apex returns values.
    However when I run Form and Report on Web Service Report if I query the collection it is always empty?
    Does anyone have any experience on this issue? Is it a bug? Please some hints I have been trying for two weeks without success.

  • Trouble shooting apex application calling web-service reference

    Hi,
    I am developing an APEX application which calls a web-service reference. i am looking for ideas as to how to log necessary information for trouble shooting.
    i already thought about this -
    1. the response from the web-service is displayed to the user (via a collection object).
    but the issue is i want the administrator (who logs in at a later time) to see that an error occurred or what was the response from the web-service.
    Is there any in-built way of accessing this information (is it first of all stored somewhere automatically ?). the one possible solution i see is to create a table and log the info into this table along with user and session id.
    any ideas / pointers will greatly help me.
    Regards,
    Ramakrishnan

    It looks like you won't be able to test web service calls on apex.oracle.com. see this WebService on apex.oracle.com
    Edited by: tfa on Mar 18, 2013 9:59 AM

  • Problem when invoking OWSM registered webservices

    Hi all,
    In Oracle Webservice manager(OWSM) i registered a webservice for authentication and authorization. Then i am invoking this webservice from apex application, but when i am running the application it's giving the "authentication failed". But i am giving the valid username and password. But in OWSM it's working fine.
    can u pls help me how we can call the webservices which are registered in OWSM.
    thanks in advance
    mani

    Hi all,
    In Oracle Webservice manager(OWSM) i registered a webservice for authentication and authorization. Then i am invoking this webservice from apex application, but when i am running the application it's giving the "authentication failed". But i am giving the valid username and password. But in OWSM it's working fine.
    can u pls help me how we can call the webservices which are registered in OWSM.
    thanks in advance
    mani

  • Is it possible to force the user to login again when using oauth 2 (implicit grant)

    Hi,
    I'm trying to build an application based on a rest webservice in APEX which is being accessed by a javascript frontend via ORDS. I'm using the "Implicit grant" flow of OAUTH 2.
    When the user is finished with the application, he/she should be able to logout of the application, so another user can login (on the same machine and browser). But, without clearing all cookies, ORDS will automatically give an access token for the previous user, without showing the login screen to allow/deby access to the rest web service.
    (Clearing the cookies is not possible via javascript, since they are httponly)
    I know it is not the "normal" way to use oauth2, but I would like to be able to log-out a user. So how can I force ORDS to show the loginscreen again to give another user the possibility to login?
    Alexander

    You can force the implicit code flow to prompt the user to sign in by including _auth_=force in the approval request query string. To follow the example shown in the developer guide [1]
    change:
    https://server:port/ords/resteasy/oauth2/auth?response_type=token&client_id=CLIENT_IDENTIFIER&state=STATE
    to:
    https://server:port/ords/resteasy/oauth2/auth?response_type=token&client_id=CLIENT_IDENTIFIER&state=STATE&_auth_=force
    [1]: REST Data Services Developers Guide

  • UTL_HTTP & ORA-12535: TNS:operation timed out

    Hi ,
    I have written the following piece of code to validate if the Web Service is accessible using UTL_HTTP. If I schedule this procedure from Unix (as a cron job) OR try the modified version through Oracle Portal
    I get intermittent Timeout errors (Exception - -12535-ORA-12535: TNS:operation timed out).
    However if I schedule the same package as a dbms_job it always seems to work fine.
    Does anyone have any idea as to what/where the problem could be?
    create or replace procedure abc
    as
    v_ret varchar2(4000);
    begin
    SELECT UTL_HTTP.Request('https://some_external_url', NULL,'correct_wallet_path', 'correct_wallet_password') into v_ret FROM dual;
    end;
    Edited by: ricky90897 on Oct 9, 2008 5:37 AM

    It looks like you won't be able to test web service calls on apex.oracle.com. see this WebService on apex.oracle.com
    Edited by: tfa on Mar 18, 2013 9:59 AM

Maybe you are looking for

  • Web Service Support for WebLogic

    Add Support for Web Services to WebLogic using IONA's XMLBus For anyone interested in Web services, IONA has just released a free technology preview of iPortal XMLBus, with support for BEA WebLogic 6.0 patch 1. You can download it today from www.xmlb

  • I cant match the contact of my iphone to my pc window the icloud

    i have a IPhone 3G upgrade ios 6.1.2 but when i look in icloud for the contact they no appear in the book of contact. sorry i dont speak english if one of you speak spanish please contact me or i try to understand what you write to me. thanks

  • When will Flash Builder 5 be released?

    When will Flash Builder 5 be released?

  • Computer won't turn on after Software Updates

    About a month ago my computer had some Windows Updates, I installed them as per usual, it asked to restart the computer, but once it shut down, it wouldn't turn back on. I tried a few different outlets, no change (all of these outlets work). I left i

  • Screen artifacts in between tabs

    Are you guys noticing the strange graphical behavior when you restore your safari from the dock?