How to run a HTTP command in the service of database?

Hello

Let me start by describing my requirement.

I would like the latitude and longitude of some given postcodes via Google/Yahoo API geocoding.

I can run something like this

http://maps.Google.com/maps/geo?q=$ SW1X7HT, UK & amp; amp; output = csv & amp; amp; key = my_key_value

in my web browsers URL bar and I receive the latitude and the data lonitude code postal (7HT SW1X United Kingdom in this example).

Since I was a little postcoes to get the data for, I like to store postal codes of entry in a table and write a PL/SQL function/procedure that executes this code in a loop.

How to run this command inside PL/SQL and how should I store the value returned by the HTTP command above?

Thanks in advance.

PS: Please note that the command http may not work because I removed the key value that is specific to the user. To make it work, you need a free key value of Google.

Published by: movilogo on August 3, 2009 10:47

Hi movilogo,

UTL_HTTP. Request()
FEATURE request (url in VARCHAR2,
power of Attorney in VARCHAR2 DEFAULT NULL,
wallet_path IN VARCHAR2 DEFAULT NULL,
wallet_password IN VARCHAR2 DEFAULT NULL)
RETURN VARCHAR2;

Returns a web page into a variable.
you have to be able to access the internet from your server!

Concerning

Michael

Tags: Database

