<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Our experiences using SQLA HTTPS webclient in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/our-experiences-using-sqla-https-webclient/qaa-p/13834870#M4865713</link>
    <description>&lt;P&gt;Yes, this was also useful.&lt;/P&gt;</description>
    <pubDate>Fri, 05 May 2023 06:41:37 GMT</pubDate>
    <dc:creator>PCollins</dc:creator>
    <dc:date>2023-05-05T06:41:37Z</dc:date>
    <item>
      <title>Our experiences using SQLA HTTPS webclient</title>
      <link>https://community.sap.com/t5/technology-q-a/our-experiences-using-sqla-https-webclient/qaq-p/13834865</link>
      <description>&lt;P&gt;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:&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;2) Remember to set "type '&lt;CODE&gt;HTTPS:POST'&lt;/CODE&gt;" rather then &lt;CODE&gt;HTTP:POST&lt;/CODE&gt; or &lt;CODE&gt;HTTP:GET&lt;/CODE&gt; etc&lt;/P&gt;
&lt;P&gt;3) Set the header "&lt;CODE&gt;Connection:keep-alive&lt;/CODE&gt;" otherwise you may get intermittent exception WW059 "&lt;EM&gt;The secure connection to the remote host failed: The connection was closed from the other side&lt;/EM&gt;"&lt;/P&gt;
&lt;P&gt;4) You probably want to ensure you use "&lt;EM&gt;&lt;CODE&gt;set 'HTTP(EXCEPTIONS=off; VERSION=1.1)'&lt;/CODE&gt;&lt;/EM&gt;"&lt;/P&gt;
&lt;P&gt;5) set option &lt;CODE&gt;"remote_idle_timeout"&lt;/CODE&gt;, it defaults at 15 seconds which is no good, we have gone for 180 seconds&lt;/P&gt;
&lt;P&gt;The above has certainly given us a rock solid https client which communicates with third parties nicely. &lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 13:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/our-experiences-using-sqla-https-webclient/qaq-p/13834865</guid>
      <dc:creator>PCollins</dc:creator>
      <dc:date>2023-05-02T13:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Our experiences using SQLA HTTPS webclient</title>
      <link>https://community.sap.com/t5/technology-q-a/our-experiences-using-sqla-https-webclient/qaa-p/13834867#M4865710</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;2) Remember to set "type 'HTTPS:POST'" rather then HTTP:POST or HTTP:GET etc&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Are you sure on that? According to the &lt;A href="https://help.sap.com/docs/SAP_SQL_Anywhere/93079d4ba8e44920ae63ffb4def91f5b/3be475ec6c5f10149a70de3d57f416de.html"&gt;17.0.1. docs&lt;/A&gt; type is restricted to HTTP (or SOAP). We do use HTTP but provide an URL with https: for secure connections.&lt;/P&gt;
&lt;P&gt;Great suggestions, anyway! FWIW, we have not needed to increase the default remote_idle_timeout value, probably as most web services are hosted locally.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 03:35:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/our-experiences-using-sqla-https-webclient/qaa-p/13834867#M4865710</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2023-05-03T03:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Our experiences using SQLA HTTPS webclient</title>
      <link>https://community.sap.com/t5/technology-q-a/our-experiences-using-sqla-https-webclient/qaa-p/13834868#M4865711</link>
      <description>&lt;P&gt;Yes, this tripped us up for awhile and we were getting inconsistent connections but if you read the examples on that page it shows using HTTPS:POST in a couple of the &lt;A href="https://help.sap.com/docs/SAP_SQL_Anywhere/93079d4ba8e44920ae63ffb4def91f5b/3be475ec6c5f10149a70de3d57f416de.html#example"&gt;examples&lt;/A&gt; so we tried it and haven't reverted back.&lt;/P&gt;
&lt;P&gt;The timeout issue is very much dependent on the servers, we didn't come across it as a problem when testing locally for sure and it really depends on the load of the server, some third parties servers don't get impacted, same again with &lt;CODE&gt;"Connection:keep-alive"&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 03:48:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/our-experiences-using-sqla-https-webclient/qaa-p/13834868#M4865711</guid>
      <dc:creator>PCollins</dc:creator>
      <dc:date>2023-05-03T03:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Our experiences using SQLA HTTPS webclient</title>
      <link>https://community.sap.com/t5/technology-q-a/our-experiences-using-sqla-https-webclient/qaa-p/13834869#M4865712</link>
      <description>&lt;P&gt;Yes, I asked on the doc page for further clarification between the syntax description and the samples... (The 17.0.0 docs do have TYPE 'HTTPS:POST...' in their samples, too.)&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 04:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/our-experiences-using-sqla-https-webclient/qaa-p/13834869#M4865712</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2023-05-03T04:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Our experiences using SQLA HTTPS webclient</title>
      <link>https://community.sap.com/t5/technology-q-a/our-experiences-using-sqla-https-webclient/qaa-p/13834866#M4865709</link>
      <description>&lt;P&gt;Just to add: To understand and check requests and responses, particularly for newly embedded web services, we usually have to turn on &lt;STRONG&gt;"Web client logging debugging"&lt;/STRONG&gt; temporarily, as described &lt;A href="https://help.sap.com/docs/SAP_SQL_Anywhere/98ad9ec940e2465695685d98e308dff5/3bd4ebcb6c5f1014b6598ff994170e86.html"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;FWIW, the usage of this feature via "dbsrvX -zoc MyWebClientLog.txt" or
&lt;/P&gt;&lt;PRE&gt;call sa_server_option('WebClientLogFile', 'MyWebClientLog.txt');
call sa_server_option('WebClientLogging', 'On');
&lt;/PRE&gt;
has not changed for newer versions.&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 06:36:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/our-experiences-using-sqla-https-webclient/qaa-p/13834866#M4865709</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2023-05-05T06:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Our experiences using SQLA HTTPS webclient</title>
      <link>https://community.sap.com/t5/technology-q-a/our-experiences-using-sqla-https-webclient/qaa-p/13834870#M4865713</link>
      <description>&lt;P&gt;Yes, this was also useful.&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 06:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/our-experiences-using-sqla-https-webclient/qaa-p/13834870#M4865713</guid>
      <dc:creator>PCollins</dc:creator>
      <dc:date>2023-05-05T06:41:37Z</dc:date>
    </item>
  </channel>
</rss>

