<?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: http:get username password in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaa-p/13844050#M4874893</link>
    <description>&lt;P&gt;Well it does not for non HTTPS request, but seems to have trouble for SSL, not sure what else I need to do, thanks&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2017 14:32:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-11-13T14:32:58Z</dc:date>
    <item>
      <title>http:get username password</title>
      <link>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaq-p/13844045</link>
      <description>&lt;P&gt;I have a function to get data from a webservice.  It seems to reach out for http, but for https it is throwing an error.&lt;/P&gt;
&lt;P&gt;SET &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/55310"&gt;@CMD&lt;/a&gt; = STRING('&lt;A href="https://username:password@website.com/jsoncmd?timeRange=11/06/2017%2000:05~11/06/2017%2000:09" target="_blank"&gt;https://username:password@website.com/jsoncmd?timeRange=11/06/2017%2000:05~11/06/2017%2000:09&lt;/A&gt;')&lt;/P&gt;
&lt;P&gt;SET  &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1694805"&gt;@RET&lt;/a&gt; = f_dans_web_client_function(@cmd)&lt;/P&gt;
&lt;P&gt;error is The URI &lt;A href="https://username" target="_blank"&gt;https://username&lt;/A&gt;:password@website.com/jsoncmd?timeRange=11/06/2017%2000:05~11/06/2017%2000:09 
is invalid
SQLCODE=-980, ODBC 3 State="HY000"&lt;/P&gt;
&lt;P&gt;But I can do this http to other sites.  And my URL works if I put it into a browser&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 15:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaq-p/13844045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-11-09T15:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: http:get username password</title>
      <link>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaa-p/13844048#M4874891</link>
      <description>&lt;P&gt;I think more context is needed in order to answer your question. For example, what is the definition of f_dans_web_client_function()?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 13:04:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaa-p/13844048#M4874891</guid>
      <dc:creator>MarkCulp</dc:creator>
      <dc:date>2017-11-10T13:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: http:get username password</title>
      <link>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaa-p/13844046#M4874889</link>
      <description>&lt;P&gt;Here is the definition of the function:&lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;ALTER FUNCTION "TM38"."f_dans_web_client_function"( in iScriptName varchar(500) ) 
returns long varchar
url '!iScriptName' type
'HTTP:GET'
&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Nov 2017 11:13:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaa-p/13844046#M4874889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-11-13T11:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: http:get username password</title>
      <link>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaa-p/13844049#M4874892</link>
      <description>&lt;P&gt;That function doesn't look complete&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 13:01:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaa-p/13844049#M4874892</guid>
      <dc:creator>justin_willey</dc:creator>
      <dc:date>2017-11-13T13:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: http:get username password</title>
      <link>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaa-p/13844050#M4874893</link>
      <description>&lt;P&gt;Well it does not for non HTTPS request, but seems to have trouble for SSL, not sure what else I need to do, thanks&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 14:32:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaa-p/13844050#M4874893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-11-13T14:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: http:get username password</title>
      <link>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaa-p/13844051#M4874894</link>
      <description>&lt;P&gt;Typical problems with these web services is that SA doesn't trust the CA certificate, that signed your present certificate. But I just suspect this.&lt;/P&gt;
&lt;P&gt;What I'd like to mention here is that these errors are really meaningless. Read useless. E.g. -980 means that "URI %1 is invalid" (&lt;A href="http://dcx.sap.com/index.html#sqla170/en/html/80ee43166ce21014869afb4a5e70a0ea.html)."&gt;http://dcx.sap.com/index.html#sqla170/en/html/80ee43166ce21014869afb4a5e70a0ea.html).&lt;/A&gt; What does it mean invalid?! It might be that it doesn't fit into RFC 3986, or the username/password contain wrong characters, the certificate is wrong, the URL is not encoded... everything!&lt;/P&gt;
&lt;P&gt;I remember I used another DB that showed the error "Invalid View". What does it mean?! Is it really difficult to write a proper error message?!&lt;/P&gt;
&lt;P&gt;Sorry guys, but I think the error message are the most important things in the software.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 14:50:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaa-p/13844051#M4874894</guid>
      <dc:creator>Vlad</dc:creator>
      <dc:date>2017-11-13T14:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: http:get username password</title>
      <link>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaa-p/13844047#M4874890</link>
      <description>&lt;P&gt;Your https call is missing a CERTIFICATE clause, cf. &lt;A href="http://sqlanywhere-forum.sap.com/questions/29504/what-certificate-is-required-for-a-https-web-client-call"&gt;that question&lt;/A&gt;. &lt;/P&gt;
&lt;P&gt;In contrast to your browser, SA web client functions need to explicitly specify the certificate of the according web server. &lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 03:23:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/http-get-username-password/qaa-p/13844047#M4874890</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2017-11-14T03:23:39Z</dc:date>
    </item>
  </channel>
</rss>

