cancel
Showing results for 
Search instead for 
Did you mean: 

Our experiences using SQLA HTTPS webclient

PCollins
Participant
855

This more a post of observations we have following successfully deploying the SQLA webclient to communicate with a third party webserver as most of the information we found was out of date:

1) Sybase 17.0.11 on Windows uses the operating systems certificate store, provided the server is using a public CA there is no need to declare the certificate in the Procedure.

2) Remember to set "type 'HTTPS:POST'" rather then HTTP:POST or HTTP:GET etc

3) Set the header "Connection:keep-alive" otherwise you may get intermittent exception WW059 "The secure connection to the remote host failed: The connection was closed from the other side"

4) You probably want to ensure you use "set 'HTTP(EXCEPTIONS=off; VERSION=1.1)'"

5) set option "remote_idle_timeout", it defaults at 15 seconds which is no good, we have gone for 180 seconds

The above has certainly given us a rock solid https client which communicates with third parties nicely.

Accepted Solutions (0)

Answers (1)

Answers (1)

VolkerBarth
Contributor
0 Kudos

Just to add: To understand and check requests and responses, particularly for newly embedded web services, we usually have to turn on "Web client logging debugging" temporarily, as described here.

FWIW, the usage of this feature via "dbsrvX -zoc MyWebClientLog.txt" or

call sa_server_option('WebClientLogFile', 'MyWebClientLog.txt');
call sa_server_option('WebClientLogging', 'On');
has not changed for newer versions.

PCollins
Participant
0 Kudos

Yes, this was also useful.