Similar Questions

  • How to run a package command line ODI

    Please can someone help me figure out how to run an ODI package from the command line without creating a scenario of the packaging.



    Appreciate your help.
    Thank you
    B

    You can not. Create a scenario and which then executes the command line.

  • How to run a script for all the images in a folder?

    How to run a script for all the images in a folder?

    You can assign your script to an action, then use processor by batch or image with the option apply to all subfolders.

  • How to run 2 different applications of the same Application Server

    Hello

    I would like to know how to run two different applications of the same Application Server with different databases?

    We use
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Oracle Application Server 10g 10.1.2.0.2

    Kind regards

    Hassan

    You can have as much as you want, just your applications should have different names or URLs and point to a specific database (using data sources).

    Greetings.

  • How to run several programs simultaneously on the same block diagram

    Hi all

    I want to run three instruments simultaneously on the same schema. One is a control position for linear drives, other is an optical micrometer and the third is a digitizer card. When using tabs of the controls, the linear actuator Vi is the only thing that seems to work (confirmation on the front panel) but the optical micrometer show no indication on the front panel, but runs in background. I used a tab control to consume less space on the front panel. Someone can help me solve this problem where I can carry several bolts on a single diagram and could even see on the front panel. I enclose my VI.

    Thanks for the help!

    I can't open your VI, but in general; Either you use a loop with all the instruments in the same loop, or separate loops each with no wires between them that forces the execution order. You have none of this?

    Tab control is purely visual, and has nothing to do with the execution.

    /Y

  • When I buy Adobe ExportPDF, how many users are allowed to use the service?

    I want to buy Adobe ExportPDF for use in Adobe Reader DC for my business, however I'm not sure if an account would cover all of my users. How many users is covered for only one account when you buy it? Is it someone who is signed on the account which is authorized to use the service of domain Adobe Reader controller?

    Thank you

    Hi simonp90362895 ,

    Adobe PDF Export is intended for one person and can not be used by all users in a Department. User who bought the license (subscription) can use this service anywhere in the world, on any computer that has internet.

    The user requires just your login (username and password).

    Yes, the user will have to log in with the credentials of the user who has subscribed to this service in order to access the services of export it to PDF in Acrobat Reader.

    Let us know if you need additional assistance.

    Concerning

    Sarojini

  • How to change a sync to forget the service and fire bpel process

    Hi all

    I need to change a synchronous BPEL process in a fire and forget service in SOA 11 g.

    If anyone have implemented the same thing in their projects, please provide your inputs/suggestions.

    Thanks in advance

    Hello

    You will need to change the WSDL operation to a one-way asynchronous type.

    i.e.






    TO





    Otherwise, no matter what it is calling the service will wait for a response.

  • How to run windows (vista, 7), during the night, or during any period of time and do not have to worry it restart itself.

    Windows Update will restart when the changes are applied.  I understand why.  However, when I do not use windows, which is relatively rare, and the specific task, I often run long processes.  Windows will reboot the machine by force regardless of what I'm doing at the time.  I guess if you are electronic control or Watch youtube, its not that big of a deal, but when it stops at Midway for a night process, its quite frustrating.

    I had turned off the windows update service, so I guess that takes care of things, or is there another process that verifies that the windows update is running and restarts it?  Thoughts?  Even if restarting is intentional, the fact that a modern operating system will turn off when it receives a message from the mother ship is quite disturbing (beat tone comes from the fact that I'm a nerd of linux.  Sorry).

    Hello

    Check in scheduled tasks and also like antivirus programs that can update themselves
    and sometimes require a restart.

    Learn how to create a scheduled task leads to the understanding of those that have been created.

    How create a task in Vista Task Scheduler (apply as well to Win 7)
    http://www.Vistax64.com/tutorials/132903-Task-Scheduler-create-task.html

    =============================

    If something stops Windows:

    MyEventViewer - free - a simple alternative in the standard Windows Event Viewer.
    TIP - Options - Advanced filter allows you to see a period of time instead of the entire file.
    http://www.NirSoft.NET/utils/my_event_viewer.html

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • [LV-> TS] How to run a SEQ file, get the result (PASS/FAIL) and the report file?

    Hello

    I'm looking for the most obvious and simple, LabVIEW:

    1. start the motor Teststand: FACT

    2. get a list of SEQ files to run: FACT

    3 - loop through the list to run each file follows:<- found="" some="" examples="" but="" i="" have="" some="" trouble="" with="" the="" uimessage="">

    http://zone.NI.com/reference/en-XX/help/370052N-01/tsexamples/infotopics/executing_sequences_using_a...

    4. get the result of the execution of the SEQ:<->

    5 retrieve the XML + name of the generated report file path:<- obviously="" not="">

    http://digital.NI.com/public.nsf/allkb/3D3B2358DF9B786B8625789500549A3B

    http://forums.NI.com/T5/NI-TestStand/getting-report-file-path-location-at-execution-in-TestStand-201...

    Here's my current implementation:

    David Koch


  • How to run a job Disqualification with the ability to specify the name of the file to process

    Hello

    We want to start a task from the Disqualification by command line where I can specify the name of the input in the command line file?

    I tried to use the Externalize in drive and renamed the 'enable' file name and try to use the command below.

    > java-jar jmxtools.jar runopsjob-ProcessFileToLoad of the job-project DataLoad u weblogic Pei welcome123 - runlabel Jul24 d FileName = abc.dat - nowait localhost:8090

    I expect this command will take the entrance as abc.dat instead which is specified as a reader in the work process. But it does not have the file specified as input and still treat the work with the original staging data.

    Please help how I can use several files get handled by using the unique task.

    Thank you
    Ravi

    Hi Ravi,

    The syntax for the outsourced options is the same as in execution profiles, would be if:

    D - phase.*.snapshot. *. FileName = abc.dat

    Assuming you outsourced or not ownership of file name as "filename."

    Kind regards

    Nick

  • How to run queries of BSE within the APEX

    Hi gurus

    I want to run inside the APEX of a complex query extracted a simultaneous R11 EBS, but this application has many features such as USERENV('LANG') and USERENV('CLIENT_INFO').
    How can I set this info in order to run this application?
    I know that the values of these parameters, but my problem is to put

    Any help will be rewarded
    Oscar

    You must initialize a context apps before do anything associated EBS. The most common place for it is in the section of DTV application (renamed the PLSQL pre-rendered or something like that since 4 APEX).
    Use a call to fnd_global.apps_initialize. You must pass the appropriate values for the user, the responsibility, application etc.

  • How to set auto-complete command in the address bar?

    I have recently updated to Firefox 3 to 8.

    In Firefox 3, when I chose an address outside of the AutoComplete list, very often, he would finally reach the top of the list, so I could just enter a single character and press to enter.

    In Firefox 8, which no longer works. An address that I only used one time stays on top, for a site I visit daily.

    How to return to the behavior of Firefox 3?

    If you are familiar with the evolution of your entries in config for Firefox, you can tell Firefox to ignore domain prefixes. See: setting up and using "correction" without the quotes in the filter bar, see the following.

    In the meantime, try entering "orf" and "fahr" in the url/address bar rather than qualify the FQDN. I believe that this new behavior is by design.

  • How to run and pass parameters to the exe file in the txt file.

    Hello

    I am facing problem with passing parameters in the .exe file, which is run by labview.firstly that I have script .txt with the settings that I have to go to the .exe file. This .exe file is also a software, and this script is written for her. And now I have to create program in labview which should satisfy the following points.

    1. I have to use a button named "Run script". If I pressed the button, it should open the browser where I can choose the script .txt file.

    2 .exe application is expected open(Path already chossen).

    3. After passing the .exe application settings should be closed.

    4 and labview should now update its parameter

    I just open using Exce.vi .exe file, but I didn't get any idea to do more than this.can someone please help me?

    Thanks norbert. CAN I love it? What should I change now? VI attached below...

  • How to run customer and display on the same host server

    I know it's simple, no doubt, but I can't find the answer on the Internet. I am running BB 1.9i. Recently, I noticed that my server to display some of the customer was not run tests, as I expected. After some checking, I decided that it was because these customer scripts were not in the configuration of the server. My first inclination was to just add them. However, after a bit of research on the Internet, I have seen many people claiming that the client and the server must be kept in separate directories. So, I created another directory and my client config untarred it. I took care of bb-hosts was correct and then I tried to run runbb.sh in the client. He has already said a running process of Big Brother and abandoned.

    Could someone point out what step am I missing or a link to a web page that explains the procedure for configuring a client on the server to display?

    Kind regards

    Brad

    Hmmmm... only, you should be able to install archive of bbclient (at the same level as your bbserver). Copy the bb-hosts of your BB server and. / runbb.sh.

    You should only get this message "already running", if a client is already running (not the server).

  • How to run as administrator command prompt? * Respond quickly please *.

    It gives me access denied when I try to copy files when I am logged on as administrator.

    Try mode safe mode with command prompt. Restart the computer and press f8 just before windows starts to load. arrow down to "safe mode with command prompt. If the programs you use are not windows programs, then the drivers for them will not be loaded, but it should open the command prompt to you

    I hope this works

Maybe you are looking for

  • Ffox31 = downloaded Youtube Video Downloader x 4 = stiil does not work?

    I downloaded the add-on: "Youtube Video Downloader" FOUR TIMES, but although it shows on the list of Add-ons, under options, I have no icon/button or whatever in the toolbar to allow me to use it. I tried anyway thinking that it might be on auto, but

  • How to set the resolution on in my XP operating system installation.

    I have a computer that had a copy pirated XP, I bought a genuine copy of XP for the computer I built, however, I was unaware that I could use it only for a computer, and I tried to install it on the computer with the pirated XP operating system.  The

  • New battery problem - does not load.

    My first battery died after 3 years.  I bought a new one and it does not load.  Any ideas?

  • Roller Coaster Tycoon 3 Platinum! -The mouse does not appear

    Hello, I just bought RCT3P, and it works. However, the mouse does not appear in the game, the mouse works but I can't see where I'm on the screen. I tried a lot of different things, but none of them work. I have a HP laptop and it works in Windows 7.

  • Access a class later?

    I have my own class BBM I create hand: BbmConnection *bbmConnection = new BbmConnection(uuid, &app); bbmConnection->RegisterApplication(); How can I use this class later in my application, in another class? I can't reintialise it because I don't know