on 2017 Apr 03 7:25 AM
Im trying to call a webservice with PUT over https, but i get an error that i do not understand. The call works with Postman.
Could not execute statement.
HTTP request failed. Status code '<none>'
SQLCODE=-983, ODBC 3 State="HY000"
Line 1, column 1
Procedure is
ALTER FUNCTION "DBA"."OpenURLPUT"( in u text ) returns xml url '!u' type 'HTTP:PUT:text/plain' certificate 'file=C:\\\\Database\\\\certificates\\\\cert.crt'
cert.crt is certificate of the domain i am calling
The error message that you are receiving indicates that there was a problem communicating with the remote server: either sending the request or no response was received back. You may be able to get more information if you turned on http client logging using
call sa_server_option( 'WebClientLogFile', 'provide-a-file-name.txt' ); call sa_server_option( 'WebClientLogging', 'ON' );
If you do not specify the WebClientLogFile then the output will go to the server console log. See WebClientLogging for more information.
HTH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you can update your comment with the results/findings, I will appreciate this.
Thanks
User | Count |
---|---|
68 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.