尝试从plsql访问https网站时无法解决“ORA-28759:无法打开文件”

时间:2016-06-24 10:56:32

标签: plsql oracle11g

  • ACL设置已完成。
  • 认证保存在钱包中。
  • 尝试了一切。没有给出适当的解决方案。

请帮助。

Below is the procedure:

create or replace procedure p_test_https as 
    v_url               VARCHAR2(50) := 'https://support.oracle.com/';
    v_http_req          UTL_HTTP.req;
    v_http_resp         UTL_HTTP.resp;  
BEGIN 
    UTL_HTTP.SET_WALLET ('file:D:\app\product\11.2.0\client_1\BIN\owm\wallets\GaneshY','test1234');   
    v_http_req := UTL_HTTP.begin_request(v_url);
    v_http_resp := UTL_HTTP.get_response(v_http_req);
    DBMS_OUTPUT.put_line(v_http_resp.status_code);
    UTL_HTTP.end_response(v_http_resp);
END p_test_https;
/

Test block:
begin
p_test_https;
end ;
/

Error:
ERROR at line 1:
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1130
ORA-28759: failure to open file
ORA-06512: at "DEV58.P_TEST_HTTPS", line 7
ORA-06512: at line 2

0 个答案:

没有答案