<?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: webclient function in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/webclient-function/qaa-p/13824720#M4855563</link>
    <description>&lt;P&gt;I am using SQL Anywhere 17  and also tried to add the line &lt;STRONG&gt;certificate 'file=*'&lt;/STRONG&gt; in the definition of the webclient function, without success!!&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2020 06:13:12 GMT</pubDate>
    <dc:creator>Baron</dc:creator>
    <dc:date>2020-12-01T06:13:12Z</dc:date>
    <item>
      <title>webclient function</title>
      <link>https://community.sap.com/t5/technology-q-a/webclient-function/qaq-p/13824719</link>
      <description>&lt;P&gt;Could someone please help me why the below code not works?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;create or replace function "V"."loginRequest"("SoapPayLoad" xml)&lt;/P&gt;
&lt;P&gt;returns xml&lt;/P&gt;
&lt;P&gt;url '&lt;A href="https://XXX.YYY.com:443/ZZZ/session" target="_blank"&gt;https://XXX.YYY.com:443/ZZZ/session&lt;/A&gt;'&lt;/P&gt;
&lt;P&gt;type 'http:post:text/xml';&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;and once I call the function using &lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;call loginRequest('myxml');&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then I get an error stating: &lt;EM&gt;The secure connection to the remote host failed: The connection was closed from the other side, SQLCODE=-990, ODBC 3 State="HY000"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;At the begining I thought maybe my request is incorrect or the error is related to server, but once activating client log, then I see that the response from server is correct, so my request is correct and the resoponse is also exactly as expected, and the only problem is with calling this webclient function.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 05:53:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webclient-function/qaq-p/13824719</guid>
      <dc:creator>Baron</dc:creator>
      <dc:date>2020-12-01T05:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: webclient function</title>
      <link>https://community.sap.com/t5/technology-q-a/webclient-function/qaa-p/13824720#M4855563</link>
      <description>&lt;P&gt;I am using SQL Anywhere 17  and also tried to add the line &lt;STRONG&gt;certificate 'file=*'&lt;/STRONG&gt; in the definition of the webclient function, without success!!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 06:13:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webclient-function/qaa-p/13824720#M4855563</guid>
      <dc:creator>Baron</dc:creator>
      <dc:date>2020-12-01T06:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: webclient function</title>
      <link>https://community.sap.com/t5/technology-q-a/webclient-function/qaa-p/13824721#M4855564</link>
      <description>&lt;P&gt;The answer was found &lt;A href="https://sqlanywhere-forum.sap.com/questions/35184/sql-anywhere-170106057-the-secure-connection-to-the-remote-host-failed-the-connection-was-closed-from-the-other-side
"&gt;Here!&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So adding &lt;STRONG&gt;set 'HTTP(VERSION=1.1)'&lt;/STRONG&gt; to the definition of web client function&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 06:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webclient-function/qaa-p/13824721#M4855564</guid>
      <dc:creator>Baron</dc:creator>
      <dc:date>2020-12-01T06:26:09Z</dc:date>
    </item>
  </channel>
</rss>

