EBS Customizations (MOSC)

MOSC Banner

UTL_HTTP.begin_request error

edited Jul 16, 2018 3:28AM in EBS Customizations (MOSC) 3 commentsAnswered

Hi All,

I am using database version 11.1.0.7.0 with EBS 12.1.3. I am trying to make a simple request using below code:

declare

vRequest Utl_Http.req;

begin

vRequest :=  UTL_HTTP.begin_request('https://www.google.lk', method => 'POST');

Exception

  When Others Then

    dbms_output.put_line('Error: '||SQLCODE||' '||SQLERRM);

end;

But I am getting following error:

Error: -29273 ORA-29273: HTTP request failed

ORA-06512: at "SYS.UTL_HTTP", line 1029

ORA-12545: Connect failed because target host or object does not exist

The purpose of this exercise is to send a request to SMS service provider which will send our message as SMS to specified number. Also please anyone can suggest the prerequisites for this task. What are the suggested methods or procedures or APIs are available in Oracle?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center