Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-29263: HTTP protocol error

htmlDBMay 23 2012 — edited May 25 2012
declare
p_url varchar2(1000) := 'https://secure-vmsomxlia.crmondemand.com/Services/Integration';
req utl_http.req;
resp utl_http.resp;
begin
utl_http.set_transfer_timeout(180); -- 180 seconds

-- utl_http.set_wallet('file:D:\AMG\httpsCerts', 'welcome1');
utl_http.set_wallet('file:/home/oracle/httpsCerts/amg', 'welcome1');

dbms_output.put_line('Begining HTTP request');
req := utl_http.begin_request(p_url);

utl_http.set_authentication(req ,'usr','pass');

resp := utl_http.get_response(req);
end;

returns ORA-29263: HTTP protocol error

but from putty on the same server i can issue the following.


curl https://secure-vmsomxlia.crmondemand.com/Services/Integration

<HTML><HEAD>......... with the data that i expect


i need utl_http to return the same data that curl does.

Thank you for your help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 22 2012
Added on May 23 2012
4 comments
6,387 views