ORA-29263: HTTP protocol error
htmlDBMay 23 2012 — edited May 25 2012declare
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