Google visualizations plugin in oracle cloud

Hi everybody,
Does someone tested the Google visualizations plugin in oracle cloud?
http://www.apex-plugin.com/oracle-apex-plugins/region-plugin/google-visualizations_29.html
Because I create a google map region, with a valid address and the region doesn't load, always is showing the "loading" logo.

Run your page in Chrome or Firefox (with Firebug) and check your console for JavaScript errors. That might give you a hint.
And/or run your page in debug mode and check the debug output.
The plugin will try to access files stored on Google's premises. Maybe that is blocked on the Oracle Cloud. But you should be able to see that in the console.

Similar Messages

  • Google Visualization API: Organizational Chart

    Hi friends,
    Have anyone done Organizational Chart using Google Visualization API..........in Apex 4.0
    As my application needed an organizational chart.
    Im using the theme Standard Red-------->theme 1 for my application.......
    Can anyone help me in achieving this chart to my application from the scratch........
    Thanks for your kind help for this issue throughout.......
    I have gone through Jari's organization chart that he built in the below link, it is excellent..
    http://actionet.homelinux.net/htmldb/f?p=100:51
    How to achieve of the same type....
    Regards,
    Mini...
    Edited by: Mini on Mar 28, 2011 5:38 AM

    Hi jari,
    I followed the link given by you, soon after downloading the google visualization plugin as vee said,
    I tested it in my application, simply by creating a blank page.....
    IN that page html header i just copied and paste the JavaScript coding given in the insum's link just for testing..
    And also i have added the application process coding "GET_EMPLOYEES_RELATIONSHIP" for my application...
    I setted this application process "On Load: After "Body" Region(s)"
    If i ran the page means, it is just showing the below code...It is not showing the example org chart given in the insums solution link
    http://apex.oracle.com/pls/otn/f?p=987654321:39
    [{'emp_empno':'5200','emp_ename':'SRIDHAR','mgr_empno':'4500','mgr_ename':'hariprasad'},{'emp_empno':'1222','emp_ename':'fac587','mgr_empno':'5222','mgr_ename':''},{'emp_empno':'2133','emp_ename':'sagar','mgr_empno':'7888','mgr_ename':'ANDY'},{'emp_empno':'7820','emp_ename':'brutusrome','mgr_empno':'210','mgr_ename':'SARO'},{'emp_empno':'7566','emp_ename':'JONES','mgr_empno':'7839','mgr_ename':'KING'},{'emp_empno':'7782','emp_ename':'CLARK','mgr_empno':'7839','mgr_ename':'KING'},{'emp_empno':'7698','emp_ename':'BLAKE','mgr_empno':'7839','mgr_ename':'KING'},{'emp_empno':'7900','emp_ename':'JAMES','mgr_empno':'7698','mgr_ename':'BLAKE'},{'emp_empno':'7844','emp_ename':'TURNER','mgr_empno':'7698','mgr_ename':'BLAKE'},{'emp_empno':'7654','emp_ename':'MARTIN','mgr_empno':'7698','mgr_ename':'BLAKE'},{'emp_empno':'7521','emp_ename':'WARD','mgr_empno':'7698','mgr_ename':'BLAKE'},{'emp_empno':'7499','emp_ename':'ALLEN','mgr_empno':'7698','mgr_ename':'BLAKE'},{'emp_empno':'7934','emp_ename':'MILLER','mgr_empno':'7782','mgr_ename':'CLARK'},{'emp_empno':'7902','emp_ename':'FORD','mgr_empno':'7566','mgr_ename':'JONES'},{'emp_empno':'7788','emp_ename':'SCOTT','mgr_empno':'7566','mgr_ename':'JONES'},{'emp_empno':'7876','emp_ename':'ADAMS','mgr_empno':'7788','mgr_ename':'SCOTT'},{'emp_empno':'7369','emp_ename':'SMITH','mgr_empno':'7902','mgr_ename':'FORD'},{'emp_empno':'7839','emp_ename':'KING','mgr_empno':'','mgr_ename':''},{'emp_empno':'354','emp_ename':'','mgr_empno':'','mgr_ename':''},{'emp_empno':'1001','emp_ename':'','mgr_empno':'','mgr_ename':''},{'emp_empno':'3212','emp_ename':'','mgr_empno':'','mgr_ename':''},{'emp_empno':'5466','emp_ename':'','mgr_empno':'','mgr_ename':''},{'emp_empno':'3213','emp_ename':'','mgr_empno':'','mgr_ename':''},{'emp_empno':'5222','emp_ename':'','mgr_empno':'','mgr_ename':''},{'emp_empno':'4555','emp_ename':'','mgr_empno':'','mgr_ename':''},{'emp_empno':'566','emp_ename':'casca','mgr_empno':'','mgr_ename':''},{'emp_empno':'123','emp_ename':'BOTHA','mgr_empno':'','mgr_ename':''},{'emp_empno':'5555','emp_ename':'JARI','mgr_empno':'','mgr_ename':''},{'emp_empno':'1252','emp_ename':'sabi','mgr_empno':'','mgr_ename':''},{'emp_empno':'4545','emp_ename':'Sriram','mgr_empno':'','mgr_ename':''},{'emp_empno':'7888','emp_ename':'ANDY','mgr_empno':'','mgr_ename':''},{'emp_empno':'8700','emp_ename':'B','mgr_empno':'','mgr_ename':''},{'emp_empno':'4','emp_ename':'muthu','mgr_empno':'','mgr_ename':''},{'emp_empno':'7875','emp_ename':'DUMINY','mgr_empno':'','mgr_ename':''},{'emp_empno':'6500','emp_ename':'yamunamath','mgr_empno':'','mgr_ename':''},{'emp_empno':'7777','emp_ename':'senthil','mgr_empno':'','mgr_ename':''},{'emp_empno':'645','emp_ename':'amla','mgr_empno':'','mgr_ename':''},{'emp_empno':'4500','emp_ename':'hariprasad','mgr_empno':'','mgr_ename':''},{'emp_empno':'3121','emp_ename':'tsotobe','mgr_empno':'','mgr_ename':''},{'emp_empno':'5645','emp_ename':'pravisht','mgr_empno':'','mgr_ename':''},{'emp_empno':'1254','emp_ename':'caesar','mgr_empno':'','mgr_ename':''},{'emp_empno':'8542','emp_ename':'bharathi','mgr_empno':'','mgr_ename':''},{'emp_empno':'3746','emp_ename':'jerry','mgr_empno':'','mgr_ename':''},{'emp_empno':'212','emp_ename':'SMITH','mgr_empno':'','mgr_ename':''},{'emp_empno':'7200','emp_ename':'trent','mgr_empno':'','mgr_ename':''},{'emp_empno':'8999','emp_ename':'YAM','mgr_empno':'','mgr_ename':''},{'emp_empno':'100','emp_ename':'RAJULINGAM','mgr_empno':'','mgr_ename':''},{'emp_empno':'210','emp_ename':'SARO','mgr_empno':'','mgr_ename':''},{'emp_empno':'3246','emp_ename':'ragu','mgr_empno':'','mgr_ename':''},{'emp_empno':'4201','emp_ename':'ingram','mgr_empno':'','mgr_ename':''}]
    Since i have also downloaded the google org plugin.....Then also it didnt worked..
    Regards,
    Mini

  • Google visualization charts

    I tried to add minor changes to the google visualization plugins but they were not taken into effect when the charts were rendered. Take, titlePosition and legend.position, for example.
    <pre>
    l_legend_position varchar2(30) := 'top';
    apex_javascript.add_attribute('legend.position' , l_legend_position )||
    </pre>
    Thanks.

    Things like the following did not work:
    <pre>
    apex_javascript.add_attribute('vAxis' , '{title: ''Year'',  titleTextStyle: {color: ''red''}}' )||
    </pre>
    Thanks.

  • Problem with Google reCaptcha plugin in apex 4.2

    Hi guys,
    We have just upgraded from APEX 4.0.1 to APEX 4.2. The installation and migration of the applications went very well (after installing the patch for the import of the workspaces :-) ). But we have met a problem - we have a Google reCaptcha plugin on 101 page (authentication page). It has runs pretty well on 4.0.1, but after upgrade whole plugin item just has disappeared from 101. Actually it has disappeared from IE9, IE8, Mozilla 16 and Google chrome. The only browser that is displaying reCaptcha is Opera.
    Do you have any idea, why this happened and how we can fix it? The client wants to make some tests this week and we have to fix the situation.
    Thanks in advance.
    Gancho
    Edited by: G. Kolev on Oct 31, 2012 11:48 AM
    Edited by: G. Kolev on Oct 31, 2012 11:49 AM

    Hi,
    in the generated HTML code, do you still see the JavaScript calls to include the Google reCaptcha? For example something like
    &lt;script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
    &lt;script type="text/javascript">
    apex.jQuery( document ).ready( function() {
    (function(){Recaptcha.create("6LcGI70SAAAAADdzZiygNW47PaDtxCdECviVvas2","P205_RECAPTCHA_RECAPTCHA",{"theme":"red"});apex.jQuery(document).bind("apexbeforepagesubmit", function(){apex.jQuery("#recaptcha_challenge_field,#recaptcha_response_field").attr("name", "p_v04");});})();Have you verified that the page doesn't raise a JavaScript error during rendering. That could also prevent that the above JavaScript code is successfully executed.
    As you can see on our demo page at http://apex.oracle.com/pls/apex/f?p=654321:205:0 it still works fine in APEX 4.2
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf
    Edited by: Patrick Wolf on Oct 31, 2012 9:30 PM

  • Security problem with Google Recaptcha plugin

    Hi all,
    Found a security problem with Google Recaptcha plugin. If I delete the tag containing the recaptch(on some page) with Firebug, I can authorize myself without validating with Recaptcha. If someone knows how to fix this problem, I'll be be very thankful.
    Thanks in advance,
    Regards Ivan

    Hi Ivan,
    you can secure it by adding an "Item specified is NOT NULL" validation to your page.
    Will update the documentation and try to add a permanent fix in a new version of the plug-in.
    Thanks for letting us know!
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Please suggest public sites built with APEX running at Oracle Cloud

    I’m interested in exploring the option of deploying an APEX application to the Oracle Cloud. I know it may be a bit early as this service was recently offered, but I would appreciate if people that know or have built such public APEX web sites/apps hosted in the public Oracle Cloud could put a link to the site in this thread. I’m curious on exploring response time etc. for the Oracle Cloud.
    If anyone has some statistics for compared response time for an identical app running in the Oracle cloud with one running at APEX hosting services from other companies, this is also very interesting…
    Many thanks :-)

    Hi,
    just signup for a trial account at https://cloud.oracle.com/ and try it with your own app. Note: Approval might take a while.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Google Earth Plugin and LabVIEW: High CPU usage when adding placemarks

    Hi,
    I posted this question on stackoverflow earlier this week but feel it might be better suited to the LabVIEW community specifically so I'm reposting here:
    I'm writing an application which uses the Google Earth Plugin to display events on the globe. Each event is a single point kml placemark with an icon which is a 3kb png file. Placemarks are uploaded to the plugin as they are received by the software. I am experiencing increasing CPU usage with the number of placemarks that are added.
    I have tested displaying a new placemark every second and running until the software running the plugin completely froze (graph attached). The GEPlugin (green trace) stopped responding (i.e. the globe did not respond to the mouse) at around 1200 placemarks added and CPU usage was at ~30%. When the software itself (red trace) froze the plugin was using around 50% CPU and ~3700 placemarks had been added). After the freeze, no new placemarks were added which caused the software to respond (but not the plugin) so I could clear all the placemarks. After the placemarks were cleared from the globe, the CPU usage of the plugin returned to around 5% CPU.
    So what I've seen is that GEPlugin CPU usage increases linearly with each kml placemark added. Is this the expected behaviour/ a normal limitation of the plugin? If not is there a more efficient way of adding many placemarks to the globe?
    I am using GEPlugin version 7.1.1.1580 (API version 1.010) and LabVIEW 12.0f3
    Please see the test results attached. Any input greatly appreciated!
    Original stackoverflow post:
    http://stackoverflow.com/questions/20994323/google-earth-plugin-with-labview-high-cpu-usage-when-add...
    Attachments:
    Performance Log 020114_095115.png ‏82 KB

    Hello,
    I have had a look at your graphs and understood what you are trying to do. To me it seems that as the image gets more complex it gets harde to render which wold likely cause increase in CPU usage resulting in the freeze. I would suggest you try running the program on anoher computer to check on the RAM front of things. If this is a limitation of the GE Plugin then unfortunately I can not do much to help, but if you think this is a problem coming from your LabVIEW code then you can post your code here and I can take a look.

  • Welcome to Oracle Cloud!

    Welcome to Oracle Cloud! A couple of known facts that you should be aware of:
    A. http://cloud.oracle.com is supported in Firefox, Chrome, IE, and Safari browsers. However, there maybe some features that may not provide optimal experience in IE.
    B. Java and Database Cloud Service - documentation and self service trial service availability will be announced soon.

    Have you made the user a buyer?
    (Purchasing > setup > personnel > buyer)
    Sandeep Gandhi

  • How to create a custom plugin in Oracle Access Manager to create a cookie

    How to create a custom plugin in Oracle Access Manager to create a cookie or Header Variable..
    Vipin

    Its has more steps which you need to consider in addition to Note:101048.1 which is mentioned by Prashant_Pathak. Both notes have enough information. If not, let's know what else you need to set

  • Why do i need three? - Google Talk Plugin, Google talk plugin video renderer and Google talk plugin video accelerator?

    When I check my plugins, the following three, very closely related (in my mind) plugins are listed, and the "Renderer" still shows "Research" when checking to see if it is Up-To-Date. It seems to me I don't need all three. I tried removing the Renderer (yes, I know how to do that safely), but Google seems to continue to reinstall it (with one or both of the other two...?)...I'll ask this on a Google Forum too, since it's their product, but wondered if anyone has any insight. I obsess about plugins that need "Research" - Thanks!
    Google Talk Plugin Video Accelerator version:0.1.44.24
    Google Talk Plugin Version 3.15.2.12038
    Google Talk Plugin Video Renderer Version 3.15.2.12038

    Went to Google Talk Help and found advice to remove the "googletalkplugin_port file on [my] computer."
    http://support.google.com/chat/bin/static.py?hl=en&page=known_issues.cs ... and click "Voice and video plug-in unrecognized" under "Currently Known Issues"....
    Now, the only Google Talk plugin I have in Firefox is
    Google Talk Plugin Video Renderer
    Version 3.15.2.12038
    ...but it does indeed remain "Unrecognized" by Mozilla/Firefox...

  • Error while deploying adf application on oracle cloud service

    hello, i hv registered oracle cloud service for java and database. i hv created simple adf application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11gr2. so i hv created ear file for deployment on cloud. i deployed adf application on cloud using java console. But, after uploading application, deployment was failed. I tried 3 times this, but the result was same. I checked log, where i got 3 warnings in whitelist log and error in deploy log. Those are as follows:
    Warnings in   whitelist log:
    2013-04-14 06:57:11 CDT: Starting action "API Whitelist"
    2013-04-14 06:57:11 CDT: API Whitelist started
    2013-04-14 06:57:12 CDT: WARNING - There are 3 warnings(s) found for Testapp.ear.
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Test_ViewController_webapp.war (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (1 Warning)
    2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "login-config" missing under element /
    javaee:web-app.
    If you want to make your application public, you can have empty
    <login-config/> in your web.xml. If you need authentication then you must
    have <login-config> and its child <auth-method> element in web.xml.
    Without this element(<login-config>), users may be challenged by SSO, but
    the application code will be executed as anonymous user only. Line No:4.
    2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (2 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "jsp-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    If you have a JSP file that is not pre-compiled, The compilation errors
    could be shown on the browser. It is recommended to include
    <jsp-descriptor><verbose>false<****><****-descriptor> in weblogic.xml.
    Line No:2.
    2013-04-14 06:57:12 CDT: WARNING - 2:Recommended child element "session-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    You will be required to have distinct cookie-path, if multiple
    applications are accessed with in the same SSO session or if you have
    multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
    in the same service instance.
    Line No:2.
    2013-04-14 06:57:12 CDT: WARNING - Testapp.ear had 3 warning(s).
    2013-04-14 06:57:12 CDT: INFO - Whitelist validation has completed with 0 error(s) and 3 warning(s).
    2013-04-14 06:57:12 CDT: Whitelist validation passed.
    2013-04-14 06:57:12 CDT: "API Whitelist" complete: status SUCCESS
    and Error in deploy log:
    2013-04-14 06:57:12 CDT: Starting action "Deploy Application"
    2013-04-14 06:57:12 CDT: Deploy Application started
    2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: Failed to load webapp: Test-ViewController-context-root because of DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
    2013-04-14 06:57:15 CDT: WL action state: failed
    2013-04-14 06:57:15 CDT: Action FAILED with WL action state: failed
    2013-04-14 06:57:15 CDT: Check the server log of your Java cloud service for more info about the failure.
    2013-04-14 06:57:16 CDT: Application deployment failed.
    2013-04-14 06:57:16 CDT: "Deploy Application" complete: status FAILED
    I am using jdeveloper 11gr2, so pls dont tell me to use jdeveloper 11gr1. because, i hv already developed an application for my final year B.Tech and i cant migrate to previous release. So there is only one way for me by generating ear file and deploying from console.
    So,
    I m not getting what is the problem and what will be solution for this?
    What should i do?
    What changes should required?
    pls, help me to get out from this problem !!!!!

    Well, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
    >
    Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
    ADF Desktop Integration
    ADF mBean
    ADF MDS (Seeded customizations or cross-session personalization)
    ADF Mobile
    ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
    ADF Business Components services interfaces (web services) or events
    ADF Data Controls for BI, Essbase, BAM, and JMX
    Further there are some restrictions which are good to know I think
    No Java Mail API (=>Sending Mails is prohibited)
    No File system access by deployed applications (=>Writing files is prohibited)
    No Direct use of Oracle JDBC Driver APIs
    No Java Message Service (JMS)
    Max Size for deployment archive 95MB
    >
    I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
    Timo

  • Is there a google-hangout plugin for arch ?

    Hi
    Sorry if this is a dumb question, but is the google-talk plugin in AUR the same as the hangouts plug-in available as an RPM or DEB at https://www.google.com/tools/dlpage/han … nload.html
    If not anyone know if there is a package for hangouts?
    I have the basic hangout video and phone calls working in chrome, but I can not share my screen (g.co/present) it just sits "starting screen sharing,," forever.

    Just read the PKGBUILD, it will tell you exactly how the package is put together.

  • SQL Developer 4.0.0.13 and Oracle Cloud DB. Cart Access Issue (Unable to deploy in cloud).

    Hello,
    I asked for a trial account on 04/02 (this year) of the Oracle Cloud. I've been able to create a Cloud Connection in SQL Developer (I'm able to login with my oracle email with the "Service Instance URL"). I am able to see the 11 example tables (DEPT, EMP, and 9 DEMO_X tables).
    My data:
    SQL Developer 4.0.0.13
    DataCenter: US Commercial 2 (US Commercial - Chicago). I'm settled in México, at this moment I don't remember to have selected some DataCenter, but I got that one.
    Domain SFTP Host & Port: sftp.us2.cloud.oracle.com:22
    Domain SFTP User Name: USdddddd (changed here for example reasons)
    Service SFTP Host & Port: sftp.us2.cloud.oracle.com:22
    Service SFTP User Name: USssssss (changed here for example reasons)
    My problem. I cannot deploy on the cloud (via the Cart tool on SQL Developer).
    In chat support, I was told to check this site (1) Data Loading and the Oracle Database Cloud Service. It seems the steps are the same of this site (2) that I was following before Creating and Deploying JSF/JPA Applications to Oracle Cloud.
    My scenario is not according the tutorial. According to (1), the tutorial highlights the use of the user detailed as "Service SFTP User Name" (USssssss). The site says that if I click on that user, I should be able to reset its password on SFTP users. BUT, this user (USssssss, Service SFTP User Name) is NOT shown as it is explained, the user that is shown there is the one under "Domain SFTP information" (USdddddd, that is, the user that I should NOT use, according to that webpage).
    My user Service SFTP User is not shown in Security-SFTP Users. When I click the user name (USssssss), the site takes you to the Security tab, and SFTP Users sub tab. I notice that my Service SFTP User Name (USssssss) appears in Security tab, but it appears under "Users" sub tab, NOT on "SFTP Users" sub tab. Also, if I try to reset the Service SFTP User password (in Users sub tab), the site says "Oracle Cloud will send an email with a temporary password to USssssss USssssss." It does not ask me to write the new password (SFTP Users sub tab works fine, asking me a password for USdddddd).
    Anyway, in SQL Developer, I made several tests in the Cart, testing either the Service and also the Domain users, port 22 and 2222. None of them worked. The message I get is:
    Unable to connect to sftp server with provided details.
    I've also tried to access the sftp url with Putty, PSFTP, and Filezilla. From those three apps, the sftp url gives me timeout (either on port 22, or 2222). But if ping that url, I got a response back.
    So I'm not sure where is the problem. Is it the url? Is it the port? Is it the Service SFTP User? All of them?
    Any comment, is very welcome.
    P.S. It will be nice to have a "posted date" for each tutorial and perhaps identify the Cloud version that is being explained (the Oracle cloud is growing fast, perhaps the tutorials will be deprecated soon).

    Hi Gustavo,
    It appears your Service SFTP user was not created correctly. Please contact support and mention the fact that your Service SFTP user appears on Security/Users tab and not on Security/SFTP Users tab.
    Vlad

  • How do I find the home page to update plugins? Google Update, Google Earth Plugin, Windows Live Photo Gallery. I have been to the Google plugins page and found nothing. Thank you. .

    I am using Window 7 and Firefox 5.0.1

    Google Update, Google Earth Plugin, Windows Live Photo Gallery Plugin all show up as unkown plugins in the Plugin check. Windows Live Photo Gallery is part of Windows Live Essentials.
    I searched the Microsoft Web-site in general and specifically Windows Live Photo Gallery and could any version numbers. My current version of Windows Live Photo Gallery Plugin is shown as 15.4.3508.1109 last updated Novmber 10, 2010. I did an internet search and this appears to be the version number for Window Live Essentials 2011. Filecluster.com lists the latest version of Windows Live Photo Gallery as 15.4.3538.0513 updated on Jul 07, 2011. I can find no versions or dates for the plugin.
    Thanks.

  • Problem while bringing Google Calendar events to Oracle Tables

    Hi Friends,
    I have written the following code to bring the Google Calendar Events to Oracle Tables...
    CREATE OR REPLACE procedure XX_DEV.authenticate_service_test(p_email in varchar2,p_password in varchar2)
    is
    l_request utl_http.req;
    l_response utl_http.resp;
    l_params varchar2(255);
    l_resp_data VARCHAR2(4000);-- CHARACTER SET;
    l_auth_token VARCHAR2(4000);
    l_cal_entry CLOB;
    v_response_xml XMLType;
    v_entry_id varchar2(100);
    xml_result xmltype;
    cnt number:= 0;
    v_xmldoc CLOB;
    v_start_time date;
    v_end_time date;
    cursor c1 is select x.title title, x.content content, x.where where, x.start_time start_time, x.end_time end_time, x.entry_id entry_id from
    xmltable('feed/entry'
    passing xmltype(v_xmldoc)
    columns title varchar2(1000) path '/entry/title/text()'
    ,content clob path '/entry/content/text()'
    ,where clob path '/entry/gd-where/@valueString'
    ,start_time varchar2(100) path '/entry/gd-when/@startTime'
    ,end_time varchar2(100) path '/entry/gd-when/@endTime'
    ,entry_id varchar2(1000) path '/entry/id'
    ) x ;
    begin
    -- access the oracle wallet to allow us to make an https request
    utl_http.set_wallet(path => 'file:/u01/app/oracle/product/11.2.0/owm/wallets/oracle11/',password => 'srisys123');
    -- set up the request body with our credentials
    l_params := 'Email=' || p_email || '&Passwd=' || p_password ||'&service=cl' || '&source=e-DBA-test-1.0';
    l_request := utl_http.begin_request('https://www.google.com/accounts/ClientLogin','POST','HTTP/1.1');--accounts/ClientLogin
    -- set the request headers
    utl_http.set_header(l_request,'Content-Type','application/x-www-form-urlencoded');
    utl_http.set_header(l_request,'Content-Length',length(l_params));
    -- write out the request body
    utl_http.write_text( l_request, l_params );
    -- get the response
    l_response := utl_http.get_response( r => l_request );
    dbms_output.put_line('Status Code: '||l_response.status_code);
    loop
    utl_http.read_line( r => l_response, data => l_resp_data, remove_crlf => TRUE);
    dbms_output.put_line(l_resp_data);
    if substr(l_resp_data, 1, 5) = 'Auth=' then
    l_auth_token := substr(l_resp_data, 6);
    end if;
    end loop;
    exception
    when utl_http.end_of_body then
    null;
    dbms_output.put_line('Auth Token: '||l_auth_token);
    utl_http.end_response ( l_response );
    -- replace the substitution variables in the template with the parameter values
    --utl_http.end_response ( l_response );
    l_request := utl_http.begin_request(
    'http://www.google.com/calendar/feeds/default/private/full',
    'GET',
    'HTTP/1.1');
    utl_http.set_header(
    l_request,
    'Content-Type',
    'application/atom+xml');
    utl_http.set_header(
    l_request,
    'Authorization',
    'GoogleLogin auth='||l_auth_token);
    l_response := utl_http.get_response( r => l_request );
    utl_http.read_text(
    l_response,
    l_cal_entry
    dbms_output.put_line('Status Code: ' || l_response.status_code);
    /*select replace(l_cal_entry,'<?xml version='||'''1.0'''||' encoding='||'''UTF-8'''||'?>','') into l_cal_entry from dual;
    select ltrim(l_cal_entry,substr(l_cal_entry,1,148)) into l_cal_entry from dual;
    select '<feed'||l_cal_entry into l_cal_entry from dual;
    select replace (l_cal_entry,':','-') into l_cal_entry from dual;*/
    dbms_output.put_line('Calendar Event: ' || l_cal_entry);
    -- xml_result :=XMLType.extract(l_cal_entry,'//title');
    delete from xml_test1;
    insert into xml_test1 values (l_cal_entry);
    utl_http.end_response ( l_response );
    select DATA into v_xmldoc from XML_TEST1;
    execute immediate 'alter session set events = ''31156 trace name context forever, level 2''';
    for i in c1
    loop
    l_cal_entry:= NULL;
    dbms_output.put_line('Result: '||i.title||'*'||i.content||'*'||i.name||'*'||i.start_time||'*'||i.end_time||'*'||i.entry_id);
    begin
    select 1 into cnt from events_bkp where entry_id = i.entry_id;
    select nvl(to_date(rtrim(replace(i.start_time,'T',' '),substr(replace(i.start_time,'T',' '),12,20))||
    replace(substr(replace(i.start_time,'T',' '),12,8),'-',':'),'yyyy-mm-dd hh24:mi:ss'),sysdate) into v_start_time from dual;
    select nvl(to_date(rtrim(replace(i.end_time,'T',' '),substr(replace(i.end_time,'T',' '),12,20))||
    replace(substr(replace(i.end_time,'T',' '),12,8),'-',':'),'yyyy-mm-dd hh24:mi:ss'),sysdate) into v_end_time from dual;
    update events_bkp set description = i.title, notes = nvl(i.content,'No Notes'), start_date_time = v_start_time, end_date_time = v_end_time
    where entry_id = i.entry_id;
    exception when others then
    select nvl(to_date(rtrim(replace(i.start_time,'T',' '),substr(replace(i.start_time,'T',' '),12,20))||
    replace(substr(replace(i.start_time,'T',' '),12,8),'-',':'),'yyyy-mm-dd hh24:mi:ss'),sysdate) into v_start_time from dual;
    select nvl(to_date(rtrim(replace(i.end_time,'T',' '),substr(replace(i.end_time,'T',' '),12,20))||
    replace(substr(replace(i.end_time,'T',' '),12,8),'-',':'),'yyyy-mm-dd hh24:mi:ss'),sysdate) into v_end_time from dual;
    insert into events_bkp values(events_seq.nextval, 9, 1,1, 4, i.title, nvl(i.content,'No Notes'), v_start_time, v_end_time,'','',
    4, 1, sysdate, 1, sysdate, 13, i.entry_id);
    end;
    commit;
    end loop;
    execute immediate 'alter session set events = ''31156 trace name context off''';
    end authenticate_service_test;
    I am able to execute it successfully with my username and password but I am getting error when the number of events are more than 15...
    The parameter l_cal_entry which is of clob datatype is not holding the whole xml data.
    Please advice....
    Thank You,
    Srikanth

    Hi Friends,
    Now I am able to load all the events of a user by adding the following code
    loop
    utl_http.read_text(l_response, l_cal);
    l_cal_entry:= l_cal_entry||l_cal;
    end loop;
    but I am getting problem when the user has more than one calendar. The Begin_request link I am using is...
    'https://www.google.com/calendar/feeds/default/private/full'
    Using this, I am able to get only the events of a default calendar associated to the user.
    How can I get the events of all calendars or a particular calendar associated with the user.
    I may have to change the above link... I have tried with various combinations by appending calendar id but I am unable get the right combination
    Please advice...
    Thank You,
    Srikanth

Maybe you are looking for

  • Sending Smart forms O/P as an attachment thru e-mail...

    Hi friends... I have dveloped a new Smartform for PO reminder letter.. and I am trying to send it as an attachment thru mail... the code I wrote for that is given... but I am getting a runtime error like In program "CL_TRACE_BCS==================CP "

  • Should You Buy An iPhone Now, Or Wait For The Next One?

    Great article by HuffPost Tech. The most common thing I get asked whenever I tell anyone I'm a tech writer is some version of the question: "Should I get a new iPhone now, or should I wait until the next one comes out?" It is as though my business ca

  • Is it bad RAM or a bad slot?

    I have a dual G5 2.5GHz PowerMac. It came with two 256MB DIMMs installed in the two #1 slots (J11, J12). I bought two 1GB DIMMS and installed them in the two #2 slots (J13, J14). The brand and model of RAM I bought is Patriot PC3200 400MHz DDR DIMM's

  • Can't access photos and videos from Library for uploading to net or iMovie

    I've been downloading my pics from my Nikon L18 for the last 6 months but cannot access them from the library itself; for instance if I'm trying to upload a pic onto Facebook or trying to import my videos into iMovie. When I'm in iPhoto I can see the

  • Configuring JMS.

    All,           I have a JMS configuration question here.           My Weblogic Setup is as follow:           AdminServer           Cluster with two Managed Servers - myconsole, trader           JMS FileStore           myconsolestore with target as my